Back Home

Open Designs

Community. Driven.

    •  
      CommentAuthoricyone
    • CommentTimeAug 10th 2007
     
    It's been said before but everyone here is most friendly and less scary than wp forum, how do I add non wordpress pages to the wordpress (loop?) navigation on sidebar. Any help or links are and is always much appriciated.
    Thanks, Sloan
    • CommentAuthorAeriff
    • CommentTimeAug 10th 2007
     
    Depending on your theme, the process most likely involves editing your sidebar.php file. I can't offer specific help because I don't know which theme you are using but if you're not confident in poking around in the Wordpress code, I suggest you ask someone for help. If you need help, just contact me or reply in this thread smile
    •  
      CommentAuthoricyone
    • CommentTimeAug 10th 2007
     
    Thanks Aeriff, I sort of poked around all the theme php files just could not find what the wordpress site was telling me to look for, I did goggle it also. the theme is WP-Andreas01
    thanks so much for your help.
    • CommentAuthorMattKern
    • CommentTimeAug 11th 2007
     
    Posted By: icyoneand less scary than wp forum


    For gods sake, don't let that get around!... ;-)

    if I understand your question correctly, it is in
    wp-content/themes/wp-andreas01-12/sidebar.php

    this would add a link to a non WP page.


    <ul class="linklist">
    <?php get_links_list(); ?>

    <li><a href="Add Your Link Here">new Link</li>

    </ul>


    Hope that helps...?
    •  
      CommentAuthoricyone
    • CommentTimeAug 11th 2007 edited by icyone on the 11th August 2007 at 12:38:49 EDT
     
    Thanks MattKern I gave that a try but no luck. I could have asked the question wrong as I wanted the non wp-page to show up in the navigation as a page. But I do understand a little bit more on what I'm looking for from your help and example.
    •  
      CommentAuthorgnome
    • CommentTimeAug 11th 2007
     
    I believe that sidebar.php is the right sidebar in that theme.
    Header.php:
    <h2 class="hide">Main menu:</h2>
    <ul class="page">
    <?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
    <li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li>
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    <li><a href="#">ADD YOUR LINKS HERE</a></li>
    </ul>
    •  
      CommentAuthoricyone
    • CommentTimeAug 11th 2007 edited by icyone on the 11th August 2007 at 18:43:14 EDT
     
    thanks gnome, I'm on it.
    •  
      CommentAuthoricyone
    • CommentTimeAug 11th 2007
     
    That was it gnome, no wonder I never thought to look in the header php. Thanks so much gnome and everyone as this is such a wonderfully helpful site. tooth
    •  
      CommentAuthoricyone
    • CommentTimeAug 16th 2007
     
    Worked for a while then I changed to a correct page from my practice page and now I have nothing again, ahhhhhh.
    •  
      CommentAuthoricyone
    • CommentTimeAug 16th 2007 edited by icyone on the 16th August 2007 at 22:07:00 EDT
     
    found a page links to plugin that seem to be just what I was looking for.
    •  
      CommentAuthorgnome
    • CommentTimeAug 17th 2007
     
    It is good that you found a solution, instead of a hack.