Version Description
- Updated screenshot
- Corrected function prefix
- Additional: changed readme.txt (didn't bump version number)
Download this release
Release Info
Developer | ryanhellyer |
Plugin | Reorder Posts |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- index.php +4 -4
- readme.txt +9 -4
- screenshot1.png → screenshot-1.png +0 -0
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Metronet Reorder Posts
|
4 |
Plugin URI: http://metronet.no/
|
5 |
Description: Reorder posts
|
6 |
-
Version: 1.0.
|
7 |
Author: Ryan Hellyer / Metronet
|
8 |
Author URI: http://metronet.no/
|
9 |
|
@@ -59,11 +59,11 @@ define( 'REORDER_URL', WP_PLUGIN_URL . '/' . basename( REORDER_DIR ) . '' ); //
|
|
59 |
* @since 1.0
|
60 |
* @author Ryan Hellyer <ryan@metronet.no>
|
61 |
*/
|
62 |
-
add_action( 'wp_loaded', '
|
63 |
-
function
|
64 |
$post_types = get_post_types( '','names' );
|
65 |
foreach ( $post_types as $post_type ) {
|
66 |
-
|
67 |
// Don't bother with hierarchical post types
|
68 |
if ( is_post_type_hierarchical( $post_type ) )
|
69 |
continue;
|
3 |
Plugin Name: Metronet Reorder Posts
|
4 |
Plugin URI: http://metronet.no/
|
5 |
Description: Reorder posts
|
6 |
+
Version: 1.0.3
|
7 |
Author: Ryan Hellyer / Metronet
|
8 |
Author URI: http://metronet.no/
|
9 |
|
59 |
* @since 1.0
|
60 |
* @author Ryan Hellyer <ryan@metronet.no>
|
61 |
*/
|
62 |
+
add_action( 'wp_loaded', 'mn_reorder_posts_init', 100 ); //Load low priority in init for other plugins to generate their post types
|
63 |
+
function mn_reorder_posts_init() {
|
64 |
$post_types = get_post_types( '','names' );
|
65 |
foreach ( $post_types as $post_type ) {
|
66 |
+
|
67 |
// Don't bother with hierarchical post types
|
68 |
if ( is_post_type_hierarchical( $post_type ) )
|
69 |
continue;
|
readme.txt
CHANGED
@@ -4,13 +4,13 @@ Author URI: http://metronet.no/
|
|
4 |
Plugin URL: http://metronet.no/
|
5 |
Requires at Least: 3.3
|
6 |
Tags: reorder, posts, wordpress, post-type
|
7 |
-
Stable tag: 1.0.
|
8 |
|
9 |
-
A simple and easy way to reorder your posts in WordPress.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
A simple and easy way to reorder your posts in WordPress. Adds drag and drop functionality for post ordering in the WordPress admin panel. Works with
|
14 |
|
15 |
== Installation ==
|
16 |
|
@@ -19,7 +19,7 @@ Either install the plugin via the WordPress admin panel, or ...
|
|
19 |
1. Upload `metronet-reorder-posts` to the `/wp-content/plugins/` directory.
|
20 |
2. Activate the plugin through the 'Plugins' menu in WordPress.
|
21 |
|
22 |
-
There are no configuration options in this plugin. Simply navigate to "Posts" > "Reorder" to change the order of your posts. Changes are saved immediately, there is no need to click a save or update button.
|
23 |
|
24 |
== Frequently Asked Questions ==
|
25 |
|
@@ -49,6 +49,11 @@ Probably, but we only support the latest version of WordPress.
|
|
49 |
|
50 |
== Changelog ==
|
51 |
|
|
|
|
|
|
|
|
|
|
|
52 |
= 1.0.2 =
|
53 |
* Added ability to post type of posts to be reordered
|
54 |
* Fixed bug in initial order
|
4 |
Plugin URL: http://metronet.no/
|
5 |
Requires at Least: 3.3
|
6 |
Tags: reorder, posts, wordpress, post-type
|
7 |
+
Stable tag: 1.0.3
|
8 |
|
9 |
+
A simple and easy way to reorder your custom post-type posts in WordPress.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
A simple and easy way to reorder your custom post-type posts in WordPress. Adds drag and drop functionality for post ordering in the WordPress admin panel. Works with custom post-types and regular posts.
|
14 |
|
15 |
== Installation ==
|
16 |
|
19 |
1. Upload `metronet-reorder-posts` to the `/wp-content/plugins/` directory.
|
20 |
2. Activate the plugin through the 'Plugins' menu in WordPress.
|
21 |
|
22 |
+
There are no configuration options in this plugin. Simply navigate to "Posts" > "Reorder" to change the order of your posts. Changes are saved immediately, there is no need to click a save or update button. Additional links automatically appear for custom post-types.
|
23 |
|
24 |
== Frequently Asked Questions ==
|
25 |
|
49 |
|
50 |
== Changelog ==
|
51 |
|
52 |
+
= 1.0.3 =
|
53 |
+
* Updated screenshot
|
54 |
+
* Corrected function prefix
|
55 |
+
* Additional: changed readme.txt (didn't bump version number)
|
56 |
+
|
57 |
= 1.0.2 =
|
58 |
* Added ability to post type of posts to be reordered
|
59 |
* Fixed bug in initial order
|
screenshot1.png → screenshot-1.png
RENAMED
File without changes
|