Changing the header title text

Home Forums Spacious Pro Changing the header title text

Tagged: 

This topic contains 5 replies, has 2 voices, and was last updated by  Sanjip Shah 5 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2693

    Roger H.
    Participant

    I’d like this page’s header to say “Podcasts”, but it says “Archives”. Is this controlled by Theme Grill? I can’t find it in my settings.

    https://guysongames.com/podcast/

    Thanks!
    Roger

    #2725

    Sanjip Shah
    Moderator

    Hi Roger,

    Firstly, we would like to know what is Podcast? Is it a category or a custom post type that might be coming from a plugin? If it is coming from a plugin some coding customization will need to be done.

    #2806

    Roger H.
    Participant

    I think in this case the “Podcast” is coming from the Seriously Simple Podcasting plugin that I am using. I am not the most knowledgeable on all of this yet, but that’s what I am using to manage my podcast RSS feed data. I *think* it’s producing a custom post type for the podcast pages as well. They seem to be created a part from the normal ‘Page’ or Post functionality, so they seem to have their own rules a little bit (for example, needing that custom CSS you gave me the other day so their page title text looked and acted the same as the new Post’s titles). It’s not a Category. In fact, on the Podcast pages I create “Series” which appears to be the same idea as Categories, except that it’s a “series” in an audio program, like lumping all of the audio shows into one common theme or idea.

    Does that help explain it? Based on your question I suspect that it will take custom coding. It probably isn’t that bad if I can find the file that it exists in. It could be as easy as changing the word “Archives” to “Podcasts”. I’ll do a search for it.

    #2854

    Sanjip Shah
    Moderator

    Hi,
    If you want to replace ‘Archives’ with ‘Podcasts’ then you open this file header-functions.php file located in theme folder->inc folder.
    Find the following line of code in lines around 275
    $spacious_header_title = __( 'Archives', 'spacious' );
    and replace with following
    $spacious_header_title = __( 'Podcasts', 'spacious' );

    Hope this helps.

    #2989

    Roger H.
    Participant

    OK, I found and made the change in the file, but I haven’t been able to test it because I’m getting a “Denied” message when I try to copy it over to my server. I’m sure that’s because I used my host’s software manager to install my edition of WordPress and the theme, so it probably isn’t giving my user permissions. I’ll work with them on it.

    Please consider adding that as an optional setup choice.

    #3078

    Sanjip Shah
    Moderator

    Okay. Usually changes like making the theme compatible with the plugins has to be done after the plugin has been installed. Like in your case the title ‘Archive’ has to be replace with ‘Podcasts’. However, we will think of better ways to have the custom titles of the custom post types. Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.