Ready to get started?Download WordPress


Help displaying specific custom taxonomy (1 post)

  1. lackie2k4
    Posted 11 months ago #

    Hi people really hope i can fix this as its driving me insane.

    Basically I want to be able to display a specific custom taxonomy rather than displaying them all. The parent taxonomies i have are Location and Venue.

    my problem is that WordPress is grouping these taxonomies on a single line when instead i want them like this:

    Location: Example location etc
    Venue: example venue etc

    the code i am using to display is:

    <?php the_terms( $post->ID, 'uk_events' , ' '); ?>

    Is there a way that i can specify each parent taxonomy and display them separately from each other???

    Any help is much welcome thank you


You must log in to post.

About this Topic