Advertisement
sbrajesh

adding the button class to prev/next

Mar 13th, 2011
161
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="submit">
  2.         <input type="submit" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php _e( 'Save Changes', 'buddypress' ) ?> " />
  3.                 <?php
  4. $next_group_id=custom_get_next_group_id();
  5. $prev_group_id=custom_get_prev_group_id();?>
  6. <?php if($prev_group_id):?>
  7. <a href="<?php echo custom_get_group_edit_link($prev_group_id) ;?>" class="button">Previous </a>
  8. <?php endif;?>
  9.  
  10. <?php if($next_group_id):?>
  11. <a href="<?php echo custom_get_group_edit_link($next_group_id) ;?>" class=" button">Next </a>
  12. <?php endif;?>
  13.     </div>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement