Title: Plugin working on posts but not pages
Last modified: August 30, 2016

---

# Plugin working on posts but not pages

 *  [Mike Rawson](https://wordpress.org/support/users/mike-rawson/)
 * (@mike-rawson)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-working-on-posts-but-not-pages/)
 * Hi there,
 * I’ve noticed recently that some **pages **with links to Amazon are no longer 
   working:
 * But I can still add links on **posts**:
 * Any idea why this might be happening?
 * Thanks in advance,
 * Mike
 * [https://wordpress.org/plugins/amazon-link/](https://wordpress.org/plugins/amazon-link/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Mike Rawson](https://wordpress.org/support/users/mike-rawson/)
 * (@mike-rawson)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-working-on-posts-but-not-pages/#post-6689069)
 * Sorry about the links in the earlier post, there were supposed to be two broken
   pages and two working posts, but instead we’ve got one of each duplicated.
 * Let me know if you need more examples.
 * Mike
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-working-on-posts-but-not-pages/#post-6689099)
 * Hi,
 * Are you using any sort of caching software? It could be this has cached a version
   of the page that was created when the plugin was disabled.
 * Is it a standard page? or has it got some sort of custom type?
 * Do you have any plugins that affect only pages / page generation?
 * Paul
 *  Thread Starter [Mike Rawson](https://wordpress.org/support/users/mike-rawson/)
 * (@mike-rawson)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-working-on-posts-but-not-pages/#post-6689103)
 * Hi Paul,
 * I have a cache that is cleared every time I publish a post. Also the cache isn’t
   used for administrators, so I don’t think that’s the problem, or I would see 
   the links myself.
 * I don’t think your plugin has ever been disabled, either.
 * I use several kinds of post, but only standard pages.
 * Similarly, I can think of one Plugin that only runs on Posts (Swifty Bar) but
   I don’t think there are any that only run on Pages.
 * Thanks, Mike
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-working-on-posts-but-not-pages/#post-6689147)
 * Hi,
 * I’m baffled, presumably they used to work on those pages?
 * Have you changed your theme? If so try reverting to the old one.
 * The plugin hooks into the page content via ‘the_content’ WordPress filter, I 
   could try creating a really simple plugin that hooks into the same filter and
   see if that works on the pages?
 * Paul
 *  Thread Starter [Mike Rawson](https://wordpress.org/support/users/mike-rawson/)
 * (@mike-rawson)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-working-on-posts-but-not-pages/#post-6689148)
 * Hi Paul,
 * Thanks for taking a look. Yes, the pages were working at least up to the end 
   of September, and probably to 5th Oct.
 * I noticed they were broken last Monday 19th Oct. I thought your plugin was broken
   completely until I realised that I could still add new links on posts.
 * I haven’t changed my theme since February, so that isn’t it.
 * I would blame another plugin if I could think of one that runs just on pages 
   and not on posts. Can’t think of any plugins I’ve added in the last month either.
 * Thanks,
 * Mike

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin working on posts but not pages’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Mike Rawson](https://wordpress.org/support/users/mike-rawson/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-working-on-posts-but-not-pages/#post-6689148)
 * Status: not resolved