Formzu WP Shortcode

Below, you’ll find a detailed guide on how to add the Formzu WP Shortcode to your WordPress website, including its parameters, examples, and PHP function code. Additionally, we’ll assist you with common issues that might cause the Formzu WP Plugin shortcode not to show or not to work correctly.

Before starting, here is an overview of the Formzu WP Plugin and the shortcodes it provides:

Plugin Icon
Formzu WP

"Formzu WP is a robust WordPress plugin designed to create, manage and integrate responsive forms into your website effortlessly. Streamline your site's user interaction with Formzu WP."

✩✩✩✩✩ () Active Installs: 3000+ Tested with: 6.1.4 PHP Version: 5.2
Included Shortcodes:
  • [formzu]

Formzu WP [formzu] Shortcode

The Formzu-WP plugin shortcode allows you to embed Formzu forms into your WordPress posts or pages. Shortcode Name: Formzu The ‘add_formzu_shortcode’ function is called when the ‘formzu’ shortcode is used. This function generates the necessary HTML to display the form.

Shortcode: [formzu]

Examples and Usage

Basic example – Integrating Formzu form into a WordPress site using the ‘formzu’ shortcode. This shortcode requires only one parameter, the form’s ID, to embed the form into the post or page.

[formzu id="your_form_id" /]

Advanced examples

Embedding Formzu form with additional parameters. The ‘formzu’ shortcode accepts additional parameters like ‘width’ and ‘height’ to control the form’s size. In this example, the form will have a width of 500px and a height of 300px.

[formzu id="your_form_id" width="500px" height="300px" /]

Using the ‘formzu’ shortcode to display the form in a specific language. The ‘lang’ parameter can be used to set the form’s language. The form will be displayed in the specified language if it is available.

[formzu id="your_form_id" lang="en" /]

Combining multiple parameters with the ‘formzu’ shortcode. This example shows how to use the ‘formzu’ shortcode with multiple parameters to display a form with a specific size and language.

[formzu id="your_form_id" width="500px" height="300px" lang="en" /]

PHP Function Code

In case you have difficulties debugging what causing issues with [formzu] shortcode, check below the related PHP functions code.

Shortcode line:

add_shortcode( 'formzu',    'add_formzu_shortcode' );

Shortcode PHP function:

                    f
                    

Code file location:

formzu-wp/formzu-wp/classes/action-hooks.php

Conclusion

Now that you’ve learned how to embed the Formzu WP Plugin shortcode, understood the parameters, and seen code examples, it’s easy to use and debug any issue that might cause it to ‘not work’. If you still have difficulties with it, don’t hesitate to leave a comment below.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *