Title: Rerun shortcode using Ajax
Last modified: August 30, 2016

---

# Rerun shortcode using Ajax

 *  [chriddell](https://wordpress.org/support/users/chriddell/)
 * (@chriddell)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/rerun-shortcode-using-ajax/)
 * Hi [@dcooney](https://wordpress.org/support/users/dcooney/),
 * I’m trying to build something using the ALM plugin which (most likely) is either
   not possible or very difficult, and I’m wondering whether it will be possible
   with the plugin.
 * The basic concept is:
 * A magazine site which loads relevant posts (using Ajax) beneath the current post
   the user is reading, however the user is served snippets of posts in the current
   post’s body content and they have the option to ‘Save for later’.
 * So, what I’m wondering is (and I’m not asking you HOW to implement all this, 
   simply whether you think it will be possible with the plugin) whether I can rerun
   the ‘shortcode’ (using another piece of Ajax to inject it into the page again)
   so that the user is served a page they have ‘Saved for later’ (using it’s ID 
   in the “post__in” parameter)?
 * Literally anything you can come back with would be great, and thanks again for
   creating such a great plugin.
 * [https://wordpress.org/plugins/ajax-load-more/](https://wordpress.org/plugins/ajax-load-more/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/rerun-shortcode-using-ajax/#post-6829710)
 * Hey there.
 * Not really sure what you mean by ‘rerun the shortcode’…
 * But I think that should be possible. You would just likely need some custom JS
   to trigger the ‘save’ event.

Viewing 1 replies (of 1 total)

The topic ‘Rerun shortcode using Ajax’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/rerun-shortcode-using-ajax/#post-6829710)
 * Status: not resolved