404 Page for Genesis – News Theme

Community Forums Forums Design Tips and Tricks 404 Page for Genesis – News Theme

This topic is: resolved

This topic contains 2 replies, has 3 voices, and was last updated by  Teresa 1 year ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #67580

    klipklopp
    Participant
    Post count: 30

    Hello,

    I am looking for suggestions on a good plugin to use to manage my 404 page. I simply want to control which pages are seen on the 404 page. For example, I don’t want the landing pages I have created to show up on the 404 page.

    I don’t want to edit any of the code in my theme. I am looking for a simple way to do this via plugin or if there is another simple way… I am using the studiopress News Theme on my site.

    Any suggestions would be greatly appreciated.

    Thanks!

    Ted

    #67589

    Sridhar Katakam
    Participant
    Post count: 1050

    I know you said you don’t want to edit code but it is simple actually.

    You would just copy 404.php from genesis directory into the child theme and edit it.

    Change

    <?php //wp_list_pages( 'title_li=' ); ?>

    to

    for example,

    <?php wp_list_pages( 'title_li=&exclude=2,38' ); ?>

    where 2 and 38 are the IDs of Pages that you want to exclude.

    Ref.: http://codex.wordpress.org/Function_Reference/wp_list_pages#Exclude_Pages_from_List

    A plugin like http://wordpress.org/plugins/reveal-ids-for-wp-admin-25/ can be used to display IDs of Pages in the backend.


    #67632

    Teresa
    Participant
    Post count: 29

    What about the Genesis 404 page plugin? You can find it here: http://wordpress.org/plugins/genesis-404-page/

    I love it. Gives me control over what I want others to see – also gives me an opportunity to suggest the visitor opt in for any free reports, etc.

    Just a thought.

    Teresa

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.