![]() ![]() There are multiple attribute types available, this field is used to “tell” WPBakery Page Builder how to handle your attribute in content element edit screen. Use it to divide your params within groups (tabs) (Available from WPBakery Page Builder 4.4) Params with greater weight will be rendered first. (Available from WPBakery Page Builder 4.0) Set param container width in content element edit window. Show value of param in WPBakery Page Builder editorĭefine param visibility depending on other field value. Will be visible in shortcode’s edit screen Human friendly description of your param. Useful if you want to target some CSS rules to specific items in the backend edit interface Default: hidden inputĬlass name that will be added to the “holder” HTML tag. HTML tag name where Visual Composer will store attribute value in WPBakery Page Builder edit mode. In the “Available type values” table you can see all available variations "description" => _( "Enter foo.", "my-text-domain" )Īttribute type. "value" => _( "This is test param for creating new project", "my-text-domain" ), Each shortcode’s attribute should be described in the separate array element. Here you should describe all you shortcode’s attributes that should be editable with WPBakery Page Builder interface. Array which holds your shortcode params, these params will be editable in shortcode settings page It is handy to use this param in pair with ‘deprecated’ param (Available from WPBakery Page Builder 4.5) If set to false, content element will be hidden from “Add element” window. To hide element from “Add element” all together use ‘content_element’=>false (Available from WPBakery Page Builder 4.5) It will be moved to the “Deprecated” tab in “Add element” window and notification message will be shown on elements edit page. Another way to change html markupĮnter version number from which content element will be deprecated. This is useful if you want to reassign path of existing content elements through your plugin. Set custom backbone.js view controller for this content element More info hereĬustom html markup for representing shortcode in visual composer editor (Available from WPBakery Page Builder 4.2.2) ![]() (Available from WPBakery Page Builder 4.2.2)Ībsolute url to css file if you need to load custom css file in the frontend editing mode. Group your params in groups, they will be divided in tabs in the edit element window (Available from WPBakery Page Builder 4.1)Ībsolute url to javascript file, this js will be loaded in the js_composer edit mode (it allows you to add more functionality to your shortcode in js_composer edit mode)Ībsolute url to css file if you need to add custom css for element block in js_composer constructor modeĪbsolute url to javascript file (useful for storing your custom backbone.js views), this js will be loaded in the js_composer frontend edit mode (it allows you to add more functionality to your shortcode in js_composer frontend edit mode). You can add your own category, simply enter new category title here Default categories: Content, Social, Structure. Set it to false if content element’s settings page shouldn’t open automatically after adding it to the stageĬontent elements with greater weight will be rendered first in “Content Elements” grid (Available from WPBakery Page Builder 3.7 version)Ĭategory which best suites to describe the functionality of this shortcode. Short description of your element, it will be visible in “Add element” windowĬSS class which will be added to the shortcode’s content element in the page edit screen in WPBakery Page Builder backend edit mode Name of your shortcode for human reading inside element list ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |