WordPress.org

Ideas

Execute shortcode in WP Ajax environment

  1. biswajeet
    Member

    12345

    This is a must in general since the current WP ajax environment doesn't execute shortcode. When post/page content having shortcodes are retrieved through wp ajax, it is seen that shortcode are not executed at all. It is a pain at present because either you have to rewrite the 3rd party plugins (whom shortcode using) or to modify the ajax mechanism.

    It is a desirable to have this feature in WP Ajax environment in the upcoming release...

    thanks.

    Posted: 3 years ago #
  2. manishkrag
    Member

    Hey biswajeet hope you are doing well.

    Please try this http://wordpress.org/extend/plugins/ajaxify-wordpress-site/ plug-in I have checked that shrotcodes are also executing perfectly. This is a plug-in which loads data without refreshing the browser.

    Posted: 3 years ago #
  3. biswajeet
    Member

    12345

    @manishkrag, thanks for pointing me the plugin...
    But here I am talking a bit from developer point of view. Lets consider a scenario -

    Say we have build some ajax driven tabs created with custom post type with no direct url access. Since these tabs contains only small amount of content and we want it to load via ajax. In such situation we can grab the content through fire-up a POST request with post_id to WP Ajax ( admin-ajax.php ) and unfortunately here we don't have the luxury of executing shortcodes functionality...

    thanks.

    Posted: 3 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    3 Votes
  • Status

    This idea is under consideration