- This topic is empty.
-
AuthorPosts
-
August 5, 2013 at 5:13 pm #145775JoshParticipant
Hey all,
I’ve been at this for a little bit trying to figure out how I can accomplish this but I’m not getting any resolution in trying things or research.
I’m working on a custom post type called “Field Notes”. What I’d like to do is show the employee’s name, the tags associated with the post, picture and a description.
I’m having trouble getting the tags associated with the post to show up. I can successfully have a tag cloud working just fine and all the tags are showing up, but whenever I try and isolate just the single post’s tags, it comes out blank.
The only thing I’ve got working is the tag cloud which looks like this:
<?php $args = array( 'smallest' => 8, 'largest' => 10, 'separator' => ',', 'unit' => 'pt', 'number' => 45, 'orderby' => 'name', 'order' => 'ASC', 'taxonomy' => 'tags', 'echo' => true, ); ?> <?php wp_tag_cloud( $args ); ?>
Has anyone tackled this that might be able to shed some light?
August 5, 2013 at 6:59 pm #145778AlenParticipantCan you show two versions of the code, the one that works and one that doesn’t? That way we can see what’s going on. The piece of code you posted is too abstract.
If you didn’t see this: http://codex.wordpress.org/Function_Reference/wp_tag_cloud
check it out might contain info you’re after.
August 10, 2013 at 6:05 am #146339SenffParticipantIf you basically wanted to show the terms of the custom taxonomy that are attached to the post, this article might help: http://www.senff.com/front-end/on-custom-taxonomies/
-
AuthorPosts
- The forum ‘Back End’ is closed to new topics and replies.