Local Adaptive
asked 6 years ago

How do i remove the category archive from the title in a category page?
Thanks!

5 Answers
DominicStaff
answered 6 years ago

To remove categories archives from title in the categories page. You can log in to Dashboard > Theme > Custom Code then add the following code to the “Header Code”

 <style>
.page-title {
    display: none;
}
</style>

Hope this helps !

Local Adaptive
replied 6 years ago

Hey! It removed the whole title, is there any way to keep the category name “fashion” but remove “category archive:”? Also is there a way to remove the black line that splits the title and the posts?

DominicStaff
answered 6 years ago

If you want to remove the “Categories archive” section. You can open the archive.php file in the folder path ” \wp-content\themes\dw-minion” find the line 9.
Replace the following code:

printf( __( 'Category Archives: %s', 'dw-minion' ), single_cat_title( '', false ) );

With new code:

printf( __( '%s', 'dw-minion' ), single_cat_title( '', false ) );

Hope this helps !

Jimmy R.
replied 5 years ago

Hey Dominic,

I personally don’t like to register to any site whatsoever. But… I just had to register here for the sole purpose of thanking you for solving my problem.

You did awesome with your tip above. It worked like magic!

Thanks! You’re the best!

Dominic Staff
replied 5 years ago

You are welcome ! 🙂 If you have any question, please let me know. I will help you resolve it.

Alejandra Calderon O.
answered 3 years ago

Thank You very mucho for the help! It worked perfectly

DominicStaff
answered 3 years ago

If you have any issue or question please let me know, I will help you resolve it. 

jonbanff
answered 2 years ago

Hi Dominic – I am having the same issue. I wonder whether you have updated the file recently as \wp-content\themes\dw-minion” doesn’t seem to exist any more. 
Where can the code change be found now?
Many thanks,
Jonathan

Dominic Staff
replied 2 years ago

I have checked on our demo and the file still here, in the \wp-content\themes\dw-minion folder.
See the screenshot: http://prntscr.com/i3qsmd
Also, you can open and find the line 8.

Powered by DW Question & Answer Pro