Need help? Check out our Support site, then


Pages, Subpages, and links to them

  1. I'm currently using the theme Contempt 1.0. I'm wondering if there's a way to prevent a page from appearing in the pagebar that is right below the header. I'd like to link to them from other pages, but I don't want that navbar being too cluttered.

  2. That's how the theme is designed I'm afraid.

    -drmike

  3. Okay, then: is there a theme that has the Pages bar and yet allows me to select which ones appear there? (or do you have any other suggestions for how to work around this given the fact that I can't edit the themes?)

  4. Some of the themes don't show a page bar. I would find one that doesn't and then instead of using the page widget, use a text widget and just add in the Pages that you want visable. (Easiest method to do that would be to first add it the Pages widget, get the html out of the page source, remove those pages your don't want visable, and add that into a text widget.)

    The only other thing I can think of is Password Protecting your Pages and only giving the Password to those who you want to have it. There would still be a link though.

    Hope this helps,
    -drmike

  5. Okay, thanks. The text widget solution sounds like it's closest to what I'm going for: a navbar that allows for easy navigation of top level pages. (I find it a bit sad that such a navbar can't be horizontal under the header, but this compromise works--the navbar will just be on the side instead of at the top). Thanks again.

  6. Widget support is fairly new. Tricks like this will start coming out once theme developers start getting used to them.

    I'm pushing for a widget in the footer myself for text links and the like. :)

  7. How can I add pages in my blog http://badal123.wordpress.com

  8. keyboardcombatant
    Member

    hey so far i've used very few themes on wordpress, but Andreas09 and Regulus are two of them. On these thmees, if u set a page as subpage, it dosent show in the NavBar. in reulus the subpaes show up on the sidebar of the main page while in andreas09 until and unless u paste the link, they dont show up anywhere.

  9. Badal, pleaee take a second and read the FAQ posted at the head of these forums. There's some links in there that will help you learn about the WordPress software.

    To answer your question though, it's located at Dashboard -> Write -> Write Pages.

  10. I use Regulus. It has a nice page bar under the header which shows only parent pages are shown, so that could be your solution.

    I have another question, which I hope anyone in here can answer:

    Is it possible to control the number of pages child levels shown in the pages sidebar widget?

    I have a pages widget in the sidebar which shows the page parents and ordered under them, the subpages. Very nice, regarding the more artistic pages, as I want people who are reading my blog, to find them.

    However ... some sub-pages do not fit the context so I would like to link to them only from within their parent pages and not show them in the sidebar. Is that possible?

    Cheers, Anne

  11. I'm sorry to say that this listing of sub-pages in the sidebar is hard-coded into the Regulus theme and cannot be changed.

  12. Yet I found a way...

    I simply remove the page title from the title area of the sub page I do not want to appear in the sidebar, and write the title in the page's content area instead.

    ... problem solved, it is invisible in the sidebar.

    Of course, then the page does not have a name when I want to edit it, but as every pages has its own unique number that is not a big issue.

  13. You found a work-around and posted it to share with others. Thank you.

  14. You are welcome :-)

  15. How about writing a Page and Saving it, but not actualy choosing the Publish option. And then from another page link to this "un-publised" page ????

  16. Did you try this? Please do and report back the results.

  17. I've three pages and each page have 2 subpages inside. I wonder how to show the list of my subpages in the page everytime each pages opened?

    Thanks for helping

  18. you will have to put the URLs for the subpages on the parent pages manually.

  19. Ok then, thanks judyb12. I've done it before, i thought there is the simplest way instead of typing it manually :-)

  20. This must be theme dependent because the MistyLook theme is coded to display all sub-pages on the Parent pages.

  21. Maybe this will help, from the main WP docs:

    <div id="submenu">

      <?php
      if($post->post_parent) { // page is a child
      wp_list_pages('sort_column=menu_order&title_li= &child_of='.$post->post_parent);
      }
      elseif(wp_list_pages("child_of=".$post->ID."&echo=0")) { // page has children
      wp_list_pages('sort_column=menu_order&title_li= &child_of='.$post->ID);
      }
      ?>

    </div>

    Should list all subpages in a separate DIV. Link to more info is http://codex.wordpress.org/Template_Tags/wp_list_pages

  22. No, that won't work here. We don't edit our templates here at WordPress.com; we don't have the access. This is covered in the sticky thread at the head of the forums called Read Me First.

Topic Closed

This topic has been closed to new replies.

About this Topic