• Hi,

    I am in the process of building a small site for our local short mat bowls club. As yet, the site is not live.

    My question is how do I remove the text “Category Archive:” from the title of a blog post page when using the Sporty theme.

    Any assistance would be most welcome.

    Thanks.

    John

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’d like to know this too.

    Theme Author Template Express

    (@danstriker)

    Hello,

    sorry I am not sure what you are referring to – the title of a post shouldn’t have “Category Archive:”. Can you please give me an example url?

    Thread Starter johnmw1

    (@johnmw1)

    Hi,

    Many thanks for responding. It is much appreciated.

    I am building a private test site at the moment as a replacement for an existing site. It is not live so I cannot give you a url to go to at the moment. I do not want to put the new site live until the replacement is built completely and is secured properly.

    I have a menu item in one of the menus that I have set up on the test site. It is of type Category. When I click on this menu item on the front of the site it shows the list of blog posts from that particular category. The category is named Members Page.

    It currently shows CATEGORY ARCHIVES: MEMBERS PAGE as the title on the page. With a list of posts below that. I would like it to display only MEMBERS PAGE in the title (removing the text Category Archives).

    Here is a example I got from searching Google for “removing category archives wordpress”. This is from a different supplier and template. However I hope it gives you a good idea of what I mean.

    https://www.ads-software.com/support/topic/remove-category-archive-but-keep-description/

    I hope this is a clear enough explanation of the issue. If not, please let me know.

    Thanks,
    John

    Theme Author Template Express

    (@danstriker)

    Hello John,

    I understand now thanks. You can remove or change that text to anything you want in the archive.php file. Look for the text in the following line:

    printf( __( 'Category Archives: %s', 'SportyPro' ), '<span>' . single_cat_title( '', false ) . '</span>' );

    Thread Starter johnmw1

    (@johnmw1)

    Hi,

    Thanks for that. I am using the basic version rather than the pro version so the line I changed was:

    printf( __( ‘Category Archives: %s’, ‘sporty’ ), ‘<span>’ . single_cat_title( ”, false ) . ‘</span>’ );

    It worked perfectly.

    Many thanks for your help. It has been much appreciated.

    John

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing the text Category Archives: from title on page’ is closed to new replies.