Skip to content

Commit f8c3ced

Browse files
authored
Merge pull request #19 from hijiriworld/develop
v3.1.0
2 parents 68902c3 + 4458d87 commit f8c3ced

File tree

5 files changed

+408
-20
lines changed

5 files changed

+408
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Description
66

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

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

admin/settings-network.php

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<div class="wrap">
2+
3+
<?php screen_icon( 'plugins' ); ?>
4+
5+
<h2><?php _e( 'Intuitive Custom Post Order Network Settings', 'intuitive-custom-post-order' ); ?></h2>
6+
7+
<?php if ( isset($_GET['msg'] )) : ?>
8+
<div id="message" class="updated below-h2">
9+
<?php if ( $_GET['msg'] == 'update' ) : ?>
10+
<p><?php _e( 'Settings saved.' ); ?></p>
11+
<?php endif; ?>
12+
</div>
13+
<?php endif; ?>
14+
15+
<form method="post">
16+
17+
<?php if ( function_exists( 'wp_nonce_field' ) ) wp_nonce_field( 'nonce_hicpo' ); ?>
18+
19+
<table class="form-table">
20+
<tbody>
21+
<tr valign="top">
22+
<th scope="row">
23+
<?php _e( 'Sortable Objects', 'intuitive-custom-post-order' ) ?>
24+
</th>
25+
<td>
26+
<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>
27+
</td>
28+
</tr>
29+
</tbody>
30+
</table>
31+
32+
<p class="submit">
33+
<input type="submit" class="button-primary" name="hicpo_network_submit" value="<?php _e( 'Update', 'cptg' ); ?>">
34+
</p>
35+
36+
</form>
37+
38+
</div>

0 commit comments

Comments
 (0)