PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Add class to next and previous buttons

  1. I'm using Twitter Bootstrap with Wordpress, and I use this filter to add a class to gforms submit buttons:

    add_filter( 'gform_submit_button', 'theme_t_wp_submit_button', 10, 2 );
    function theme_t_wp_submit_button( $button, $form ){
    
      return '<input class="btn btn-primary" type="submit" id="gform_submit_button_'.$form["id"].'" value="'. $form["button"]["text"] .'" />';
    }

    Is there a way to do something similar with next/previous buttons?

    Posted 10 years ago on Friday June 14, 2013 | Permalink
  2. Bumping.

    Posted 10 years ago on Saturday June 22, 2013 | Permalink