Home>Support>Delete “Category Archives” title

Delete “Category Archives” title

Using the Vantage Premium Them and trying to delete the “Category Archives” title on the category pages.
Here’s the bit I’m talking about: www.gone-adventuring.com/TEMP/category-title.jpg

I tried using the following solution, to no avail
https://wordpress.org/support/topic/remove-category-archives-text-from-title

I was unable to find the ( ‘Category Archives: %s’, ‘slidingdoor’ ), in any of the php files.

Any help would be greatly appreciated.

Cheers,
Rob K

URL: http://www.gone-adventuring.com/category/adventurestories/biking/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hey Rob

    The following at Appearance > Custom CSS is the easiest solution:

    /* Archives */
    
    .archive .page-header #page-title { 
    	display: none;
    }
    

    If you’d like to edit the title and not remove it, let me know and we can get stuck into a child theme solution.

    (The function you were after is in /vantage/inc/template-tags.php – it can’t be safely edited there though).

  2. 9 years, 1 month ago robk303

    Thank you, Andrew. That worked perfectly. Initially I tried inserting it into the CSS file first to see what would happen. It managed to omit the Title content, but also altered the formatting of other text. So I put it in the Custom CSS as you instructed.

    Ideally I would like the Name of the Category appear at the top of each category. For instance, where it reads “Category Archives: Climbs and Hikes” it would read “Climbs and Hikes.” without the “Category Archives” bit. (http://www.gone-adventuring.com/TEMP/category-title.jpg)

    However, it seems that when you begin playing around with the Child Theme, there’s the potential of messing up all sorts of other work that has been done to the formatting. Is that correct?

  3. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Activating a child theme will reset Appearance > Customizer > Theme Design and menu location settings. There shouldn’t be any other consequences as a result of activating one. To edit the archives title you’ll need to use a child theme that filters the title function.

    Here is a child theme you can use:

    https://siteorigin.com/wp-content/uploads/2015/08/vantage-child-rename-cat-archives.zip

    Install from Appearance > Themes > Add New: Upload Theme. Activate.
    Edit the child theme functions.php file from Appearance > Editor > functions.php. Edit the category archive title strings there. Be very careful what you change. You can edit the title strings but the surrounding structure of commas, brackets etc. must stay in place exactly like it is now.

  4. 9 years, 30 days ago robk303

    Thanks, Andrew. Sorry for the delayed response, I’ve been off the grid for a while.

    I might try this.

  5. 9 years, 30 days ago Andrew Misplon
    Hi, I Work Here

    For sure, let us know how you come along.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More