Support » Themes and Templates » Sub Headings under Pages?

  • I am using WordPress as a CMS. So I am using pages instead of posts for creating static pages.

    I want to have subtitles to group these pages. For example, I have articles on website promotion, affiliate marketing, web design etc. I want the side menu to show the following:

    Website promotion

    Website promotion Article 1
    Website promotion Article 2

    Affiliate Marketing

    Affiliate Marketing Article 1
    Affiliate Marketing Article 2

    Web Design

    Web Design Article 1
    Web Design Article 2

    This will help in easier navigation if the articles are grouped under sub-categories.

    Can this be done in the WP templates??

    Any Suggestions are greatly appreciated. Here is the link to the site where I am using WP as a CMS:

    http://www.startsellingonebay.com/

    The pages have all the article titles…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just taking a guess but you could go from your Admin panel to Write–>Write Page and for each category that you have such as Web Design, you will first make this page with whatever info that you have. Then any subsequent page that you make that’s to be a sub-category you would go to the Page Parent tab within the Write Page section (should be on right) and select which page you want the individual page to be a sub-category for(or in this case, a sub-page or sub-section).

    Wherever you want to show the titles of your pages,maybe such as the sidebar, you would be using the wp_list_pages function to show the content…look here: http://codex.wordpress.org/wp_list_pages. Reviewing this link will also let you know about how the sub-pages will be shown. Just so that you know, they are shown automatically by default. Just read the link and it will tell you how to use the arguments and the only that will be left for you to do is style the output, if even that!

    I hope this helps a little.

    Thread Starter northwest

    (@northwest)

    Many Thanks Spiewgels!

    I thought changing the template could go out of control but it did not. The instructions were pretty clear at the link you posted about wp_list_pages. Actually, there is a dot (typo) at the codex link so if others want go to the codex link then go to the codex link provided by Spiewgels but without the dot at the end of the URL.

    Thanks again!

    I’m glad that it helped…here’s the “modified” link without the typo (thanks for letting me know about that): http://codex.wordpress.org/wp_list_pages

    Thread Starter northwest

    (@northwest)

    I have a question about sidebar. I am using WP as CMS so I am adding more Pages for static content.

    When I click on a page link in the sidebar, it takes me that page BUT the sidebar menu does not display other Page links. To go another page, I have to go to Home page and then click on another Page link. Only the Homepage displays all the page links in the sidebar and NO other page or Post shows the all the pages and post links. This is very difficult to navigate.

    Is this normal and I need to use a plugin or there is some problem with the installation?

    Any suggestions are appreciated.

    THanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sub Headings under Pages?’ is closed to new replies.