Categories and Tags

This topic is empty.

Viewing 2 reply threads
  • Author
    Posts
    • #2027


      Raquel
      Guest

      Hi,

      I would like to hide the tags under every post. How do I do it?

      And I want the categories exactly where they are, right under the post, before the sharing icons, but without the text: “Categories:” before. Is it possible?

      Best Regards,

    • #2030


      Spiracle Themes
      Guest

      Hi Raquel,

      Follow these steps to do this

      1) Open again content.php (wp-content/themes/purea-magazine/template-parts/post/content.php)
      2) Remove the post tags div in line number 80 ie

      <div class=”post-tags”>
      <?php the_tags(); ?>
      </div>

      3) Replace line 84 ie
      <?php esc_html_e(‘Categories:’,’purea-magazine’) ?><?php the_category(); ?>

      with <?php the_category(); ?>

      4) Next, add the CSS below

      .home ul.post-categories {
      text-align: center;
      }

      Paste it in Appearance -> Customize -> Additional CSS

      Let us know if you have any questions 🙂

      Best Regards

    • #2032


      Raquel
      Guest

      Thanks!🙃🙏🙏🙏

Viewing 2 reply threads

Reply To: Categories and Tags

Your information: