Removing Blog Category Buttons

Hello,

When you go to my blog page (https://crisisequipped.com/blog) you can see the category descriptions (in form of buttons) visible below each post.

I would like to remove them completely (not from the post itself, but just from the main blog page).

How can I do this?

I attached a screenshot to show you what I mean:

Thank you so much,
Nadia

Hi Nadia,

Thanks for writing in!

There is currently no settings to disable or enable the tags.

To remove it completely from the main blog page, create file _content-post-footer.php in wp-content/themes/x-child/framework/views/integrity and copy the code below into that file.

<?php

// =============================================================================
// VIEWS/INTEGRITY/_CONTENT-POST-FOOTER.PHP
// -----------------------------------------------------------------------------
// Standard <footer> output for various posts.
// =============================================================================

?>

<?php if ( has_tag() && !is_home() ) : ?>
  <footer class="entry-footer cf">
    <?php echo get_the_tag_list(); ?>
  </footer>
<?php endif; ?>

I edited the conditional statement to be has_tag() && !is_home() to prevent the tags from showing in your main blog page.

For future reference on how to customize the theme, kindly refer to the link below.

Thanks

Thank you!!

Could you show me how to get to the “wp-content/themes/x-child/framework/views/integrity” file?

I’m looking all around my dashboard but can’t find it, and I don’t want to put the code in the wrong place.

Thanks so much :slight_smile:

Hi @NadiaCrisisEquipped

Sorry for the confusion here. Please follow our child theme setup guide here (https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57) to setup a child theme correctly.

Then you need to access those files through your FTP server. You can use a software like FileZilla Client to connect to your FTP server (https://filezilla-project.org/download.php). To learn the basics, you will need to follow a video guide like this (https://www.youtube.com/watch?v=FkBaqVGEug0).

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.