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.


45 Responses

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

  1. Rachel says

    Há mais de duas semanas vinha procurando um plugin que fizesse o que o seu faz. Obrigada!
    Instalei a versão 0.2 e funcionou, mas está listando um mesmo post duas vezes
    http://rachelbarbosa.com.br/podpet/
    Tem idéia do motivo e o que posso fazer para resolver?
    Mais uma vez obrigada!

  2. Tiago Souza says

    Felipe,

    Estava com um site no wordpress.com, e exportei todos os posts dele para meu novo site – http://www.canadabrasileiro.com

    Instalei este plugin, mas no entanto, ao listar os tópicos das seções do meu site, o link que ele está apontando está para o antigo do wordpress.com

    Veja o exemplo abaixo:
    > http://www.canadabrasileiro.com/?cat=220

    Repare que em todos os links listados, está apontando para o antigo site do wordpress.com

    Como resolver ?
    Revirei tudo aqui e não obtive êxito.

    Grato pela sua atenção.

    Tiago Souza

  3. João Gonçalves says

    Olá Felipe.
    O plugin funciona na perfeição e é muito fácil de usar. Estou a utilizar a versão 0.2 num site que ainda está em construção, mas estou com um problema. Como os posts de uma certa categoria vão ultrapassar mais de 200 títulos, gostaria de saber se há alguma possibilidade de paginar a listagem.
    Obrigado pelo plugin e pela atenção.
    João Gonçalves

  4. pusatmp3.com says

    can i order the list with ascending base

  5. redb says

    Hello your plugin end your demo page is exactly what i need. But in WP 2.7 it doesn’t work for me. He return this message, on page and article, with tag and categories, with or without special characters.
    Error(Plugin catshow): ‘produits’ it doesn’t exist
    where “produits” is my category name

  6. Felipe Tonello says

    Really? can you show me the code? Here I’m also using WP 2.7

  7. ariel says

    fala felipe, estou tentando usar o seu plugin mas nao consigo, instalei ele bonitinho aqui mas ainda nao sei como aplicar, vc pode me dar uma ajuda?

    abs

  8. Mate says

    Is it posible to list post by title (from A to Z)?

  9. Carlos Gustavo Yoda says

    olá.. parabéns pelo plugin..
    é possível chamar além dos títulos um resumo das postagens?
    obrigado pela atenção, yoda..

  10. Mr. I says

    I always wanted to have this kind of category pages. I love this plugin.

  11. majku says

    Soory your plugin shows post with category name and the same tags name, because in code is AND (ta.taxonomy = ‘category’ OR ta.taxonomy = ‘post_tag’)…

    You may mark this on tutorial or installation guide.

    If I have the same name of category and tags I have two times the same post on the list… this is not good.

  12. RaiulBaztepo says

    Hello!
    Very Interesting post! Thank you for such interesting resource!
    PS: Sorry for my bad english, I’v just started to learn this language ;)
    See you!
    Your, Raiul Baztepo

  13. Leo Lemos says

    Felipe, parabéns pelo plugin. Salvou a minha vida rs.
    Seguinte, estou precisando mostrar apenas 2 resultados e não todos os posts como você fez nesse aí.

    Você sabe como fazer isso? Ou vou precisar analizar/adaptar o seu código?

    Obrigado, abrs.

  14. matt says

    im having Double postings of the items in the catorgries
    http://reason4.sytes.net look at reason tutorials and you will see the first few worked fine but then it started to double post single posts

    code i have in post is as follows

    %%wpcs-dr-rex-loop-player%%
    %%wpcs-malstrom-synthesizer%%
    %%wpcs-mclass-compressor%%
    %%wpcs-mclass-equalizer%%
    %%wpcs-mclass-mastering-suite-combi%%
    %%wpcs-mclass-maximizer%%

    thanks for a awsome plugin btw

  15. Stefan Borowicz says

    Is it possible to control the order in which the categories are displayed?

  16. AJ says

    I’m using 2.8.4 and it doesn’t work. Totally bummed!

  17. Felipe Tonello says

    Are you sure?

    I’m using WordPress 2.8.4 and it’s just fine. Starting on October I will implement more functions in it.

  18. Diane says

    hi Felipe.
    Is there any way to have the post content show, in addition to the post title?

    thanks!
    Diane

  19. Felipe Tonello says

    Hello Diane,

    That’s a good thing to do. I’m junt updating to 0.3 the plugin and I will add this feature on my to-do list.

    Thank you,
    Felipe Tonello

  20. Marty says

    I am using your plug in to create a sort of “blog-in-a-blog” page on our site.

    It would be very nice to have an option to show an excerpt from each post in a category being listed with a “…” and “read more” at the end.

  21. Álvaro Degives-Más says

    Matt, you probably have tags and categories defined that are identically named (e.g. “news”) and are also assigned to the same post or page (i.e. it is set to have the tag “news” and the category “news”) so that’s why those appear double – or quadruple, or even more if you have several of those “identical twin” sets of categories and tags.

    The reason for your trouble is that the Category Show plugin looks at both categories and tags and picks the posts / pages based on either, instead of “just” categories, or tags. Frankly, this “dual scan” is a blessing for me, but it does have the risk of ending – like you do – with duplicates appearing in your category listings, typically in pairs.

    Now, the remedy is to hunt post for post, page for page, and pick out the “redundant” one – use either the tag or the category, not both if they’re identical.

    There’s a silver lining to that tedious job (especially with many posts!) when you use Amaury Balmer’s Simple Tags plugin, hunting for such doubles can be very efficient, provided you decide to eliminate such duplications (i.e. delete the “news” tag and only use it as a category, or delete the “news” category and use it as a tag only). Just rename the tag that you want to get rid of, and you’re done. While you’re at it you’ll probably want to weed out all your tags, if you have a bunch of them – like me! If you’re curious, you can see it on the site linked to my name, in the “News & Events” page… Hopefully I got all double trouble now permanently sorted out.

    Good luck.

  22. Álvaro Degives-Más says

    Marty, if you’re in a hurry – i.e. can’t wait until Felipe updated his fantastic plugin with the option you want – you could use (sorry, Felipe…) the Category Page plugin, especially together with Tim Murray’s recent Category Page Extender companion plugin. It lets you use either the excerpt, or the entire post – you’d be needing the excerpt, of course.

    Frankly I have no idea if Category Page and Category Show bite each other, but I can tell that both work perfectly in WP 2.8.5.

    Good luck.

  23. Lee says

    I’m using the latest version of the plug in and WordPress 2.8.6, and when I insert the category show tag in a post, the contents of the category show tag are the only things that show up in the post.

  24. Felipe Tonello says

    Lee,

    Yes. I just fixed that bug. I’m releasing the 0.3.1 version for update.

    Thank you

  25. Álvaro Degives-Más says

    Felipe, I’m not (yet) there where I would really need that, but if one has a blog with tons of posts and/or pages for each category, perhaps paging the list (i.e. dividing it in chunks of say 25 or 50 items, and then linking to the next group, e.g. with Lester Chan’s PageNavi plugin) would be really handy. Do you have a suggestion for how to accomplish that? I guess that in such a scenario, the trade-off probably will be that one has to limit the number of category lists to one per page or post (unless one uses a sub-dividing solution – such as with Leo Germani’s wonderful Post Tabs plugin).

    So, do you have any idea as to how to “page” the list output? Or am I having a crazy day? (That’s OK, I have those!)

  26. Felipe Tonello says

    Hello Álvaro,

    I understand you. This paginate feature it’s really handy. I’m going to add this feature in the next version, but I don’t know exactly when it will be released.
    For now, if you want to add this functionality and send me the code, it’ll be great.

    Thank you for your patience. :)

  27. Joe says

    Hi…handy plugin. One issue: sometimes the links created are http://www.blogname.com/?p=123 sometimes they are the friendly (Permalink) links….this happens even on your demo page. Is there a reason for that?

  28. Felipe Tonello says

    Joe,
    Yes. Category Show creates links exactly how Wordpress saved those links in the datebase. So if the links are strange to you, then edit those link pages.

  29. Joe says

    Thanks for your reply Felipe, I still think there is a problem.

    Have a look at your demo page.

    The first link in the Artigos section is named “Analisando Número de Fibonacci e Recursividade”. The link that your plugin creates is: http://felipetonello.com/blog/?p=191 but when you click on that link is takes you to: http://felipetonello.com/blog/2009/01/30/analisando-numero-de-fibonacci-e-recursividade/

    Compare that to the third link down called “Nóis é muito burro!”, The link for that is http://felipetonello.com/blog/2008/07/17/nois-e-muito-burro/

    Why would the Wordpress think the first link should not use the permlink that your blog obviously uses?

  30. Felipe Tonello says

    Joe,

    Yes. That’s interesting. I looked up at my blog database and it’s the same. This was suspected because Category Show just inserts link name from the database to the post. The thing is, why Wordpress adds in the ‘posts’ table the link name sometimes with id’s and sometimes with friendly names.
    I will check this out.

    Thank you for your feedback.

  31. Brad says

    Felipe,

    Your plugin here is amazing and EXACTLY what I needed.

    I have a question. I am using multiple ‘category shows’ on pages of my site. I am using your plugin to list tags (you can check out the skeleton of the site at plantsofcalifornia.com).

    I am trying to figure out how to get the tag description ( ) to display underneath the “tag” title and above the posts list.

    Is this possible? If so, where would I enter the code in the plugin?

    Thanks!

  32. Felipe Tonello says

    Brad,

    Thank you for use Category Show.
    I understand your need. I just added this feature for 0.4.1 version. Download and generate your tag again.

    Note: The description will be shown in a

    if exists.

  33. Brad says

    Felipe,

    It works! You made my day.

    Once again, awesome plugin. Giving it a 5 star vote right now.

    Thanks,
    Brad

  34. Sergei says

    Felipe,
    this plugin is exactly what I’ve been looking for.
    Unfortunately it doesn’t work for me. First ‘Generate’ doesn’t generate any code.
    If I make my own tag and place it on page I’m getting this error

    Error(Plugin Category Show): no post published in ‘category-name’

    I have several posts in this category

    Thanks,
    Sergei

  35. Joe says

    The thing is, why Wordpress adds in the ‘posts’ table the link name sometimes with id’s and sometimes with friendly names.
    I will check this out.

    Strange huh? Thanks for looking into it.

  36. Ken says

    Is it possible to get a date in front of each link?

  37. Felipe Tonello says

    Sergei,

    What’s your Category Show’s version? and Wordpress Version?
    This is really strange because it works for everyone.

    Thank you

  38. Felipe Tonello says

    Ken,
    No. But I will add this to the TODO List.

    Thank you for your feedback.

  39. Ken says

    Nice – using your plugin now and love it!

  40. Alex says

    I’ve been searching for something like this for a while…one issue, however.

    Is it possible to limit the number of posts that appear instead of having a list with every article from a selected tag? Thanks.

  41. as says

    The URL name is not friendly SEO..

  42. ooker says

    Nice plugin, but I miss the same feature as Alex – I’d liked to show f.ex only latest 10 posts of each category.

  43. tatsumi says

    Fantastic Sir,

    Thank you for this

  44. Tim O'Brien says

    Great and useful plugin. Is there a way to format the heading for the list? it is now just the tag or category name. Can I change it to h1 or make it bold? Can I wrap text around it?

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.