wordpress - creating more pages help?

Discussion in 'WordPress' started by jamuna, Apr 29, 2008.

  1. #1
    i am using wordpress 2.3.1 for my nilgiris travel information site.
    i want to add more pages ( not posts).But it can overload (or mesh up) the space below header.
    How can i add more pages without putting it in pages toolbar?
    any help?
     
    jamuna, Apr 29, 2008 IP
  2. myp

    myp Well-Known Member

    Messages:
    1,281
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    140
    #2
    In your header.php file replace

    with
    replacing the 1,4,6 with whatever page ids you don't want obviously
     
    myp, Apr 29, 2008 IP
    kentuckyslone likes this.
  3. mg1313

    mg1313 Peon

    Messages:
    532
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Maybe he thought you can register to some of those social network platform and put links there to your website :)...
     
    mg1313, Apr 30, 2008 IP
  4. mg1313

    mg1313 Peon

    Messages:
    532
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Maybe he thought you can register to some of those social network platform and put links there to your website :)...
     
    mg1313, Apr 30, 2008 IP
  5. mg1313

    mg1313 Peon

    Messages:
    532
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Maybe he thought you can register to some of those social network platform and put links there to your website :)...
     
    mg1313, Apr 30, 2008 IP
  6. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Use the Plugin called Page Link Manager and you dont have to mess up with the code or anything... :)
     
    godsofchaos, May 1, 2008 IP
  7. jamuna

    jamuna Active Member

    Messages:
    2,089
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    #7
    Page Link Manager can only manage the page links in sidebar navigation.
    But i want to remove some of my pages from menu in just below header.
    please check at nilgiris travel information
     
    jamuna, May 2, 2008 IP
  8. mg1313

    mg1313 Peon

    Messages:
    532
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yep, I want to do that too...
     
    mg1313, May 2, 2008 IP
  9. TheDutchMan

    TheDutchMan Peon

    Messages:
    374
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #9
    TheDutchMan, May 2, 2008 IP
  10. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #10
    How am i doing it in my header then? Check again, look at my blog for an example, cause you are not being right. :)
     
    godsofchaos, May 2, 2008 IP
  11. mg1313

    mg1313 Peon

    Messages:
    532
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #11
    mg1313, May 2, 2008 IP
  12. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Did you even try using page link manager? Did you even see my blog? Look at the header, and the footer. Page link manager is the thing. Never mind and best of luck anyway lol..
     
    godsofchaos, May 2, 2008 IP
  13. Dreamerr

    Dreamerr Peon

    Messages:
    914
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #13
    nice looking blog godsofchaos, i'll give that plugin a try, so far ive been manually editing the template.
     
    Dreamerr, May 2, 2008 IP
  14. Lastbutnotleast

    Lastbutnotleast Peon

    Messages:
    2,612
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    0
    #14
    You may also change the theme
     
    Lastbutnotleast, May 2, 2008 IP
  15. jamuna

    jamuna Active Member

    Messages:
    2,089
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    #15
    still waiting for suitable suggestions to resolve my problem
     
    jamuna, May 3, 2008 IP
  16. jamuna

    jamuna Active Member

    Messages:
    2,089
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    #16
    How can i modify the below code to resolve my problem?

    <div id="nav">
    <?php function get_the_pa_ges() {
    global $wpdb;
    if ( ! $these_pages = wp_cache_get('these_pages', 'pages') ) {
    $these_pages = $wpdb->get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" order by ID');

    }
    return $these_pages;
    }

    function list_all_pages(){

    $all_pages = get_the_pa_ges ();
    foreach ($all_pages as $thats_all){
    $the_page_id = $thats_all->ID;

    if (is_page($the_page_id)) {
    $addclass = ' class="current_page"';
    } else {
    $addclass = '';
    }
    $output .= '<li' . $addclass . '><a href="'.get_permalink($thats_all->ID).'" title="'.$thats_all->post_title.'"><span>'.$thats_all->post_title.'</span></a></li>';
    }

    return $output;
    }
    ?>
    <ul>
    <?php

    if (is_home()) {
    $addclass = ' class="current_page"';
    } else {
    $addclass = '';
    }
    echo "<li" . $addclass . "><a href='" . get_option('home') . "' title='Home'><span>Home</span></a></li>";
    echo list_all_pages();?>
    </ul>

    <div class="cleared"></div>
    </div> <!-- Closes Nav -->
     
    jamuna, May 3, 2008 IP