- WordPress Tutorials
- Artisteer Tips
- Add Button Class to Widget
- Add Style to Text Widget
- Add a Sidebar in the Header
- Create Custom Post Header
- Create Unique Page Template
- Create Secondary Menu
- Create Styled Donate Button
- Create Widget Style – Part 1
- Create Widget Style – Part 2
- Hide Category Titles
- Styling Featured Image
- Styling Sheet Borders
- Using Theme Options
- Design Tips and Tricks
- Recent Projects
Removing the Words “Archive of…” from Category Pages
*NOTE: The information below works on WordPress sites that are older than 3.0. In order to remove the words “Archive of…” text from WP 3.0 sites, simply go into the Archive PHP and find the following code:
if (is_category()){
$title .= single_cat_title(”, false);
Now, simply delete the second line, and you are all set. If you are still using another version of WordPress, the following may be of help to you.
So, here’s all you need to do.
- Go to the Editor and locate the Archive php toward the top of the right hand column.
- Go inside, and look for the following code <h2 class=”pagetitle”><?php printf(__(Archive for the ‘‘%s’ Category’, ‘kubrick’), single_cat_title(”, false)); ?></h2>
- If you want no text at all to appear, simply delete that line of code and Voila! You have removed it.
- If you want only the title of the category to appear, as I have my site set to, simply delete only the part that begins with the underscore up to single_cat_title. Keep that part and change the (“,false)); to (“,true)); so, your code should now look like the following: <h2 class=”pagetitle”><?php printf(single_cat_title(”,true)); ?></h2>
- Note: you can also change the size of the title by changing the heading tags surrounding the code <h2> and </h2> to a different number.
I’m learning tons about the backend editing of WordPress and hope to be able to design some awesome complete websites using WordPress alone. I’m actually working on a site right now for a church, and all of the changes should be finished soon. They’ll have to put in the content, of course, but the theme and layout will be ready for them. Stay tuned for other great tips! ![]()
© 2009 – 2010, Sarah. All rights reserved.






and two years later still so relevant, thanks for the great info!!
thanks a lot i was looking for this