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.3

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.3: Duplicated post bug fix. Thank you to Étienne Loks(http://blog.peacefrogs.net/nim/2011/04/mise-a-jour-du-blog/comment-page-1)
  • 0.4.2: Date ordering bug fix.
  • 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.


83 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!

  7. Coffee says

    It's Friendly SEO?

    Thank

  8. Jeroen says

    Hi Felipe

    i really like this plugin but is it also possible to show a excerpt besides the titel ? and how to do this

    Thanks

  9. Felipe Tonello says

    @Coffee Yes, it is. :)

  10. Felipe Tonello says

    @Jeroen No, it is not possible. It is possible, though, show your category description, if exists.

  11. Felipe Tonello says

    Thank you Faydra Deon, Daniel Hagerty and everyone that is geting me feedbacks.

    I promise that I will fix that ASAP.

    :)

  12. Peter Lurie says

    Hallo Felipe...
    Thank you for this plugin!
    I have 2 questions/requests:
    1) Is it possible to leave out the Category name?
    2) Are you planning to implement the Date before the link, any time soon?
    Many thanks, Peter

  13. Peter Lurie says

    Felipe...
    I still cannot get the display to order with oldest date first.
    Have you updated the plugin?
    Thanks
    Peter

  14. Peter Lurie says

    Felipe:
    Yet another problem:
    The list generated does not reflect changes in the permalinks, so I am getting 404's!

    Any ideas?
    Thanks
    Peter

  15. Felipe Tonello says

    Hi Peter,

    Yes. I'm planning update the plugin ASAP.

    What you mean? How the list does not reflect the changes?

    Thank you

  16. Felipe Tonello says

    Done. Version 0.4.2 has the bug fix.

  17. christine says

    Hi Felipe,
    For some reason the plugin no longer generates a code for me. Are there conflicts with other plugins that you know of? Or any other reason the plugin doesn't work for me anymore?

  18. Felipe Tonello says

    Really? It works nice here. Try to delete and install it over again.

  19. Rick Serrano says

    Could you be so kind to limit the amount of how many posts per category, maybe a setting in the admin

  20. Nate says

    Hi Felipe,

    This plug in is PERFECT! I will donate, but I have one problem. I recently switched from a wordpress.com blog to a self hosted wordpress based website. I imported all my old posts of course. The problem is that the links generated by your lovely plugin direct you to my former wordpress blog. At first I thought that it was because I was using the same old category names, but no, even after I deleted all my categories on both sites, and used completely new categories, the links direct all old posts to my blog.wordpress.com blog. Thoughts?

  21. Felipe Tonello says

    Hi Nate,

    This is because your posts are linking to the old blog. The import process didn't work quite well. You may need to check it at the wordpress database. If it's not possible, try to change it at the admin.

    Thank you for your interest =)

    - Felipe

  22. Felipe Tonello says

    Rick,

    That's a nice suggestion. I will add it at the to-do list.

    Thanks,

    - Felipe

  23. pardes says

    Hi Felipe,
    For some reason the plugin do not generates a code. I use WP 3.1.3 it. I cancelled and reinstalled the plugin. Are there conflicts with other plugins that you know of? Or any other reason the plugin doesn't work for me anymore?

  24. Felipe Tonello says

    The plugin is working fine in 3.1.3. Is there any error messages? Maybe there is a coflict with other plugin.

    Thank you

  25. Åsa says

    Hi, FYI still getting duplicate posts unfortunately...

    great and simple plugin otherwise

    Thanks!

  26. Jack says

    Hi,
    Great plugin, however
    I have moved my blog to a different web address, and since then Category Show doesn't work. It will insist on sending me back to the old address. I have de-activated the plugin and re-activated, no go. I have delete the plugin and re-installed it and it still sends me back to an non-existing address (old).
    Can you please let us know how to refresh when moving addresses?

    thanks
    Jack

  27. Amy says

    I second Rick's suggestion about being able to choose a limited amount of posts being displayed under a category. That option is exactly what I am looking for. :o ) Thanks.

  28. Xandria says

    Thank you so much for this plugin. It's mostly what I'm looking for (your to-do list would round things out nicely). I have tried similar plug-ins but they were problematic or not configurable.

    Again, I look forward to the next update. Thank you.

  29. Sadayoshi Shimizu says

    I changed your code to fit for my needs and it works fine.
    It's not sophisticated but it could help to improve your plug-in, I think.
    Where do I send?

  30. Felipe Tonello says

    Send to my email eu@felipetonello.com

    Thank you Sadayoshi

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: [...]

  2. Nim » Mise à jour du blog linked to this post on April 25, 2011

    [...] corrigé aussi le greffon Category show qui affichait en doublon les titres correspondant aux catégories. J’affiche aussi les dates [...]

  3. WordPress Plugin: Category Show | Felipe Tonello | Duend'art linked to this post on June 22, 2011

    [...] WordPress Plugin: Category Show | Felipe Tonello. WordPress ← Template Tags/wp list categories « WordPress Codex [...]



Some HTML is OK

or, reply to this post via trackback.