ThemeShaper Forums » Thematic


struggling to find a hook for the beginning of each post..

(6 posts)
  • Started 12 years ago by js09
  • Latest reply from Chris
  • This topic is not resolved
  1. js09

    I'd like to add this code for the common facebook 'like' so it works for each of my posts

    <iframe src="<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show-faces=true&amp;width=500&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:500px; height:60px"></iframe>

    any ideas? perhaps so its at the beginning of the post, and even displayed on the home page of my blog?

    Posted 12 years ago #
  2. You can try using the latest version from the svn.

    It has hooks and filters that aren't in the release version .0.9.2 yet. I think these are what you're looking for:

    Home: thematic_abovecontent() thematic_belowcontent()
    Single Post:thematic_abovepost() thematic_belowcontent()


    Posted 12 years ago #
  3. js09

    seriously? this is the solution? I will hack the code before educating myself on 'SVN' that 'may not make it into the next version'

    thanks though :)

    Posted 12 years ago #
  4. Hi,

    don't know where you bought your crystal sphere. I would return it.

    These changes will make it into the upcoming release!


    Posted 12 years ago #
  5. js09

    No complaining here, i'm just surprised this question isn't more common. perhaps a plugin may work?

    Posted 12 years ago #
  6. Hi,

    you can always download a stable development release from my site.

    These versions are running on my blogs without any problems.

    Not all SVN copies are stable. In addition we might flag a new feature as experimental. As long as it has this experimental status, you shouldn't rely on the related function calls (just in case you grab a copy from Google Code).

    The versions on my site won't have any experimental code. Except .. seems as if I forgot to remove the flag from the WP 3.0 menu part :)

    For the future I might provide a plugin that auto updates a regular version with a stable development release.


    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.