WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
How-To: Display ONLY the post category link and no posts. (1 post)

  1. RandyKing
    Member
    Posted 2 years ago #

    First a kudos and shout out for a great plugin.

    I had the need for just the category link appear so that when clicked all the posts from that category would then be displayed.

    I first used: [catlist name=rascal catlink=yes] and that worked, except that it also produced links to posts.

    So I subverted the post_type parameter; knowing that there's no way on my site to create a page in that category, I now used this shortcode:

    [catlist name=rascal catlink=yes post_type:page]

    Perfect - only the post category link is displayed! And when clicked, all of the posts for that category appear.

    SUGGESTED UPDATE: For completeness, it would be nice to add a post-type of "none" to the options.

    http://wordpress.org/extend/plugins/list-category-posts/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by RandyKing
  • This topic is not a support question
  • WordPress version: 3.3.1