Execute shortcode in WP Ajax environment
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...
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.
@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...
RSS feed for this topic
You must log in to post.