ThemeShaper Forums » Thematic

how to edit thematic_doctitle the proper way

(2 posts)
  • Started 4 years ago by fltseng
  • Latest reply from fltseng
  • This topic is resolved
  1. fltseng
    Member

    I'm creating a child-theme for an NGO, and I'm trying to edit the way that the titles are displayed. Looking at the header-extensions.php, I tried making my own functions in my functions.php but couldn't get anywhere.

    The first question is: How can I edit the $content variable so that the category title is plain "[category-name]" and not "Category Archive: [category-name]"? I know that this can be done by doing a str_replace on $elements, but is there a better way?

    Secondly, how do I begin to change the array for $elements so I can have more control over how the different arrayed items (such as $content and $site_name) in $elements are displayed?

    And, this should preferably be solved in a child-theme-friendly manner, if possible :)

    Posted 4 years ago #
  2. fltseng
    Member

    *slaps head*

    http://themeshaper.com/thematic/guide/?page_id=12#thematic_doctitle%28%29

    It happens too often that I only find the answer AFTER I've posted on a forum. My apologies.

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.