This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

404 Page setup

  • Creator
    Topic
  • #5998

    Hi Jason,

    I was going thru some SEO tips and I realized I should set up a 404 page. I looked through the forum and I didn’t find anything helpful. Can you tell me how to set up a 404 page using the Alyeska theme? I have it set up as a parent theme not a child theme.

    Thank you in advance,
    Florin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #6019
    Jason Bobich
    Keymaster

    Hello Florin,

    Here are three potential ways you could customize the 404 page’s content. The first one would be the only way without having to make customizations from a Child theme.

    Option 1: You could use the String Swap plugin: http://wordpress.org/extend/plugins/theme-blvd-string-swap/

    Option 2: You could simply put in whatever content you want by copying content-404.php to your Child theme and editing it.

    http://dev.themeblvd.com/tutorial/editable-content-files/

    You’d be replacing where you see

    <?php echo themeblvd_get_local( '404' ); ?>

    Option 3: From your functions.php of your Child theme, you could just filter in your own text.

    function my_frontend_locals( $locals ){
    	$locals['404'] = 'Your text';
    	return $locals;
    }
    add_filter( 'themeblvd_frontend_locals', 'my_frontend_locals' );
    #6023

    Wow!! I used the first option you recommended and it worked like a charm. Thanks again for all your work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.