• Hi. Thanks for the plugin. I’m having trouble getting my project’s tags to display anywhere. I’ve tried using either of these 2 functions here in various places in the two files below but no luck. All of the other post content does show up.

    1) <?php the_terms( $post->ID, 'portfolio-tag', 'tags:', " / " );  ?>
    2) <?php the_tags(); ?>

    /themes/master/content-portfolio.php :

    	<article id="post-<?php the_ID(); ?>">				
    		<?php the_title(); ?> 
    	</article>

    /themes/master/archive-portfolio.php :

    	<?php if ( have_posts() ) : $post = $posts[0]; $c=0; ?>
    			<?php $i = 1;   while ( have_posts() ): the_post(); ?>
    					<?php get_template_part('content-portfolio'); ?>
    			<?php if($i % 2 == 0)   $i++; endwhile;   ?> 
    	<?php endif; ?>
  • The topic ‘Can’t get tags to display’ is closed to new replies.