Forums

[resolved] List Categories (9 posts)

  1. Jabbok
    Member
    Posted 10 months ago #

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

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

    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?

  2. bekabug
    Member
    Posted 10 months ago #

    <?php wp_dropdown_categories('child_of=18&title_li=<h2>' . __('Blogs') . '</h2>'); ?>

    Try that instead

  3. bekabug
    Member
    Posted 10 months ago #

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

  4. Jabbok
    Member
    Posted 10 months ago #

    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!

  5. bekabug
    Member
    Posted 10 months ago #

    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 :)

  6. Jabbok
    Member
    Posted 10 months ago #

    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.

  7. bekabug
    Member
    Posted 10 months ago #

    So your category tree looks like:

    Uncategorized
    Terry
    --Valorie
    --Tim

    ?

  8. Jabbok
    Member
    Posted 10 months ago #

    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.

  9. Jabbok
    Member
    Posted 10 months ago #

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

Reply

You must log in to post.

About this Topic