Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #866199

    michaelxxx
    Participant

    Hi,

    I followed the instruction here and I have added the following code to my x-child content.php to show the tags in a post:

    <?php if ( has_tag() && !( is_category() || is_home() )  ) : ?>
      <footer class="entry-footer cf">
        <br><br><?php echo get_the_tag_list('<p>Tags: ',' - ','</p>');  ?>
      </footer>
    <?php endif; ?>

    But i have the same problem that the tags are also shown at the archive pages under the image:

    One Million Places – Archive Page

    How can I exclude the tags from the archive pages?

    #866853

    Darshana
    Moderator

    Hi there,

    You can add this under Custom > CSS in the Customizer.

    
    .archive .entry-footer.cf {
        display: none;
    }
    

    Hope that helps.