Home › Forums › Jevelin Theme › 404 Page Header / Contact Form Thank you Page
Home › Forums › Jevelin Theme › 404 Page Header / Contact Form Thank you Page
All my pages are using Header 2. The 404 Page is using another header, and breaks my menu if/when it is displayed. Where/how can I control the header for the 404 page. I already have a child theme, so a modification in that would probably be best.
Second. Is there a way to have the contact form, upon submission, take the user to a separate, thank you page, rather than just displaying the text inline? It is my opinion this is a more elegant solution, where you can provide additional calls to actions.
Thanks
Solution for this topic
Hi @kylemcneir,
I hope you are well today and thank you for your questions.
All my pages are using Header 2. The 404 Page is using another header, and breaks my menu if/when it is displayed. Where/how can I control the header for the 404 page. I already have a child theme, so a modification in that would probably be best.
You can resolve this issue by adding the following code in the functions.php file of your child theme.
function jevelin_header_layout() {
$header_layout1 = esc_attr( jevelin_post_option( jevelin_page_id(), 'header_layout', '1' ) );
$header_layout2 = esc_attr( jevelin_option( 'header_layout', '1' ) );
if( !is_search() && !is_singular('product') && !is_archive() && !is_home() && !is_404() ) :
return ( isset($header_layout1) && $header_layout1 && $header_layout1 != 'default' ) ? $header_layout1 : ( ( isset($header_layout2) && $header_layout2 ) ? $header_layout2 : '1' );
else :
return $header_layout2;
endif;
}
Second. Is there a way to have the contact form, upon submission, take the user to a separate, thank you page, rather than just displaying the text inline? It is my opinion this is a more elegant solution, where you can provide additional calls to actions.
Currently the contact form element doesn’t have this option so to achieve this you have to use different contact form using following plugins.
https://wordpress.org/plugins/contact-form-7/
https://wordpress.org/plugins/contact-form-7-success-page-redirects/
Best regards,
Shufflehound team
We have fixed the 404 page header issue in the latest version of theme which you can download from below.
Please login to access this file
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.