digitalunited / vc-clean-up
Visual Composer CleanUp
Installs: 11 622
Dependents: 1
Suggesters: 0
Security: 0
Stars: 16
Watchers: 4
Forks: 3
Open Issues: 1
Type:wordpress-plugin
Requires
- php: >=5.4
- composer/installers: ~1.0
README
##Why?!? This plugin exist because i got tired of copying my customizations on visual composer to every project. Is allso is meant to solve the issue of maintaing Visual Composer customizations on multiple sites wiuth diffrent requirements.
##How?!? On activation the plugin creates a file named VcCleanUpConfig.php in your current theme. The file consists of a config-array with the possibility to cleanup Visual Composer without anny manual work.
##Configuration
###enabledStdModules An array containing all standard modules you want to use. It works as a white list so evertthing thats not declared in this array will disapear from admin. Values: Array with names of modules you want to keep
###useBootstrapGrid Replaces "vc_"-prefixed grid-classes with bootstraps grid-classes Values: true/false
###deregisterFrontendStyles Disables loading of visualcomposaer css if $param equals true Values: true/false
###disableFrontendEditor Disables the frontendeditor Values: true/false
###removeExtraClassNameField Removes the "Extra class name"-field on all modules listed in "enabledStdModules" Values: true/false
###removeDesignOptionsTab Removes the "Design options"-tab on all modules listed in "enabledStdModules" Values: true/false
###enableRowLayouts Removes all row layouts that isn't specified. It uses the rowlayouts titles. Values: Array with titles of standard row_layouts, True enables all standard rowlayouts
###setVcAsTheme Set vc as a part of a theme witch disables the "Custom CSS"-tab on the Visual Composer options-page Values: true/false
###disableGridElements Removes Grid Elements from the admin menu Values: true/false
###keepDefaultTemplates Specify witch VC default templates to keep. The array should contain the custom_class of the the default template. Value: false / array with default templates to keep (t.ex ['vc_default_template-39', 'vc_default_template-1'])
###hideVcAdminButtons Removes alot of unusefull buttons from VisualComposers admin GUI Values: true/false
###keepDefaultColumnFields Specify which params from vc_column should be kept. If set to "all", all default fields will be kept. Values: (string) "all" / (array) ['param_name1', 'param_name2', ...]