The problem with this is there’s so many different ways it could be displayed.
Where do you want it to show up (before the content/excerpt or after)?
Does it just list the category or does it include “Category:” or “Categorized as:”
I think this belongs as a customization (using the output filter) since the actual implementation is so individual.
In the next few weeks I’ll be working on and releasing a new version of this plugin. It will have a much more flexible output filter, so I recommend waiting until that’s ready.
So, as the plugin currently stands, is it possible to achieve displaying a category(ies) after eg. excerpt/date using an output filter? If so, how can I do it?
Otherwise, I will wait until there is an update to the plugin. Thanks again for your great work!
Regards
Yes it is possible, but you’ll have to write the code yourself. Customizing the plugin is outside the free support I offer here.
Here’s the relevant filter in the code: https://github.com/billerickson/display-posts-shortcode/blob/master/display-posts-shortcode.php#L436
And here’s some sample customizations: http://www.billerickson.net/code-tag/display-posts-shortcode
The reason I recommend waiting is that there will be an easier approach coming soon. It will still involve code, but should be cleaner than the existing solution.
Hello,
There are some news about that?
I´m developing a mag and for me is very important to displayed the name of the categoy.
I´ve tried this but it doesn´t work
[display-posts include_excerpt=”true” image_size=”thumbnail” display-posts category=”true”]
[display-posts include_excerpt=”true” image_size=”thumbnail” display-posts include_category=”true”]
Do you know how can i do it?
What about the new version of the plugin?
Thanks!