How to hiding the Category Archives:

January 2013 WordPress Theme
GK User
Wed Jan 13, 2016 3:23 pm
Hello,
I like to hiding the Category Archives: from showing in website.
I don't fine any settings in admin area to removed t or disabled this option on themes.
thanks.
User avatar
Fresh Boarder

Joshua M
Thu Jan 14, 2016 8:58 am
Hi,

Could you provide more detail? Do you want to remove links to category form your single posts?
User avatar
Moderator

GK User
Sun Jan 17, 2016 9:28 pm
Thanks for the replying...
I like to removed the text showing (category archives plus name) on the page when i click in category menu name.
ex showing in the picture
Image
on this ex i click in category menu AFRO.
User avatar
Fresh Boarder

Joshua M
Mon Jan 18, 2016 9:04 am
Please edit News/category.php file and remove the following fragment:
Code: Select all
<h1 class="page-title">
            <?php
               printf( __( 'Category Archives: %s', GKTPLNAME ), '<span>' . single_cat_title( '', false ) . '</span>' );
            ?>
         </h1>

This modification will be removed during future theme update, so please consider using a child theme if you want to modify theme files.
User avatar
Moderator

GK User
Mon Jan 18, 2016 1:11 pm
Thanks for the tip. it is hiding the category archives text.
User avatar
Fresh Boarder


cron