Banner for Global Posts Ordering
Adjust the global order of posts from one or various post types via simple drag and drop. Wordpress Tutorial
Noted That:
  • To install correctly this global-posts-ordering.zip .
  • Fisrt Download the global-posts-ordering.zip to your computer
  • Extract/Open global-posts-ordering.zip to Your Computer.
  • Then, Find readme.txt file inside global-posts-ordering.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " global-posts-ordering.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Global Posts Ordering

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Global Posts Ordering

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Global Posts Ordering

Step-5 : Now, Browse " global-posts-ordering.zip " Downloaded plugin from your computer, Where you downloaded " global-posts-ordering.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Global Posts Ordering

Step-6 : Now, Click on " Active Plugin "

Activate Global Posts Ordering

Step-7 : Then, See left Side Menu. " Global Posts Ordering " folder is added on left Side Menu. Now, Click on " Global Posts Ordering " folder.

Noted that: If you do not see " Global Posts Ordering " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Global Posts Ordering Configurations and Settings or How to work " Global Posts Ordering " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Global Posts Ordering " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Global Posts Ordering
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  • Install easily with the WordPress plugin control panel or manually download the plugin and upload the extracted folder to the /wp-content/plugins/ directory

  • Activate the plugin through the ‘Plugins’ menu in WordPress

  • Open the file functions.php in your theme and put the following in there:

    if ( class_exists(“global_posts_ordering”) ) {
    $global_posts_ordering = new global_posts_ordering(array(“my_post_type_1”, “my_post_type_2”, “my_post_type_3”));
    }

You can include the built-in post types ‘post’ and ‘page’ as well as custom post types.

  • Save the functions.php file.

  • If you registered only one post type, there should be a new submenu-item under your post type saying “re-order”. If you registered multiple post types, you should now have a new top-level menu item saying “Global Order”. Each lead you to the drag-and-drop re-ordering interface.

  • Don’t forget to set the “orderby” option, if you fetch your posts in your template, for example like this:

    $args = array(
    “post_type”=> array(“post”, “page”),
    “orderby”=> ”menu_order”,
    “order”=> ”ASC”,
    “numberposts”=> -1
    );
    $posts = get_posts($args);

Of course, there are many different ways to fetch posts in your template. It’s only important to set the “orderby” to “menu_order” and “order” to “ASC”. Other ways to get the posts ordered by menu_order are described on the postMash Installation Page

  • If anything doesn’t work, please comment.

Name