Add Condition if WPBakery Page Builder Used on Page or Not

Some quick answer you can achieve what you want to do. There is a filter which check if the current page post type is available for using WPBaker called `vc_is_valid_post_type_be’ and there you can manage “can” or “cannot” to load it. add_filter(‘vc_is_valid_post_type_be’, ‘wpse308043_vc_is_valid_post_type_be’, 10, 2); function wpse308043_vc_is_valid_post_type_be($checked_type, $type) { global $post; if($post->ID == 106) return … Read more

Preventing tinyMCE from auto formatting selected blocks of content

You can try adding this to your functions.php file: <?php function my_formatter($content) { $new_content=””; $pattern_full=”{(\[raw\].*?\[/raw\])}is”; $pattern_contents=”{\[raw\](.*?)\[/raw\]}is”; $pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE); foreach ($pieces as $piece) { if (preg_match($pattern_contents, $piece, $matches)) { $new_content .= $matches[1]; } else { $new_content .= wptexturize(wpautop($piece)); } } return $new_content; } remove_filter(‘the_content’, ‘wpautop’); remove_filter(‘the_content’, ‘wptexturize’); add_filter(‘the_content’, ‘my_formatter’, 99); ?> Once … Read more

insert link in wordpress editor greyout whole screen?

Looks like you need to update jQuery. You are running /*! jQuery v1.8.3 jquery.com | jquery.org/license */ and a very quick search of the error message text lead to this, posted five months ago– https://github.com/blueimp/jQuery-File-Upload/issues/1794–, and to the simple instructions “You need to upgrade to jquery-ui 1.9”. I would suggest updating your install as a … Read more

Visual Editor not working when Jetpack plugin is active

I just had the same problem using Jetpack v3.3 on http://ataxproforyou.com. I deactivated the whole jetpack plugin and the features came back, reactivated the plugin and was fine, until I connected it to my wordpress site http://ataxproforyou.wordpress.com and they went away again. I deactivated spell-check setting but that didn’t resolve. I deactivated the Shortcode Embed … Read more