• Resolved sopfiaadmin

    (@sopfiaadmin)


    Hi, it’s possible to change the text on the submit button and the fiel text (like “name” “email” ect)? (Even if it’s mean coding) and i speak about he last version of your pluggin.
    Thanks 🙂

    • This topic was modified 8 years, 4 months ago by sopfiaadmin.
Viewing 1 replies (of 1 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Have a look at the filters in the zipfile under /docs/filters/

    There is a filter for the whole form:

    function my_gwolle_gb_write( $form_html ) {
            // $form_html is a string
            $old = 'Submit';
            $new = 'New String';
            $form_html = str_replace( $old, $new, $form_html );
            return $form_html;
    }
    add_filter( 'gwolle_gb_write', 'my_gwolle_gb_write', 10, 1 );

    There are also filters for the labels that you can change. But the formatting of the entries is ofcourse rather fixed. A private email address won’t be shown. The Name is really used as the name.
    There is an add-on with custom meta fields, that might be a good fit.

Viewing 1 replies (of 1 total)

The topic ‘Change the button text’ is closed to new replies.