ThemeShaper Forums » Thematic

Revision 349

(1 post)
  • Started 5 years ago by Chris
  • This topic is not a support question
  1. The content of the Title tag in HEAD can now be filtered in your functions.php.

    Standard separator is '|', standard format is Blogtitle Separator Content.

    You want to change the separator against the middle dot and swap Blogtitle and Content except for Home and Front Page .. just add the following code to your functions.php:


    function my_doctitle($elements) {
    $elements = str_replace ('|','�',$elements);
    if ( is_home() || is_front_page() ){
    return $elements;
    } else {
    $elements = array_reverse($elements, true);
    return $elements;
    }
    }
    add_filter('thematic_doctitle','my_doctitle');

    Cheers,

    Chris

    Posted 5 years ago #

RSS feed for this topic

Reply

You must log in to post.