This solution enables you to add anything immediately after the content on single posts.
This code executes after all plugins which enables you to hook in before anything else and print your content first.
The code examples in this post include:
- Code for displaying text and HTML immediately after the content
- Code for printing custom field data immediately after the content
One example where this solution comes in handy is when your social share buttons are added immediately after the content because the plugin you’re using includes the_content filter to add the buttons.
Here’s the code examples to choose from:
Leave a Reply
You must be logged in to post a comment.