Skip to content

Instantly share code, notes, and snippets.

@xnau
Last active February 3, 2017 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xnau/d0bcbc9d0a92922634de8e6cba64b55c to your computer and use it in GitHub Desktop.
Save xnau/d0bcbc9d0a92922634de8e6cba64b55c to your computer and use it in GitHub Desktop.
<?php endwhile; // field loop ?>
<?php // we are going to add our new submit button code here
</fieldset>
<?php endwhile; // group loop ?>
<?php // this fieldset is the one we are going to remove
<fieldset class="field-group field-group-submit">
<legend><?php $this->print_save_changes_label() ?></legend>
<div class="form-group">
<button type="submit" class="btn btn-default" ><?php echo $this->shortcode_atts['submit_button'] ?></button>
</div>
</fieldset>
<?php $this->print_form_close() ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment