• Hey everyone,
    I’m having a problem with posts that are tagged with a taxonomy. I have three taxonomies: Announcement, developing, and breaking. No matter which tax is selected, they all point to the announcement tax.

    Here’s the code I use:

    <?php if ( get_objects_in_term( 16, 'brknewsitem') ) { ?> <!-- Announcement -->
    Announcement - <?php the_title();?><br />
    <?php } elseif ( get_objects_in_term( 17, 'brknewsitem') ) { ?> <!-- Breaking -->
    Breaking - <?php the_title();?><br />
    <?php } elseif ( get_objects_in_term( 18, 'brknewsitem') ) { ?> <!-- Developing -->
    Developing - <?php the_title(); ?><br />
    <?php } ?>

    Thanks,
    Gregory S.

The topic ‘Problems with taxonomies’ is closed to new replies.