Hi Maxime
I figured out the issue – I’ll try to explain..
This page is currently working ok, with visual composer disabled:
http://maximegiraud.fr/fpe/recherche/
Notice the first search result “recherche”, it is a result of the current page, and underneath (the_excerpt
) there is a blank space…
Now when you enable visual composer this page no longer works…
When using a shortcode, the display of results is defined by the template in the S&f folder – templates/results.php
..
Commenting out the_excerpt
makes this page work again, with S&F and visual composer enabled 🙂
So… I tracked down the issue, it seems when visual composer is disabled, the_excerpt
does not run shortcodes inside, when visual composer is enabled it actually executes shortcodes inside the_excerpt
…
The problem is with the first result – “recherche” – because it is the S&F results page, and if it executes the result shortcode in the_excerpt
, then you have an endless loop…
One way to get around this is to exclude the page with your search results, from the search results… To do this, in S&F, go to the posts
tab, and where its says “exclude post ids”, simply put in a 6
, this mean S&F and visual composer in this instance will have no issues.
Best