Title: Adding a class to GiveWP Form Shortcode
Last modified: May 16, 2023

---

# Adding a class to GiveWP Form Shortcode

 *  Resolved [ladydev](https://wordpress.org/support/users/ladydev/)
 * (@ladydev)
 * [3 years ago](https://wordpress.org/support/topic/adding-a-class-to-givewp-form-shortcode/)
 * I’ve looked through all the documentation and can’t seem to find an answer, and
   I have tried to add it but it didn’t work. I would like to have the ability to
   add a class to the Give form shortcode.
 * so for example: [give_form id=”259109″ class=”myClass”]
 * The reason being that I have a custom stylesheet for our forms and I want to 
   add additional styling based on whether or not that class is present rather than
   doing so by id, which can become lengthy and a pain if I have to add each id 
   in the CSS.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [3 years ago](https://wordpress.org/support/topic/adding-a-class-to-givewp-form-shortcode/#post-16786559)
 * Hi, [@ladydev](https://wordpress.org/support/users/ladydev/).
 * Glad you reached out.
 * Currently, we do not have a way to add a class parameter to our shortcodes. However,
   GiveWP is flexible and you can extend the shortcode functionality by adding your
   own code to it.
 * We have a tutorial for it here [https://givewp.com/documentation/developers/customizing-give-shortcode-templates/](https://givewp.com/documentation/developers/customizing-give-shortcode-templates/).
 * If you need assistance implementing custom PHP code on your website we have this
   guide:[https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/](https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/).
 * **Please note that this code snippet is provided as an example of how you can
   extend GiveWP with code. It’s up to you to implement and customize to your liking.
   We cannot provide support for custom code on your website, only the code that
   we create and distribute. **
 * Thanks for using GiveWP! Have a great day.

Viewing 1 replies (of 1 total)

The topic ‘Adding a class to GiveWP Form Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

## Tags

 * [classes](https://wordpress.org/support/topic-tag/classes/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [customization](https://wordpress.org/support/topic-tag/customization/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/adding-a-class-to-givewp-form-shortcode/#post-16786559)
 * Status: resolved