Support » Themes and Templates » [Resolved] List Categories

[Resolved] List Categories

  • I’m trying to format the following to place a drop down list of categories on my website:

    <div id="catmenu">
    <?php wp_list_categories('include=18&depth=0&child_of=18&title_li=<h2>' . __('Blogs') . '</h2>'); ?>

    If you visit HERE you will see that the word “Blogs” shows up on the header but it doesn’t show up as a link to category 18 or show any of the child pages to category 18.

    What am I doing wrong?

Viewing 8 replies - 1 through 8 (of 8 total)
  • <?php wp_dropdown_categories('child_of=18&title_li=<h2>' . __('Blogs') . '</h2>'); ?>

    Try that instead

    ……is that a baby in a clothes dryer? lol

    Thanks for the suggestion. It didn’t work. I think I’m going to just give up on it and a put separate links to the different authors on the sidebar. I think I know how to do that.

    Yep, that’s a baby in a dryer!

    not to insult your intelligence but if there is nothing in the category (like you have no content yet) it isn’t going to show up…i don’t know if that issue applies here but it is something to check on

    good luck 🙂

    The more I mess with this, the more confused I get and I’m pretty certain that it’s NOT that hard. I have some kind of mental block and I can’t see the forest for the trees.

    There is a Category called “Terry”, he’s the pastor.
    There is a Category called “Valorie”, she’s the pastor’s wife.
    There is a Category called “Tim”, that’s me.

    Terry is the parent and Valorie and Tim are the children. The children don’t show up anywhere.

    So your category tree looks like:



    Yes, that’s correct.

    I’ve decided to change themes. I’m going to use the Brandfordmagazine theme.

    I understand how to make the categories show up on this one and page links as well. It’s the one I use on my site.

    Thanks for your help.

    There’s more than one way to cook a goose.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] List Categories’ is closed to new replies.