Visual Composer : Create VC shortcode with textfield and dropdown

WordPress is the most popular CMS in the world and by using of the plugin :Visual composer : it’s so popular and easy to edit the wordpress admin editor and easily updated the design of the frontend.

Sometime, we need to create the own :Visual composer component : i.e we need to add the custom short-code component in Visual composer .Let me take an example where we will create a custom visual composer component in which it have the : Textfield and Select box i.e dropdown : both.

For creating an select box and textfield we need to call the array : vc_map() with the following parameter’s and it’s demo values.

1: put this code in file : functions.php 2:Login to admin dashboard and open the visual composure, 3:you can seen the newly created visual field with named :HeyCodeTech-demo field:. in visual composer category named- content .

Related Posts

I have received a lot of emails regarding the :visual composer problem : once we update the : WordPress version: or anything. Now the issue is :Uncaught TypeError: $template.get is not a function :. Once this error occurs then your visual…

WordPress is the most popular CMS in the world and by using of the plugin :Visual composer : it’s so popular and easy to edit the wordpress admin editor and easily updated the design of the frontend. Now here is the 2nd post…