Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 6 years ago.
Improve this questionMarketo forms tend to break the Wordpress Frontend Editor.
Now - my thoughts are to detect if I am just displaying the current page or I am in the frontend editor mode. If in frontend editor mode just to replace the normal form output with a placeholder (or just not display the JavaScript that breaks everything).
If somebody has any better suggestion - do not hestitate to!
Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 6 years ago.
Improve this questionMarketo forms tend to break the Wordpress Frontend Editor.
Now - my thoughts are to detect if I am just displaying the current page or I am in the frontend editor mode. If in frontend editor mode just to replace the normal form output with a placeholder (or just not display the JavaScript that breaks everything).
If somebody has any better suggestion - do not hestitate to!
So, I've dig in the core of WPBakery Visual Composer and came up with this solution:
function is_vc_build() {
return function_exists( 'vc_is_inline' ) && vc_is_inline() ? true : false;
}
Hope it will help somebody in future as I spent lots of time on this.