Skip to content

Instantly share code, notes, and snippets.

@RichardNesbitt
RichardNesbitt / functions.php
Created March 9, 2020 06:50
WP Bakery Page Builder - Custom Background Parameters for vc_column_inner
/*
Add the following to your theme's functions.php file
In this case, I wanted to add a background image outside of the normal controls
so I could darken it by a % using linear gradients.
I added 2 fields to vc_column_inner:
*/
// The background image
vc_add_param("vc_column_inner", array(