Actually you don’t need a plugin to do this. Just add a simple function to your functions.php file:
function my_content($content) {
$content="My content before post" . $content . 'My content after post';
return $content;
}
add_filter('the_content','my_content');
If you don’t want additional content to appear in your feed, use following function:
if( !is_feed() ) {
function my_content($content) {
$content="My content before post" . $content . 'My content after post';
return $content;
}
add_filter('the_content','my_content');
}
Related Posts:
- Show a different number of posts per page depending on context (e.g., homepage, search, archive)
- How Do I Use The WordPress Plugin Posts 2 Posts by Scribu?
- How to Add jQuery Infinite Scroll to My Custom Archive Page
- publish_post hook isn’t working for scheduled posts
- How to get posts by content?
- Plugin for changing a post’s category based on it’s post date?
- Publish Post After Click On A Link
- WP get_permalink Return Wrong URL
- Enable comments for post with comments meta box removed
- Edit/revise option for authors to suggest improvement to posts [closed]
- Is there an action that is called when a post is restored from the trash?
- plugin for wp_list_categories with posts
- post expire after x days
- Action on post publish
- Replace existing pages with new pages, keep menu links
- Adding “ ” before the last word in multiple defined areas with a plugin
- [Plugin: Posts 2 Posts] How does it work?
- Set attached to state
- Use plugin or custom post type for game score functionality
- How to add new tabs in post.php
- How to change ID of an attachment in wp_posts and its related tables correctly?
- New post notification plugin [closed]
- Display comments of users on single page
- Adding Plugin-specific Fields with wp_insert_post()?
- Using the “Latest posts” feature on a different site
- Post query – show posts from specified day and month and whole years
- Is there a way to order posts and custom post types as one group?
- How can i list random post from multiple category?
- Support for simultaneous editing
- Accessing post’s meta data based on user’s click of a post
- View Private Published Page with URL Code (no login required)
- Cron job not firing
- Solutions to repost categories into multisite blogs?
- Is there an easy way to flag posts in the admin area?
- finding whether request is for post, and post id
- Can’t delete Draft Post [closed]
- Outbound link autometic converted into linkdirect , and not opening
- How to allow an editor to edit all WordPress blog posts but have the last say as administrator?
- Contributive page where people logged in can write
- Trying to fix form resubmition with PRG (Getting error: Cannot modify header information – headers already sent by)
- Display wordpress post’s in popup?
- Unable to add TAB character to post?
- how to add text to posts from tags
- AJAX fileupload – TypeError: not a function ajaxSubmit()
- ‘Organize Series Plugin’ as muti author feature
- How do I publish portfolio items with a future date?
- Is there a way to make the main page only display a brief description of the full article?
- WordPress plugin Post Creation [closed]
- posts from multiple post types in one slider
- How to display the featured post on the category page?
- Flickering sidebar when scrolling page [closed]
- how to execute some code after a post is published in WordPress [duplicate]
- Post status doesn’t update to ‘future’ every time?
- trigger email when post is published by someone a user follows
- Grab ID from post from plugin and use it to create an object
- Embed PDF into wordpress
- Hook Scripts and Styles in WordPress
- WordPress plugin: Getting posts where checkbox selected
- How to auto strip hyperlinks & images in wordpress post
- how can authors to define custom pages?
- WP Editor, save content and category on frontend
- Plugin for TinyMCE to create reference to other posts
- How to get Recent Post From Each Category with Thumbnail?
- help intercepting save_post through plugin
- Update existing post dates to random dates and time
- Why the internal link get converted into a comment?
- Copy/paste local images not working in WordPress
- How to change my 3000 Published post status to Draft using PHPMyAdmin
- .com creates automated link in post
- Is it possible to customize a wordpress post from outside dashboard(Something like site.com/post-type/post/?e=post_id)?
- All Post WordPress Page Error
- WordPress Product Detail and catalog
- Is it possible to create duplicate post on other site (either push, on publish, or pull, periodically)?
- WordPress CPT Url metabox collection
- Identify if the_post hook is being called from the admin post list
- Add dynamic color to each category item
- Is there any hook to change media html in post? [duplicate]
- How to Save settings of custom tab product page in admin side in a database?
- Displaying friend’s posts only
- Publish Post but don’t call publish hook in foreground post creation
- Hidden Some Setting on Post or Page [duplicate]
- Better code/text editing for posts and pages?
- WordPress list child pages of custom post type
- Style WordPress Custom Post Type Single Page
- SWF in wordpress post
- get post excerpt by query
- Enforce conditions only for draft posts using WyPiekacz, ignore pending and published posts
- Using Postmash plugin in WordPress 3.3.1
- What is the correct method for updating post content from a plugin?
- Get post id in Post Page within Wp-admin
- PHP $_session is not work in wordpress
- Embedding BitBucket Code in Posting
- Next and Previous Pagination button not displaying in WordPress
- Notifications on WordPress Website [closed]
- Sell “create a post”, paid account for post creation
- Shortcode returning specific content of a post
- Looking for membership style plugin with edit option [closed]
- Change from blogger to wordpress
- Can i have limit posts on a specific category and automatically remove older ones?
- Getting 400 Error in wordpress website