Category title

  • Author
    Posts
  • #86704

    Hi,
    First of all, I wanted to congratulate you on the amazing theme. I’ve searched for ages for a theme that suited my ideas and this is just perfect.

    I wanted to know if there is a way to hide the word “category” in the title of the category pages.

    I have the free version of the theme, because I only need it for a university assignment.
    Thank you,
    Maria

    #91655
    Zed
    Cryout Creations mastermind

    That string is provided by WordPress through its [get_]_the_archive_title() core function. However both theme and WordPress strings can be edited through the use of translations:
    https://www.cryoutcreations.eu/wordpress-tutorials/editing-theme-strings-translations


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #97372

    So I tried the translation thing and it didn’t seem to get rid of the “Category:” part of my title pages.
    Ideally, for my site (jac.land) I’d like to have a category for Projects, where my articles about the projects I’m working on go, and a category for Travel, where my articles about Travel go.

    However, it’s looking like it’s not possible to remove the “Category:” part of each title page. So they say “Category: Travel” “Category: Projects”. I’d like to keep “Projects” and “Travel” only.

    I’m probably spelling this out too much for people who do this for a living, but I’m totally inept at building sites, so I just want to make sure I’m saying exactly what I mean.

    Anyway, bless you if you’ve read this whole thing. But can anyone help with a solution?

    Website: jac.land

    #97835
    Zed
    Cryout Creations mastermind


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #99398

    Dear all,

    I’m doing a job and have a doubt that I would like to share with you looking for some help.

    I have to remove the “pretitle” so that the titles only show the “title” and not the “category: title” or “archive: title”.

    I have tried several solutions and so far cannot resolve this issue. I wonder if anyone has any information to help me.

    Thanks!

    #100155
    Zed
    Cryout Creations mastermind

    @NOA16, the information I wrote and captured above has the necessary information to customize any strings displayed on the site.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #101234

    I followed the tutorial linked above using the Loco plugin and it did not work to remove the “Category:”

    This is the location where I was editing:
    Themes/ Roseta Plus/ Framework/ cryout-en_US.po
    Is that the right place?

    @Zed
    , in your screenshot above the location is WordPress Core.

    #101919
    Zed
    Cryout Creations mastermind

    Yes, my screenshot indicates the WordPress core because that is where that string comes from (the theme calls a WordPress core function which outputs text directly). You need to customize the WordPress translation directly to customize that particular text.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Category title’ is closed to new replies.