In the Thematics content-extensions.php you have the following code for creating the information in the Post Footer.
// Information in Post Footer
function thematic_postfooter() {
global $id, $post;
if ($post->post_type == 'page' && current_user_can('edit_posts')) { /* For logged-in "page" search results */
$postfooter = '<div class="entry-utility">' . thematic_postfooter_posteditlink();
$postfooter .= "</div><!-- .entry-utility -->\n";
} elseif ($post->post_type == 'page') { /* For logged-out "page" search results */
$postfooter = '';
} else {
if (is_single()) {
$postfooter = '<div class="entry-utility">' . thematic_postfooter_postcategory() . thematic_postfooter_posttags() . thematic_postfooter_postconnect();
} else {
$postfooter = '<div class="entry-utility">' . thematic_postfooter_postcategory() . thematic_postfooter_posttags() . thematic_postfooter_postcomments();
}
$postfooter .= "</div><!-- .entry-utility -->\n";
}
// Put it on the screen
echo apply_filters('thematic_postfooter',$postfooter); // Filter to override default post footer
} // end thematic_postfooter
As you can see this function decides that the posteditlink, postcategory, posttags, postconnect and postcomments should be included in the postfooter.
Now in my child theme I want to unload thematic_postfooter_postcategory, posttags and postconnect and load my own function my_postfooter_postshare.
What is the easiest way to do this?
I have tried the unhook_thematic_functions function but with no luck. It works when unhooking the access (menu) in header (hook) but not when trying to unhook posttags in postfooter. Maybe because the postfooter is not a hook? Or because posttags has add_filter and not add_action at the end? I am confused, please explain to me what I can unload/unhook using the remove (init) function.
Basically what I have done now is filter the entire postfooter function and adding my own postfooter which are calling for my own functions (such as my_postfooter_postshare). Is this really the ideal solution?
I would like to just unload the following . . . . load the following . . . . in the thematic_postfooter ... Please give me a better idea how to work this.