ThemeShaper Forums » Thematic

[closed]

Add DIV alongside post titles

(3 posts)
  • Started 3 years ago by benfrain.com
  • Latest reply from benfrain.com
  • This topic is not resolved
  1. I'd like to add a DIV alongside the .entry-title h1 of every post.

    Whilst I can add a function in functions.php and then add it in to the pages like this:

    add_action('thematic_abovepost','sidebar_social', 2);

    No matter how much I alter the priority of use different hooks It still doesn't add it within the content at the right point and I'm having to use negative margins in the CSS to align it (which is a bit poo).

    Are there any hooks I can use to stick this next to the title <h1> tag?

    Posted 3 years ago #
  2. ben - add it via filtering the thematic_postheader_posttitle() or by filtering thematic_postheader() depending on where exactly you want it

    Posted 3 years ago #
  3. Hi Helga - as ever you have set me on the right path. For any lost soul like me - have a look here as it is explained beautifully: http://themeshaper.com/2009/05/03/filters-wordpress-child-themes/

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.