WordPress.org

Plugin Directory

Changeset 634491


Ignore:
Timestamp:
12/05/12 18:42:06 (17 months ago)
Author:
eskapism
Message:

update readme with info about menu_order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cms-tree-page-view/trunk/readme.txt

    r631434 r634491  
    3333* Drag and drop between trees with different post types to change to post type of the draged item, i.e. change a regular page to became any custom post type 
    3434* Support for translation plugin [WPML](http://wordpress.org/extend/plugins/sitepress-multilingual-cms/), so you can manage all the languages of your site 
     35 
     36#### Show your pages on your site in the same order as they are in CMS Tree Page View 
     37To show your pages on your website in the same order as they appear in this plugin, you must 
     38sort them by "menu order". 
     39 
     40´ 
     41// Example using query_posts 
     42$args = array( 
     43  'orderby'=> 'menu_order', 
     44  'order'=>'ASC', 
     45  'post_type' => 'page', 
     46); 
     47$posts = query_posts($args); 
     48 
     49// Example using wp_query 
     50$query = new WP_Query( array( 'post_type' => 'page', 'orderby' => 'title menu_order', 'order' => 'ASC' ) ); 
     51 
     52´ 
    3553 
    3654#### Screencast 
     
    99117 
    100118= 1.0 = 
    101 - New: create multiple pages at once! Add multiple pages faster than ever before! You can ever select if the new pages should be drafts or published. And ever drag and drop the pages to get the correct order even before adding them. I know - it's awesome! 
     119- New: create multiple pages at once! Add multiple pages faster than ever before! You can even select if the new pages should be drafts or published. And ever drag and drop the pages to get the correct order even before adding them. I know - it's awesome! 
    102120- Fixed: adds new pages with the correct and selected WPML-language 
    103121- Added: you can now change the type of a post by draging the post between different trees on the dashboard. So if you have one custom post type called "Cars" and another called "Bicycles" you can now drag a page from the cars tree to the bicicyles tree and the post will converted to that post type. Pretty powerful feature that you used to need a separately plugin to be able to do. 
Note: See TracChangeset for help on using the changeset viewer.