Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: wp_list_categories
    Thread Starter catzavencu

    (@catzavencu)

    It’s working. Thank you both Otto and Yoshi.

    Forum: Fixing WordPress
    In reply to: wp_list_categories
    Thread Starter catzavencu

    (@catzavencu)

    I used this
    <?php wp_list_categories(‘include=5&hide_empty=0’); ?>
    and i have posts in category 5. Still “no category” comes up.

    Is there a way Charles to use function include so you can list only certain categories with description under?

    Forum: Fixing WordPress
    In reply to: wp_list_categories
    Thread Starter catzavencu

    (@catzavencu)

    Thank you Otto.
    My second question wasn’t very explicit i guess. “Summer” (id 5) and “Winter”(id 6) are child categories of “Activities” and i want to list them on the “Activities” template page, both with description or better, with latest post excerpt in sub-category.
    I put this in “Activities” category template
    <?php wp_list_categories(‘include=5&title_li=’); ?>
    <?php echo category_description(5); ?>
    <?php wp_list_categories(‘include=6&title_li=’); ?>
    <?php echo category_description(6); ?>
    but it shows only the category description. Where the category link should be i only get “No categories”.

Viewing 4 replies - 1 through 4 (of 4 total)