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.

Edit content of the 404 page

  • Creator
    Topic
  • #25207
    mlmarius
    Participant

    Hi.
    What options are there for editing the content displayed when 404 ?

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

    Hello,

    I can think of three good ways you could tackle editing this.

    Option 1: 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 2: You could use the String Swap plugin: http://wordpress.org/extend/plugins/theme-blvd-string-swap/

    Option 3: From your functions.php of your Child theme, you could just filter in your own text, which is what you’d be doing with the plugin in option #2.

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

    Excellent. Thank you !

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.