Title: Custom Button Text
Last modified: September 21, 2018

---

# Custom Button Text

 *  Resolved [moacirsantana](https://wordpress.org/support/users/moacirsantana/)
 * (@moacirsantana)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/custom-button-text-4/)
 * Hello, for those who want a custom button text, here’s a **workaround** that 
   I got working that can help you customize your buttons.
 * Step #1
    Wrap your group field in a **div **or **span** (in this case, use _**
   add\_new**_):
 * _<div class=”add\_new”>_
    [field_group mensagens id=”grupo-mensagem” tabindex:
   1] [textarea your-message] [/field_group] _</div>_
 * Then add the code below to your CSS:
    /* Custom Button Text */ .add_new .wpcf7-
   field-group button.wpcf7-field-group-add:after {content: ‘ Add new’;} .add_new.
   wpcf7-field-group button.wpcf7-field-group-remove:after {content: ‘ Remove’;}/*
   End Custom Button Text*/
 * By using a div or span with a specific Class, you can add different texts for
   group fields.
 * PrintScreen: [https://snag.gy/EkR09S.jpg](https://snag.gy/EkR09S.jpg)
 * Hope it helps
    -  This topic was modified 7 years, 8 months ago by [moacirsantana](https://wordpress.org/support/users/moacirsantana/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Felipe Elia](https://wordpress.org/support/users/felipeelia/)
 * (@felipeelia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/custom-button-text-4/#post-10892425)
 * Hi, thanks for sharing that!
 * You can also use the `wpcf7_field_group_add_button_atts` and `wpcf7_field_group_remove_button_atts`
   WP filters, like this:
 *     ```
       function mytheme_wpcf7_field_group_add_button_atts( $atts ) {
       	$atts['text'] = 'Add New';
       	return $atts;
       }
       add_filter( 'wpcf7_field_group_add_button_atts', 'mytheme_wpcf7_field_group_add_button_atts' );
   
       function mytheme_wpcf7_field_group_remove_button_atts( $atts ) {
       	$atts['text'] = 'Remove';
       	return $atts;
       }
       add_filter( 'wpcf7_field_group_remove_button_atts', 'mytheme_wpcf7_field_group_remove_button_atts' );
       ```
   
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Custom Button Text’ is closed to new replies.

 * ![](https://ps.w.org/cf7-repeatable-fields/assets/icon-256x256.png?rev=2942207)
 * [Contact Form 7 - Repeatable Fields](https://wordpress.org/plugins/cf7-repeatable-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-repeatable-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-repeatable-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-repeatable-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-repeatable-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/)

## Tags

 * [buttons](https://wordpress.org/support/topic-tag/buttons/)

 * 1 reply
 * 2 participants
 * Last reply from: [Felipe Elia](https://wordpress.org/support/users/felipeelia/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/custom-button-text-4/#post-10892425)
 * Status: resolved