ThemeShaper Forums » Thematic

[closed]

Add Text to Header in Autofocus Pro

(2 posts)
  • Started 3 years ago by sfwalsh
  • Latest reply from helgatheviking
  • This topic is not resolved

Tags:

  1. Hi all,

    I suspect this is a simple question, I was hoping to add a line of text below the Blog title in the header of my autofocus pro. I have found a number of (old) topics regarding adding custom images but is there any way to add a line of text? Something that reads like:

    BLOG TITLE Home
    line of text here

    Many, many thanks,

    Sean

    Posted 3 years ago #
  2. it is the same method you've probably read about to add an image. create a function with your new code you want to add.... then place it on a hook w/ the add_action function.

    while i'm not sure about autofocus, in thematic- the blog description in just under the blog title by default. you can change this text in your WP Settings.

    back to adding stuff...

    function bacon(){ ?>
    <span>Build a Bacon Fortress to Keep the Haters Away</span>
    <?php }
    add_action('thematic_header','bacon',6)

    the add_action function breaks down like this:

    add_action('hook you want to add to','your function',priority number)

    where priority number isn't necessary if you are adding to an empty hook, but is responsible for ordering functions that are added to the same hook.

    a nice diagram of hooks
    http://www.bluemandala.com/thematic/thematic-structure.html
    visualizing.thematic4you.com

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.