Hi,
I've written a custom function for murkymatic (thematic child theme)
and I want to hook it into the theme using
thematic_postfooter()
I can do this, but unfortunately it destroys the existing
thematic_postfooter() settings, so I lose all the tags, categories and
the like
Ideally, what I'd like to do is:
CONTENT
--- Custom theme
Thematic thematic_postfooter()
Essentially in my functions.php I have:
function childtheme_article_series() {
(blah)
}
// add_action('thematic_postfooter','childtheme_article_series');
When I uncomment the add_action, it puts in my stuff okay, but takes
out the thematic stuff that I want to keep! I could reproduce the
existing function in mine with cut and paste, but that removes the
advantage of the theme framework.
Irrelevantly, my function shows other posts in the same series of posts - it could just as easily do something like showing del.icio.us and digg bookmark links.
The question is this: Am I missing something obvious?
Ideally, one of several things could happen:
1) I hook my function before thematic_postfooter() thus keeping this functionality (is this possible already? Does thematic need an extra hook? Does WP itself have a hook that executes after the_content()?)
2) I tell my function 'okay, now do thematic_postfooter()'
3) I copy the functionality of thematic_postfooter into the foot of my function (I tried this and it upset the server, didn't have time to work out why last night - I think this is the least good option as it 'forks' the code and would need updating as thematic changes.
The function itself can be seen here:
http://code.google.com/p/murkymatic/source/browse/trunk/functions.php
function childtheme_article_series() (currently starting on line 77)
This is my current 'brick wall', any help gratefully received etc.
The murkymatic theme can be seen here: http://www.murky.org/blg/murkymatic/