• Resolved Karin-Marijke

    (@karin-marijke)


    Hi,

    I would like to customize our 404 page. I used the widget to do so.
    This is what I get:

    Content not found
    The content you are looking for could not be found.

    Use the information below or try to seach to find what you’re looking for:

    Oops, it seems you got lost. If you are looking for something specific, please use the search function in the sidebar. Otherwise, click on the Landcruising Adventure logo in the top bar so you will return to the main road.

    Please contact us about any broken links. We appreciate it.

    Have a great journey!? Karin-Marijke & Coen

    PROBLEM:
    I can’t delete the first two lines (The content….looking for:), which are hidden in the system (which included a typo: seach instead of search).
    How can I delete these two phrases?

    Thanks!
    Karin-Marijke
    https://www.landcruisingadventure.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • paul.a.cunn

    (@paulacunngmailcom)

    OK so this involves editing a template. Go to “Appearance” then “Editor” in the top right make sure you have “Pinboard” selected. Go to the “Theme Functions” which has functions.php under it. After you have selected this file run a search for “function pinboard_404()” Here you will see the following

    function pinboard_404() { ?>
    	<article class="post hentry column onecol" id="post-0">
    		<h2 class="entry-title"><?php _e( 'Content not found', 'pinboard' ) ?></h2>
    		<div class="entry-content">
    			<?php _e( 'The content you are looking for could not be found.', 'pinboard' ); ?></p>
    			<?php if( is_active_sidebar( 7 ) ) : ?>
    				<?php _e( 'Use the information below or try to search to find what you\'re looking for:>', 'pinboard' ); ?></p>

    Just edit the text as needed. I do not recommend editing these files often because with a theme update you will lose these fixes. You could copy this file to your child theme and edit it there too.

    Thread Starter Karin-Marijke

    (@karin-marijke)

    Paul,
    It worked.
    Thanks for your quick response. Much appreciated.

    Karin-Marijke
    https://www.landcruisingadventure.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘customize 404 page’ is closed to new replies.