no not yet, will do now though, cheers RDELL
doesn’t really help me, I want to do more than just change the text. Might want a site map there or something more iteresting so the visitor doesn’t leave
So, copy the custom-page.php from the parent theme into your child-theme, rename it with the filter in the link suggested by rdell tc_404_content
you can completely replace the content of that page with the content you want.
copy then rename the file from custom-page.php to tc_404_content.php?
Is that what you mean?
Do I then go to the Page editor , create a new page and use that newly renamed template? And then publish? that’s it, it will know that this is the page it needs to bring up if there is an error?
Does this apply to both not found search results and page not found errors?
Ahah sorry, I made an error, I forgot to write something -> I meant:
o, copy the custom-page.php from the parent theme into your child-theme, naming it 404.php and change the page the way you want.
Or use that filter tc_404_content
(in your child-theme functions.php)
Nope you can’t use a page template for the 404 error, is redirected before.. look for a plugin maybe.
And nope, 😀 , the 404 and the no search results are two totally different things, though there’s a filter for no results too:
tc_no_result_content
right, do I understand correctly, I would need to edit the newly copied 404.php file directly to get the page to look how I want?
are there any snippets for this on the support site maybe for this so I can see what I need to do?
1) yes
2) don’t think so 😀
ok thanks…need to look into that