- This topic has 11 replies, 2 voices, and was last updated 8 years, 3 months ago by .
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Ajax not working? Submit button also gone
Tagged: Visual Composer VC Ajax
I did a bit of digging and whilst they LOOK like normal shortcodes, Visual Composer actually expands them using javascript.
I think this might help. Put this:
if(class_exists('WPBMap') && method_exists('WPBMap', 'addAllMappedShortcodes')) {
WPBMap::addAllMappedShortcodes();
}
… into these these lines:
while ($query->have_posts())
{
$query->the_post();
?>
<div>
Like this:
while ($query->have_posts())
{
$query->the_post();
if(class_exists('WPBMap') && method_exists('WPBMap', 'addAllMappedShortcodes')) {
WPBMap::addAllMappedShortcodes();
}
?>
<div>