Title: Ajax problem when using Post Snippets
Last modified: August 24, 2016

---

# Ajax problem when using Post Snippets

 *  [MerrDillan](https://wordpress.org/support/users/merrdillan/)
 * (@merrdillan)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/ajax-problem-when-using-post-snippets/)
 * Hi there,
    First of all thanks for great plugin!
 * I have a problem with ajax reload when I’m using Post Snippets plugin to generate[
   short code]
 * I create a snippet:
 *     ```
       [content_protector password="{code}" identifier="{id}" ajax="true"]
       SOME CODE HERE
       [/content_protector]
       ```
   
 * and use it in my posts with this shortcode:
    `[data code="1" id="new"]`
 * But when I enter the password (correct/incorrect) I got this message:
    `Something
   unusual has happened. Content Protector cannot find your shortcode in this Post.`
 * When I disable AJAX – All works!
 * Is there a way to fix it?!
 * And! One more question
    Is there a way to add MASTER PASSWORD so.. when I SET
   PASSWORD “” for each protector… the final corect password should be MASTER PASSWORD
   +SET PASSWORD
 * [https://wordpress.org/plugins/content-protector/](https://wordpress.org/plugins/content-protector/)

Viewing 1 replies (of 1 total)

 *  [K. Tough](https://wordpress.org/support/users/kjvtough/)
 * (@kjvtough)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/ajax-problem-when-using-post-snippets/#post-6174548)
 * Hi, MerrDillan.
 * Usually, when a shortcode doesn’t work as protected content in AJAX mode, it’s
   because the implementing plugin didn’t register the shortcode using the Shortcode
   API. I would have to see the Post Snippets plugin code to see how they implemented
   their shortcodes.

Viewing 1 replies (of 1 total)

The topic ‘Ajax problem when using Post Snippets’ is closed to new replies.

 * ![](https://ps.w.org/content-protector/assets/icon-256x256.png?rev=2206760)
 * [Passster - Password Protect Pages and Content](https://wordpress.org/plugins/content-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/content-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-protector/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [K. Tough](https://wordpress.org/support/users/kjvtough/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/ajax-problem-when-using-post-snippets/#post-6174548)
 * Status: not resolved