Skip to content


Category Show

It’s an easy way to show and order all posts from category/tag into a page/post. Really handy for showing your tutorials, articles, etcetera.
It shows as a list(<ul><li>) so it will apply your blog style-sheet as you wish.

Note: If the selected term(category or tag) has a description, it will be shown in a <blockquote> tag.

Donate towards my web hosting bill!

To see it in action click here.

Download 0.4.1

Download from the official repository!

Usage

  1. Go to Category Show’s options page and generate the tag.
  2. Insert your new tag into your post.

Tags to know:

If you want to apply some CSS, those are the tags you should know: <h3>, <ul>, <li>, <a> and <blockquote>.

Output example:

<h3>Category</h3>
<blockquote>Category description, if exists</blockquote>
<ul>
<li><a title="link title" rel="bookmark" href="link">title</a></li>
</ul>

That’s it!

Screenshots

Plugin in action executing 2 times in the same post.

Plugin in action executing 2 times in the same post.

Listing 2 different categories in the same post. Screenshot-1 shows the post.

Listing 2 different categories in the same post. Screenshot-1 shows the post.

Category Show's options page.

Category Show's options page.

TODO List

  • Each topic content preview.
  • Page support.
  • A RSS edition of Category Show.
  • Add widget support.
  • Select user’s own category in options page.
  • Make it possible to get a date in front of each link.
  • Create a definitely Category Show tag for the posts.

Changes

  • 0.4.1: Added support to show category description if exists. Now the tag generation uses term_id as the expression, not the tag slug anymore.
  • 0.4: Now the user can generate his tag from the Category Show’s options page. No more writing your tag!
  • 0.3.2: Deleted debug messages that was been printed on 0.3.1.
  • 0.3.1: Fixed bug that the content was been all replaced by the list, not just the tag. Added Brazilian Portuguese translation.
  • 0.3: Added support to change the ordering by title or date. Added options page to generate neat tags for the post. Even more optimized!
  • 0.2.3: Fixing <ul> end tag bug. Updating readme.txt file nicely.
  • 0.2.2: Adding screenshot showing how it works and adding pt_BR .mo translation file.


57 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Gabriel says

    Cara como eu faco pra usar esse puglin dentro de uma sidebar?
    Num post ele funciona 100% mas na sidebar nao… tem como?

  2. Churro Minguez says

    Hi Felipe, nice plugin… but it duplicates the post in the list, please, do you know why?
    gracias
    Churro

  3. Churro Minguez says

    ooopppspss i find it¡¡¡ sorry and many thanks¡¡¡¡¡

  4. Faydra Deon says

    I love this plugin, but it wasn’t putting my posts in alpha order like I chose. I came here to the plugin homepage to see if anyone else had had the same problem, and thank goodness (for me) someone else had.

    Thanks to Daniel Hagerty for posting the following comment, which helped me fix the one glitch that was going to send me away from this plugin to another one:

    My wife had trouble with 0.4.1 and sorting categories via date vs -date. Seems there’s a condition that’s specified backwards within wpcs_main. Look for

    if(!empty($match[4][$key])) {

    . The “!” shouldn’t be there. Written as it is, using date/-date/title/-title will always produce the default date/descending behavior!

    Because I was able to fix my issue, I’ll be staying and even donating a bit to the efforts of the creator of the plugin. Thanks.

  5. Lari Salminen says

    Hi! Nice plugin!

    I have a question though.
    Is it possible to implement the code straight into a php file?
    I would like to use it in my archive.php file.

  6. Architela says

    Hi Felipe.Very useful! But please tell me how to modify the script so that if there are no posts in a category yet, either nothing at all or just the category name is output on the page instead of the error message: Error(Plugin Category Show): no post published in ‘Category Name’. Thanks!

1 2

Continuing the Discussion

  1. Plugin Wordpress Category Show affiche vos articles ! linked to this post on January 12, 2009

    [...] Catégory Show est un plugin conçu par Felipe Ferreri Tonello, il permet d’afficher une liste d’articles en fonction du nom de la catégorie ou d’un tag. L’affichage peut se faire dans un article ou bien sur une page, il suffit juste de mettre un bout de code: [...]



Some HTML is OK

or, reply to this post via trackback.