ThemeShaper Forums » Thematic


Changing <title> layout using $doctitle

(3 posts)
  • Started 5 years ago by gary-miller
  • Latest reply from wmarkusen
  • This topic is resolved
  1. Hi all, hope someone can help me with this please.

    I'm developing a Child Theme for Thematic and I want to change the default layout of the title tag, as set by $doctitle in the 'header-extensions' file.

    In my own 'functions.php' file I've tried lots of different ways to change what I want to no avail.

    Basically, I want to remove the default 'tab' setting, and one of the new lines after the tag.

    The best I've come up with is:

    function easyaccess_doctitle($doctitle) {
    return $doctitle . "\n";

    All this returns in the html page is:


    Anyone got any suggestions please?

    Posted 5 years ago #
  2. Well, this is embarrassing!

    I was messing around with the code again and removed the following:

    . "\n"

    And, lo and behold, the problems is resolved!

    Worth leaving in case someone else makes same, silly, mistake...


    Posted 5 years ago #
  3. wmarkusen

    I found your post helpful in something I was trying to figure out. Thank you.

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.