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!
Share Improve this question asked Jan 27, 2019 at 16:24 Galit DumitruGalit Dumitru 313 bronze badges 3- 2 You will need to ask the visual composer developers, or check it’s documentation. 3rd-party plugins are off-topic here. – Jacob Peattie Commented Jan 27, 2019 at 16:26
- Their support is not available at this moment... And I'm sure there's a lot of people that used and had this kind of experience because there's a lot of scripts that VC doesn't like. – Galit Dumitru Commented Jan 27, 2019 at 16:27
- I'm sorry guys but Visual Composer is a widely used plugin. A lot of people don't have the license to open a ticket because they are customizing a premium theme that don't provide a license for it. I don't mean to be rude, but telling me that it's personal - is unprofessional because I'm sure people will be searching for this kind of topic. Hope you have a nice day - cheers. – Galit Dumitru Commented Jan 27, 2019 at 17:37
1 Answer
Reset to default 2So, 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.