This topic has 11 replies, 3 voices, and was last updated 5 years, 4 months ago ago by Olga Barlow
1) How do we edit the text on our 404 page? http://prntscr.com/oouemn we want to have a custom 404 page.
2) On the 404 page there is a search box. When someone uses this and even searches keywords they do not show any product pages in the results? Even if you search with the title of a certain product title in this box, again it doesnt even show that product in the search results
Hello,
1) You may look for third-party plugin or copy the xstore/404.php file to child theme and edit its content according to your needs.
2) Because that is 404 is for pages http://prntscr.com/oozj28 and by default search is for pages/posts, not for products. If you want to get search by product there you can replace
get_search_form( true );
by
etheme_search_form( array( 'action' => 'default' ));
http://prntscr.com/oozr6t
Regards
We contacted woocommerce about the 404 page and received this message.
It may not be their custom 404 file, but it’s a 404 file either created
by the theme developer or a developer of your website and it’s being used
under the theme.
How do we now copy the xstore/404.php file to child theme, we want to edit the text of the current 404 page.
Hello,
Theme Options > 404 page > 404 page content.
Regards
Thanks, I see once we add text here it deletes all of the previous text including the search box. How could we add new text, plus add a new search box to the 404 page?
Follow up on this, I see where can add text but how could we 1) change this text to different colors, 2) add a search box, or 3) add a large clickable image to the 404 page?
Hello,
In this case, you need to follow the previous instruction – http://prntscr.com/oquk3a
Connect to your server via FTP software, go to themes/xstore folder, there you will find 404.php file. Copy the file to themes/xstore-child folder and edit the content depends on your needs http://prntscr.com/oqul5m
Styling, can be changed using custom CSS code. Add CSS code in style.css file of the child theme. For example,
http://prntscr.com/oqum70
/* custom 404 page */
.page-404 h1 {
color: red;
}
.page-404 p {
color: #212121;
}
Regards
1 Earlier it was said a third party plugin would work for editing the 404 page. What plugin would you recommend?
2 at Theme Options > 404 page > 404 page content are we able to add a clickabe image? if so what size would we add that would look good on both desktops and mobile devices.
1. We did not test such plugins with our theme officially, so can not provide you with a solid response about this yet.
Note that we don’t give guaranty for full theme compatibility with all 3-rd party plugins.
2. You can create a static block with the desired content and show it on the 404 page via shortcode. For example – http://prntscr.com/oqyhv5 http://prntscr.com/oqyhy6 http://prntscr.com/oqyi0v = http://prntscr.com/oqyi4e + http://prntscr.com/oqyi8p
( http://prntscr.com/oqyif0 http://prntscr.com/oqyiiy http://prntscr.com/oqyio2 )
https://www.8theme.com/documentation/xstore/support/static-blocks/
Regards
Thank you much! u know any plugsin that work good to redirect all or some of the 404 pages to a specific url?
Hello,
You are welcome. We did not look for such plugins, that’s why don’t have suggestions.
Regards
You must be logged in to reply to this topic.Log in/Sign up