ThemeShaper Forums » Thematic

[closed]

Hook in to Content

(2 posts)
  • Started 9 years ago by hsatterwhite
  • Latest reply from ekene
  • This topic is not resolved
  1. hsatterwhite
    Member

    Hi,

    I was wondering what the preferred way to hook in to the content is? I'm looking to hook and append whatever I need just after the opening content div (<div id="content">) on a static page.

    Thanks!

    Posted 9 years ago #
  2. ekene
    Member

    i have the question too. i tried using filter

    add_filter('thematic_content', 'custom_content');

    and

    add_filter('the_content', 'custom_content');

    but its not working. does the custom function have to return a string or can i use echo or print? i was doing everything before in the template files but then i thought its better use to do it with hooks...

    thanks

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.