Our popup button, ShortCode, accepts multiple parameters to customize it. Here is a list of all the parameters. If no parameter is added to the ShortCode, the plugin settings will apply to it by default.
- id
The contact form ID is to be shown in the popup. The ID can be found in the Contact Form 7 ShortCode. - class
The CSS class for the button, in case you want to add your class. - text
The button text. - btn_size
The button size. Default: large. Options: small, medium, large - form_style
Enable the form style. Default: on. Options: on, off. - width
The popup width. Default: 500px.
Here is the complete ShortCode
[wpb-pcf-button id="413" text="Leave a Message" btn_size="large" form_style="on" width="500px"]