can’t use span or icon tags on when editing visual composer element

Actually this is what i did on the js_composer/assets/js/backend/composer-view.js file, I changed this block: render: function () { var $shortcode_template_el = $( ‘#vc_shortcode-template-‘ + this.model.get( ‘shortcode’ ) ); if ( $shortcode_template_el.is( ‘script’ ) ) { this.html2element( _.template( $shortcode_template_el.html(), this.model.toJSON(), vc.templateOptions.default ) ); } To: render: function () { var $shortcode_template_el = $( ‘#vc_shortcode-template-‘ + this.model.get( … Read more

Editors can’t edit but administrators can

In the end the new server lock down was a red herring. There is a plugin, somewhere, which is requiring that editors have the role ‘manage_options’ enabled.. I installed a roles plugin (User Role Editor) and just granted them that extra access and it works now. I’ll need to go through the plugins to find … Read more

How to restore visual editor in WordPress

Thanks @Milo What is interesting is that the Super Admin can see the visual editor and gets this in the (chrome) console: JQMIGRATE: Migrate is installed, version 1.4.1 wp-tinymce.php?c=1&ver=4603-20170530:25 Deprecated TinyMCE API call: <target>.onNodeChange.add(..) But the normal Editor role user cannot see the visual editor and gets this in the (ie) console: DOM7011: The code … Read more

How to get short description under heading – Visual Composer [closed]

I got resolution, vc_map( array( “name” => __( “xxxxxx” ), “base” => “xxxxx”, “icon” => plugins_url(‘img/vc-icon.png’, __FILE__), ‘description’ => __( ‘xxxxxxxx’, ‘xxxxxxxxxx’ ), “params” => array( array( ‘type’ => ‘dropdown’, ‘heading’ => __( ‘Select xxxxxx’, ‘xxxxxxxxxx’ ), ‘param_name’ => ‘id’, ‘admin_label’ => true, ‘value’ => $xxxxcvx ), ), ) ); I implemented ‘admin_label’ => true, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)