Skip to content

Commit

Permalink
v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Satoshi SHODA authored and Satoshi SHODA committed Jul 11, 2017
1 parent 9e7d1a4 commit 4458d87
Show file tree
Hide file tree
Showing 5 changed files with 408 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Description

Intuitively, order items( Posts, Pages, and Custom Post Types, and Custom Taxonomies ) using a drag and drop sortable JavaScript.
Intuitively, order items( Posts, Pages, ,Custom Post Types, Custom Taxonomies, Sites ) using a drag and drop sortable JavaScript.

Select sortable items from 'Intuitive CPT' menu of Setting menu in WordPress.

Expand Down
38 changes: 38 additions & 0 deletions admin/settings-network.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<div class="wrap">

<?php screen_icon( 'plugins' ); ?>

<h2><?php _e( 'Intuitive Custom Post Order Network Settings', 'intuitive-custom-post-order' ); ?></h2>

<?php if ( isset($_GET['msg'] )) : ?>
<div id="message" class="updated below-h2">
<?php if ( $_GET['msg'] == 'update' ) : ?>
<p><?php _e( 'Settings saved.' ); ?></p>
<?php endif; ?>
</div>
<?php endif; ?>

<form method="post">

<?php if ( function_exists( 'wp_nonce_field' ) ) wp_nonce_field( 'nonce_hicpo' ); ?>

<table class="form-table">
<tbody>
<tr valign="top">
<th scope="row">
<?php _e( 'Sortable Objects', 'intuitive-custom-post-order' ) ?>
</th>
<td>
<label><input type="checkbox" name="sites" value="1" <?php if ( get_option( 'hicpo_network_sites' ) ) { echo 'checked="checked"'; } ?>>&nbsp;<?php _e( 'Sites', 'intuitive-custom-post-order' ) ?></label>
</td>
</tr>
</tbody>
</table>

<p class="submit">
<input type="submit" class="button-primary" name="hicpo_network_submit" value="<?php _e( 'Update', 'cptg' ); ?>">
</p>

</form>

</div>
Loading

0 comments on commit 4458d87

Please sign in to comment.