Support

Account

Home Forums Front-end Issues Using Post_Object only returning IDs? Reply To: Using Post_Object only returning IDs?

  • <?php if( get_field('developer') ): ?>
    <?php $args = array('taxonomy' => 'game_developer'); ?>
    <?php $tax_menu_items = get_categories( $args );
    foreach ( $tax_menu_items as $tax_menu_item ):?>
    <p>Developer:<a href="<?php echo get_term_link($tax_menu_item,$tax_menu_item->taxonomy); ?>"> <?php echo $tax_menu_item->name; ?></a></p>
    <?php endforeach; ?><?php endif; ?>
    

    Got it working with above code 😀 Now few tweaks and full steam ahead.