Wordpress Help

Discussion in 'WordPress' started by Munday, Feb 22, 2008.

  1. #1
    Hi,

    I would like to create a new page in Wordpress but don't want it to appear in my pages list that is visible on the site. Is there a way to do this?
    Thanks in advance
     
    Munday, Feb 22, 2008 IP
  2. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There might be a plugin, but I always just edited the template to only include the links i wanted.
     
    Crynos, Feb 22, 2008 IP
  3. Munday

    Munday Peon

    Messages:
    299
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yeah that is one option but its a lot of hassle :(

    I will have a look for a plugin which will do this. If anyone does know of one please let me know :) Thanks
     
    Munday, Feb 22, 2008 IP
  4. patrich

    patrich Peon

    Messages:
    142
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Unfortunately, I have yet to see or hear of a plugin that will do that, I have always had to do it the old fashioned way and edit the template, its pretty easy.
     
    patrich, Feb 22, 2008 IP
  5. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yeah, it's not really a hassle unless you have tons of pages. But if you have so many pages that its a hassle, you need to think about your linking structure :)
     
    Crynos, Feb 22, 2008 IP
  6. TheDutchMan

    TheDutchMan Peon

    Messages:
    374
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yeah that's pretty easy, I do it for all my blogs. You have to think the other way around, just assign the pages that you want to have displayed instead of the pages that you don't want to have displayed.

    Find this (or something alike) in your theme, probably your main index php


    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>

    Change this into the page numbers that you want, works like a charm.
    <?php wp_list_pages('include= 87,88, 70, 72&depth=1&title_li='); ?>
     
    TheDutchMan, Feb 22, 2008 IP
  7. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I never knew about that, thanks. I always just used html. That's helpful.
     
    Crynos, Feb 22, 2008 IP
  8. arwen54

    arwen54 Active Member

    Messages:
    632
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #8
    arwen54, Feb 22, 2008 IP
  9. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #9
    To exclude a page use:

    <?php wp_list_pages('exclude=1' ); ?>
    Code (markup):
    where '1' is the id number of the page (found in admin panel, Manage => Categories).
     
    mizaks, Feb 23, 2008 IP
  10. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #10
    Don't put a title on the page...or...make it a "sub-page" of an already existing page.
     
    hmansfield, Feb 23, 2008 IP
  11. TheDutchMan

    TheDutchMan Peon

    Messages:
    374
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #11
    "exclude" and I didn't knew that, sounds logical though :) DP is a great place!!

    Thanks Mizaks
     
    TheDutchMan, Feb 23, 2008 IP