[Twenty Eleven Request] How can I remove the "Category Archives" text?
-
I’ve two categories in blog from where I want to remove the Category Archives text from the page. What I mean is if you go to the following 2 links:
https://adnan.quaium.com/blog/category/banglablog
https://adnan.quaium.com/blog/category/englishblog
you’ll find that in the top of the category archive page there is a text (more like a title) Category Archives: ????? ???? and Category Archives: English Blog. I want to remove the Category Archives: part, so that it will show only category names as ????? ???? and English Blog. At the same time I don’t want to remove the Category Archives: part from the other categories archive pages.In the category.php, if I change the following line
printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
to the following line:
printf( __( '%s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
then all the categories are affected. But I want to change only two certain categories.How can I apply the changes only those two categories?
- The topic ‘[Twenty Eleven Request] How can I remove the "Category Archives" text?’ is closed to new replies.