SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast Marcellpurham's Avatar
    Join Date
    Jan 2009
    Location
    chicago
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Wordpress categories

    I was wondering how could i display my wordpress pages and categories at the same time. I once found it on the internet but i did not need it at the time and now when I finally need it i can not find any info on it

    ex. when you click on one of the pages a list of categories will show up and when you click on another page a different set of categories will be displayed

    example

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    wp_list_categoriesis the template tag to use in your theme. You can pass it a child_of parameter to display only children of a parent category to build a similar menu to that site's.

  3. #3
    SitePoint Zealot John LA's Avatar
    Join Date
    May 2009
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never tried it but it is also great to have a set of categories on the sidebar as it also serves as additional links to other pages of the domain.
    BULK Article Writing! Fast Turn-Around Time. Quality Articles!

  4. #4
    SitePoint Enthusiast Marcellpurham's Avatar
    Join Date
    Jan 2009
    Location
    chicago
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Trying to get the sub nav to wok properly is a pain.

  5. #5
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Marcellpurham View Post
    Trying to get the sub nav to wok properly is a pain.
    Is it? What part?

  6. #6
    SitePoint Enthusiast Marcellpurham's Avatar
    Join Date
    Jan 2009
    Location
    chicago
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ Dan Grossman I have no problem displaying categories but whenever I try to display just the children categories nothing appears.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •