Leo
(@leohsiang)
Hi there,
That sort of depends on what you are looking to customize.
Sometimes you can just use hooks with conditional tags:
https://docs.generatepress.com/article/hooks-visual-guide/
https://codex.wordpress.org/Conditional_Tags#A_404_Not_Found_Page
But using a plugin like this would be the easiest:
https://wordpress.org/plugins/404page/
Thanks Leo.
All I want to do is have a custom WordPress page that I’ve designed show-up whenever anybody looks for a page that doesn’t exist on my site (eg https://richiesroom.com/no-such-page ).
So, for somebody whose coding experience is primarily in VBA for Excel and a beginner to CSS, how easy would it be to implement?
The easiest way to do this would be with a plugin like : 404page – your smart custom 404 error page. There you can just make a regular page and assign it to be a 404page. Then you can use your own design.
Hi @sjoerd89
Thanks for your feedback. 🙂
I do realise that there are plugins that can do this and that they are the easiest option. I just wanted to investigate the possibility of doing it from within GP (CSS and HTML are new languages for me and I’m looking to expand my knowledge in these areas).
For my website i made some changes to the 404.php and added them to my child-theme. This is also an option in combination with css.
OK, thanks, I’ll take a look 🙂