What seems to have happened is that @nikeo has split off the rendering of the headings to class-content-headings.php
. I presume to reduce repetition. So the code in functions.php now becomes:
//we hook the code on the wp_head hook, this way it will be executed before any html rendering.
add_action ( 'wp_head' , 'move_my_post_headers');
function move_my_post_headers() {
//we unhook the header
remove_action( '__before_content' , array( TC_headings::$instance , 'tc_content_headings' ));
//we re-hook the header. Check the priority here : set to 0 to be the first in the list of different actions hooked to this hook
add_action( '__after_content' , array( TC_headings::$instance , 'tc_content_headings' ), 0);
}
The unfortunate side-effect of consolidating the header code, however, is that if you apply the code above, all the content headings — of pages, posts, and post-lists — will be at the bottom, not just on the posts. This may or may not be what you wanted.