Map Shortcode in Visual Composer
-
Hi,
This is more a tip than a question.
When you are using Visual Composer in your WP Theme you can easily map the CFDB shortcode (generated shortcode) in Visual Composer.
Go to Settings -> Visual Composer -> My Shortcodes
Just paste the complete generated shortcode into the textfield and hit Parse Shortcode.
Visual Composer will automatically generate parameters for all fields (like: show, filter, orderby, form, etc etc). The more parameters you set on the CFDB – Shortcode page, the more control you will have over your shortcode in Visual Composer (it will display a default value for all paramaters when inserting through VC).
When inserting the shortcode into a page using Visual Composer – My Shortcodes tab, you can adjust all parameters and easily display any form information you want.
In my case i am using Contact Form 7.
Hope this helps for anyone looking to easily re-use CFDB shortcode queries when using Visual Composer.
P.S.: using CFDB for a few weeks now and wasn’t aware of it’s possibilities. Amazing! Thanks for creating this plugin!
Marcellino
https://wordpress.org/plugins/contact-form-7-to-database-extension/
The topic ‘Map Shortcode in Visual Composer’ is closed to new replies.