Forums

Counting Child pages or excluding certain post from blog page / archive page (1 post)

  1. randinicole
    Member
    Posted 1 year ago #

    I am currently using post vs pages (just so I can get a reliable category count). I am using the following code and it works great. Gives me a count, list them in alphabetical order and lets me exclude categories.

    <?php
    wp_list_categories('orderby=name&show_count=1&exclude=3&title_li='); ?>

    Now what I want is post to show up in my blog stream / archive stream from one category. I cannot figure it out and am about to use pages instead of post because I cannot figure it out, but if I use pages instead of post I wont get the count that I need.

    Any tips?

Topic Closed

This topic has been closed to new replies.

About this Topic