WordPress hooks/filters insert before content or after title. Just use the the_content
filter, example:
1 2 3 4 5 6 7 8 | <?php function theme_slug_filter_the_content( $content ) { $custom_content = 'YOUR CONTENT GOES HERE'; $custom_content .= $content; return $custom_content; } add_filter( 'the_content', 'theme_slug_filter_the_content' ); ?> |
Basically, you append the post content after your custom content, then return the result.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.