...
Tutorials, Wordpress

How to add id and class attributes to a contact form 7?

14 January 2019

You can add any id and class to a form by adding the html_id and html_class attributes into a [contact-form-7 404 "Not Found"] shortcode.

This is my shortcode –
[cf7-form id="1234" html_id="cf7-hp-top-partial" html_class="form nini-form"]
Output here:

add id and class attributes

Leave a Comments