alexluna
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Bento] How to use a customized page as error 404 pageHello,
Thanks for your reply.
I’m attaching some screenshots in order to make it easier for you to understand what is happening. (I should have done that in the first message! ;-))
This is what happens when I directly request the “Erro” page (https://alexluna.000webhostapp.com/erro): screenshot.
This is what happens when I trigger a 404 error requesting a page that doesn’t exist and then the modified 404.php uses the “Erro” page as described in my first message (https://alexluna.000wehhostapp.com/bento): screenshot.
I’ve identified another item that isn’t working as expected. The site uses a menu in the header which has a submenu in the “SERVI?OS” item. Normally, there is a small “v” on the side of this item. However, when I use a Bento-Child theme, which only has the 404.php file, in addition to the functions.php and script.css files that you provide in the child template, the “v” is replaced by a generic square. I have highlighted that as well in the two screenshots regarding the error 404 page above. This also happens when the site is using the mobile menu, where the small “x” on the top, which is used to close it, is also replaced by a generic square.
Then, I realized that when I am logged to the site’s “wp-admin” this issue doesn’t happen as you can see in this screenshot. Moreover, if I use the Bento theme (not the Bento-Child) and replace the original 404.php with my modified version, both the “v” and the “x” are correctly shown, either logged or not to “wp-admin”.
I’m looking forward to your comments.
Thanks,
Alex