- This topic has 3 replies, 2 voices, and was last updated 7 months, 2 weeks ago by .
I have set my view to Custom
I load my content via ajax using this
$shortcode = ‘[mb_views id=”‘.$post->ID.'”]’;
//$shortcode = ‘[mbv id="'.$post->ID.'"]‘; // depends on which is correct see pic below
But it only outputs the shortcode
Also the shortcodes differ for views
see pic below
How do I display shortcodes for MB Views via ajax?
Thanks in advance
- You must be logged in to reply to this topic.