Title: Plugin (Developing One) Prevents Blog Posts From Loading
Last modified: August 19, 2016

---

# Plugin (Developing One) Prevents Blog Posts From Loading

 *  [jbh](https://wordpress.org/support/users/jbh/)
 * (@jbh)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-developing-one-prevents-blog-posts-from-loading/)
 * Hey,
 * I have developed a few wordpress plugins in my day and never had this problem.
   Whenever I to add:
 * add_filter(‘the_content’,myfunction);
 * No posts will display. Basically, I created this plug-in to not need any content
   filters. Thing is, I created a file called functions.php which houses every function.
   I use in.php to create the installation set-up. I get *no* errors with activating
   or using the plug-in. ** The only error is that all posts are disappearing* and
   the home page says:
 * “Sorry, but there aren’t any posts with this date.”
 * If I de-activate this plug-in, every post re-appears.
    What type of conflicts
   could cause the ‘the_content’ filter to not work (I tried using filters from 
   previous plug-ins nothing works)
 * I am researching this everywhere but I cannot find the answer. I would post code
   if needed.
 * Thanks
 * Joel

Viewing 1 replies (of 1 total)

 *  [Eric Mann](https://wordpress.org/support/users/ericmann/)
 * (@ericmann)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-developing-one-prevents-blog-posts-from-loading/#post-1158014)
 * You need to have your function in ”s as well. So add_filter(‘the_content’, ‘myfunction’);
 * I don’t know if this is the only issue you’re running into, but from my first
   glance of your description it should fix it. If not, please post a code snippet.

Viewing 1 replies (of 1 total)

The topic ‘Plugin (Developing One) Prevents Blog Posts From Loading’ is closed to
new replies.

## Tags

 * [add filter](https://wordpress.org/support/topic-tag/add-filter/)

 * 1 reply
 * 2 participants
 * Last reply from: [Eric Mann](https://wordpress.org/support/users/ericmann/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-developing-one-prevents-blog-posts-from-loading/#post-1158014)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
