WordPress.org

Ready to get started?Download WordPress

Forums

Only show category posts for category links? (2 posts)

  1. tiffanyinchina
    Member
    Posted 7 years ago #

    Help!! I've enabled category visibility on my blog, and I've read up on all the "category exclusion" posts I can find, but nothing seems to address my problem. When I click on a specific category link, my blog remains unchanged. Instead, I want to find a way to edit the script so when a category link is clicked on, my blog ONLY displays those particular posts in that speciic category. Here is my current script:

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

    I hope this rushed entry is not too cryptic.. I'll appreciate any help!! Thanks

  2. MichaelH
    Member
    Posted 7 years ago #

    Not sure what is happening.

    When you click on one of the category links that is generated by the wp_list_categories code, you should then be taken to a display of the posts in category.

    If possible, change your Theme to the WordPress Default 1.6 theme to see what I mean.

    If you do get a change, please give us a link to see the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic