Title: add content on posts plugin
Last modified: August 21, 2016

---

# add content on posts plugin

 *  [sunilgupta91](https://wordpress.org/support/users/sunilgupta91/)
 * (@sunilgupta91)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/add-content-on-posts-plugin/)
 * I want to add some content or an internal link to each post in my blog, I know
   there are some plugins for this like
    [https://wordpress.org/plugins/add-to-content/](https://wordpress.org/plugins/add-to-content/)
   [https://wordpress.org/plugins/simple-custom-content/](https://wordpress.org/plugins/simple-custom-content/)
 * But I dont want to use them as they will make my site slow, I already using so
   many plugins
 * Could you please provide me a script to do this, I just want to add this
 * <Link>Submit your story</link>
 * Please guide me

Viewing 1 replies (of 1 total)

 *  [tormorten](https://wordpress.org/support/users/tormorten/)
 * (@tormorten)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/add-content-on-posts-plugin/#post-5153029)
 * You could do this by adding this to your themes functions.php:
 *     ```
       add_filter( 'the_content', 'add_link_to_posts' );
   
       function add_link_to_posts( $content )  {
   
       	if( get_post_type() === 'post' ) {
       		$content .= '<a href="http://example.com">Submit your story</a>';
       	}
   
       	return $content;
   
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘add content on posts plugin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [tormorten](https://wordpress.org/support/users/tormorten/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/add-content-on-posts-plugin/#post-5153029)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
