How do i remove the category archive from the title in a category page?
Thanks!
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 !
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?
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 !
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!
You are welcome ! 🙂 If you have any question, please let me know. I will help you resolve it.
Thank You very mucho for the help! It worked perfectly
If you have any issue or question please let me know, I will help you resolve it.
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
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.
Please login or Register to submit your answer