WordPress.org

Ready to get started?Download WordPress

Forums

missingpage link in notepad theme (6 posts)

  1. eatenbybears
    Member
    Posted 4 years ago #

    We have the Notepad theme installed and seem to be having some trouble with the header links. In the previous theme, the page links were on the left sidebar and now they are on the top in the header image.

    The problem is, a few of the page links don't show up. They still exist and are still in the Pages section, but not on the header. Is there anyway to get those links to show up or move them to the sidebar in the Notepad?

    http://thedeskset.org/

    Thanks

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Are the missing pages children? If so, you could use wp_list_pages (possibly in conjunction with the include parameter, if appropriate) in your sidebar.

  3. eatenbybears
    Member
    Posted 4 years ago #

    Right after I posted the message I looked again and noticed that the Pages widget was inactive. I put it back and now all pages list in the sidebar. Now, I would like to know how to remove them from the header or have some in the header and some in the sidebar.

    Thanks for your help.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    I don't know the NotePad theme but you could start by examining (and possibly editing) header.php.

  5. eatenbybears
    Member
    Posted 4 years ago #

    That's where my expertise is limited, in editing the code. I can usually figure things out, but this one has me stumped. This is the code in the header. Any advice about editing this would be greatly appreciated. I think this is the code I have to change.

    <title><?php if (is_home()) {
    echo bloginfo('name');
    } elseif (is_404()) {
    echo '404 Not Found';
    } elseif (is_category()) {
    echo 'Category:'; wp_title('');
    } elseif (is_tag()) {
    echo 'Tag:'; wp_title('');
    } elseif (is_search()) {
    echo 'Search Results for: ' . $s;
    } elseif ( is_day() || is_month() || is_year() ) {
    echo 'Archives:'; wp_title('');
    } else {
    echo wp_title('');
    }
    ?></title>

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    Nope - that's not the right part of the file. It might be easier if you just dropped a copy of the file into the WordPress pastebin and posted the pastebin url here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags