yokes g
asked 9 years ago

How to hide the page title added with article text added for single_cat_title .
Please check this screenshot :

1 Answers
answered 9 years ago

If you want to remove the page title, you can open the \wp-content\themes\dw-focus\category.php file, find the line 12.

replied 9 years ago

Hi again , my issue is not to remove the whole category title , i would like to remove the Article text add with catagory title .
For Ex : If i select 3D-Prinitng menu Article is added and showing as 3D-Prinitng Articles . How can i remove this particular Articles text added with category title.

dominic Staff
replied 9 years ago

Of course, you can simply remove the "Article" word in the line 12.

Replace the following code:
printf( __( '%s articles', 'dw-focus' ), '<span>' . single_cat_title( '', false ) . '</span>' );

With new code:
printf( __( '%s', 'dw-focus' ), '<span>' . single_cat_title( '', false ) . '</span>' );

Hope this helps !

Powered by DW Question & Answer Pro