• Resolved Nyx1961

    (@nyx1961)


    I’m using WordPress 3.6 and the theme Harmony 2.0. I’m using the category “experiences” to create a blog within a blog by adding it to the menu bar (as seen here). I would like to get rid of the Category Archives: Experiences for this category only and replace it with a title, Experiences in Higher Education. How can I do that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would try something like this to hide that text: (add this to your theme or child css file)

    #archive-title { display:none; }

    You can append a new <h1></h1> tag with jQuery to top so it appears to be the correct header. You can also just swap out the text within archive-title using jQuery as well. Probably something similar to this:

    jQuery(document).ready(function() {
      jQuery('#archive-title').text('Experiences in Higher Education');
    });

    The only plausible ways I see doing it with out manipulating a theme file, is by the use of both jQuery and CSS

    Thread Starter Nyx1961

    (@nyx1961)

    Thanks for responding but hiding the text hides it on all archive pages, not just the one category’s page and swapping out the text swaps it out for all archive pages as well. I need to change it on only the experiences category, while leaving the others intact.

    It’s going to require digging in to theme files, and setting up conditional statements to achieve this.

    Thread Starter Nyx1961

    (@nyx1961)

    I resolved it be creating a unique category .php file that edited only the one category. Thanks anyway. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove "Category Archives:" from one category’ is closed to new replies.