I got “somewhere” using the pass shortcode.
If I use this:
[pass field="post-category"]
[category="{FIELD}"]
[/pass]
[content field="post-category"]
I get this on the rendered page:
[category="Array"]
I recently added a parameter called taxonomy to the content shortcode – but haven’t got around to updating the documentation yet. The following displays post category and tags:
[content taxonomy="category"]
[content taxonomy="post_tag"]
It works in a loop also.
And that’s how come ‘cuz you rock.
Heheh, thanks for the kind words. I’m glad you’re finding the plugin useful.
One other question… if the category has multiple words… can you use the slug? I’d like class=”high-performance-group” a lot more than class=”High Performance Group”
Do you mean you’d like to output the category slug using the content shortcode? Sure, if that’s what you want, and I can add that option.
Yes, that’d be great. I’m using the shortcode to assign a class to each post which matches the category name, so the slug would work best.
That makes sense about using the category slug for assigning a class. I have another issue/feature request about post status that I’m solving, so I’ll try to include both in the next update.
Hello, please see the update to version 0.6.5. I added a new parameter to display the taxonomy slug:
[content taxonomy="category" out="slug"]