Rearrange config page action buttons
This commit is contained in:
@@ -42,8 +42,8 @@
|
|||||||
</table>
|
</table>
|
||||||
<div class="tablenav bottom">
|
<div class="tablenav bottom">
|
||||||
<div class="alignleft actions">
|
<div class="alignleft actions">
|
||||||
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_outcome' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
|
||||||
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_outcome' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_outcome' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
||||||
|
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_outcome' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<br class="clear">
|
<br class="clear">
|
||||||
</div>
|
</div>
|
||||||
@@ -113,8 +113,8 @@
|
|||||||
</form>
|
</form>
|
||||||
<div class="tablenav bottom">
|
<div class="tablenav bottom">
|
||||||
<div class="alignleft actions">
|
<div class="alignleft actions">
|
||||||
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_result' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
|
||||||
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_result' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_result' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
||||||
|
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_result' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<br class="clear">
|
<br class="clear">
|
||||||
</div>
|
</div>
|
||||||
@@ -162,8 +162,8 @@
|
|||||||
</table>
|
</table>
|
||||||
<div class="tablenav bottom">
|
<div class="tablenav bottom">
|
||||||
<div class="alignleft actions">
|
<div class="alignleft actions">
|
||||||
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_performance' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
|
||||||
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_performance' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_performance' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
||||||
|
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_performance' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<br class="clear">
|
<br class="clear">
|
||||||
</div>
|
</div>
|
||||||
@@ -215,8 +215,8 @@
|
|||||||
</table>
|
</table>
|
||||||
<div class="tablenav bottom">
|
<div class="tablenav bottom">
|
||||||
<div class="alignleft actions">
|
<div class="alignleft actions">
|
||||||
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_column' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
|
||||||
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_column' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_column' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
||||||
|
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_column' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<br class="clear">
|
<br class="clear">
|
||||||
</div>
|
</div>
|
||||||
@@ -263,8 +263,8 @@
|
|||||||
</table>
|
</table>
|
||||||
<div class="tablenav bottom">
|
<div class="tablenav bottom">
|
||||||
<div class="alignleft actions">
|
<div class="alignleft actions">
|
||||||
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_metric' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
|
||||||
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_metric' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_metric' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
||||||
|
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_metric' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<br class="clear">
|
<br class="clear">
|
||||||
</div>
|
</div>
|
||||||
@@ -314,8 +314,8 @@
|
|||||||
</table>
|
</table>
|
||||||
<div class="tablenav bottom">
|
<div class="tablenav bottom">
|
||||||
<div class="alignleft actions">
|
<div class="alignleft actions">
|
||||||
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_statistic' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
|
||||||
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_statistic' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
<a class="button button-primary" id="doaction2" href="<?php echo admin_url( 'post-new.php?post_type=sp_statistic' ); ?>"><?php _e( 'Add New', 'sportspress' ); ?></a>
|
||||||
|
<a class="button" id="doaction" href="<?php echo admin_url( 'edit.php?post_type=sp_statistic' ); ?>"><?php _e( 'View All', 'sportspress' ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<br class="clear">
|
<br class="clear">
|
||||||
</div>
|
</div>
|
||||||
@@ -323,6 +323,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<?php do_action( 'sportspress_config_page', 'sportspress' ); ?>
|
||||||
<p>
|
<p>
|
||||||
<a href="http://wordpress.org/support/view/plugin-reviews/sportspress?rate=5#postform">
|
<a href="http://wordpress.org/support/view/plugin-reviews/sportspress?rate=5#postform">
|
||||||
<?php _e( 'Love SportsPress? Help spread the word by rating us 5★ on WordPress.org', 'sportspress' ); ?>
|
<?php _e( 'Love SportsPress? Help spread the word by rating us 5★ on WordPress.org', 'sportspress' ); ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user