is this possible in wordpress?

Discussion in 'WordPress' started by kgrad, Feb 11, 2007.

  1. #1
    I have wordpress 2.1 installed. I have created some pages, the links of which are displayed on the homepage, i.e. Page1, Page2, Page3 etc.
    Now I want to create a Page4 but not display the link in the sidebar, and the search engine spiders should also be able to crawl the page.
    I don't know how to do this with wordpress, please help.:eek: Thanks.
     
    kgrad, Feb 11, 2007 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    Umm,I think you need to delete some code and add p1,p2,p3 manually.

    I know robots.txt can handle this.
     
    Richie_Ni, Feb 11, 2007 IP
  3. kgrad

    kgrad Well-Known Member

    Messages:
    2,414
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Even I thought so, it's only that I dont want to delete any code manually..again if I want to add a visible page..it will create problems..:(
     
    kgrad, Feb 12, 2007 IP
  4. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can create a statement not to show the page but if you need it crawled that's another thing. Maybe you can have it as <a href="yourpage.html">.</a> at the footer of the page ?
     
    maiahost, Feb 12, 2007 IP
  5. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i dont know if you could hide it from links, but you could make it private or password protect the page when you create it in the admincp
     
    just-4-teens, Feb 12, 2007 IP
  6. jhmattern

    jhmattern Illustrious Member

    Messages:
    8,909
    Likes Received:
    794
    Best Answers:
    2
    Trophy Points:
    455
    #6
    Use the sidebar page switcher plugin. It lets you show or hide any pages that you want from the menu without having to play with the code. I use this on the www.sixfigurewriters.com blog to hide the sub-pages of our press room from the menu. It still gets crawled, b/c I link to the pages from the main press room page. Just include a sitemap or links to the hidden pages and they should get crawled without much trouble.
     
    jhmattern, Feb 12, 2007 IP
    kgrad likes this.
  7. thatedeguy

    thatedeguy Peon

    Messages:
    176
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Try out the switcher plugin. It should do the trick. If not, you're looking at some PHP coding to try and manually switch the page out. At least if you want to do it properly without stealth links or anything.
     
    thatedeguy, Feb 12, 2007 IP
  8. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i was just working on one of my wp sites and also browsing wp and found this

     
    just-4-teens, Feb 13, 2007 IP
    kgrad likes this.
  9. kgrad

    kgrad Well-Known Member

    Messages:
    2,414
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    130
    #9
    Thanks a lot for this, a green rep+ from me. :)
    Where should I include this...(I'll only try this if what jhmattern mentioned doesn't work, anyways thanks a lot, and green rep+ for you also! :))
     
    kgrad, Feb 13, 2007 IP
  10. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #10
    in sidebar.php you would replace the existing bit of code with what i posted

    will look something like

    <ul><?php wp_list_pages('title_li='); ?> </ul>
    PHP:
     
    just-4-teens, Feb 13, 2007 IP
  11. Maneel

    Maneel Peon

    Messages:
    753
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I suppose you can put the code of the link to Page 4 in a comment ?

    As in <!--- > ?
     
    Maneel, Feb 13, 2007 IP
  12. kgrad

    kgrad Well-Known Member

    Messages:
    2,414
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    130
    #12
    Yeah, that could be an option, but I was trying to do it, directly through the administration panel, without having to modify the code.:eek:
     
    kgrad, Feb 14, 2007 IP
  13. jhmattern

    jhmattern Illustrious Member

    Messages:
    8,909
    Likes Received:
    794
    Best Answers:
    2
    Trophy Points:
    455
    #13
    Did the plugin work for you?
     
    jhmattern, Feb 15, 2007 IP
  14. kgrad

    kgrad Well-Known Member

    Messages:
    2,414
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    130
    #14
    Well, actually I decided to pay a designer and get a theme designed to suit my needs, it will have an inbuilt option of showing specific pages in the sidebar. Thanks for the help though.
     
    kgrad, Feb 16, 2007 IP