CMS Tree Page View - Version 1.2.6

Version Description

  • Fixed loading CSS over HTTPS. Fixes http://wordpress.org/support/topic/update-noticonscss-reference-in-stylescss-for-https-sites-too.
  • Fixed some styling issues in IE 8.
Download this release

Release Info

Developer eskapism
Plugin Icon wp plugin CMS Tree Page View
Version 1.2.6
Comparing to
See all releases

Code changes from version 1.2.5 to 1.2.6

Files changed (3) hide show
  1. index.php +2 -2
  2. readme.txt +13 -3
  3. styles/styles.css +5 -2
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CMS Tree Page View
4
  Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
5
  Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. Use the tree view to edit, view, add pages and search pages (very useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
6
- Version: 1.2.5
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -27,7 +27,7 @@ License: GPL2
27
 
28
  #require("functions.php");
29
 
30
- define( "CMS_TPV_VERSION", "1.2.5");
31
  define( "CMS_TPV_NAME", "CMS Tree Page View");
32
 
33
  require(dirname(__FILE__)."/functions.php");
3
  Plugin Name: CMS Tree Page View
4
  Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
5
  Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. Use the tree view to edit, view, add pages and search pages (very useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
6
+ Version: 1.2.6
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
27
 
28
  #require("functions.php");
29
 
30
+ define( "CMS_TPV_VERSION", "1.2.6");
31
  define( "CMS_TPV_NAME", "CMS Tree Page View");
32
 
33
  require(dirname(__FILE__)."/functions.php");
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://eskapism.se/sida/donate/
4
  Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
- Stable tag: 1.2.5
8
 
9
  Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages.
10
 
@@ -41,14 +41,19 @@ sort them by "menu order".
41
  `
42
  // Example using query_posts
43
  $args = array(
 
44
  'orderby'=> 'menu_order',
45
  'order'=>'ASC',
46
- 'post_type' => 'page',
47
  );
48
  $posts = query_posts($args);
49
 
50
  // Example using wp_query
51
- $query = new WP_Query( array( 'post_type' => 'page', 'orderby' => 'title menu_order', 'order' => 'ASC' ) );
 
 
 
 
 
52
 
53
  `
54
 
@@ -106,6 +111,11 @@ Now the tree with the pages will be visible both on the dashboard and in the men
106
 
107
  == Changelog ==
108
 
 
 
 
 
 
109
  = 1.2.5 =
110
  - Fixed some notice warnings
111
  - Added Finnish translation
4
  Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
+ Stable tag: 1.2.6
8
 
9
  Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages.
10
 
41
  `
42
  // Example using query_posts
43
  $args = array(
44
+ 'post_type' => 'page',
45
  'orderby'=> 'menu_order',
46
  'order'=>'ASC',
 
47
  );
48
  $posts = query_posts($args);
49
 
50
  // Example using wp_query
51
+ $args = array(
52
+ 'post_type' => 'page',
53
+ 'orderby' => 'menu_order',
54
+ 'order' => 'ASC',
55
+ );
56
+ $query = new WP_Query( $args );
57
 
58
  `
59
 
111
 
112
  == Changelog ==
113
 
114
+ = 1.2.6 =
115
+ - Fixed loading CSS over HTTPS.
116
+ Fixes http://wordpress.org/support/topic/update-noticonscss-reference-in-stylescss-for-https-sites-too.
117
+ - Fixed some styling issues in IE 8.
118
+
119
  = 1.2.5 =
120
  - Fixed some notice warnings
121
  - Added Finnish translation
styles/styles.css CHANGED
@@ -5,8 +5,7 @@
5
  }
6
  */
7
 
8
- @import url("http://s0.wordpress.com/i/noticons/noticons.css");
9
-
10
 
11
  .cms_tpv_wrapper {
12
  z-index: 10;
@@ -53,6 +52,7 @@
53
 
54
  .cms-tpv-subsubsub li:first-child {
55
  margin-left: 0;
 
56
  }
57
 
58
  .cms-tpv-subsubsub li a {
@@ -118,6 +118,7 @@
118
 
119
 
120
  .tree-default span.post_type {
 
121
  background-color: rgba(248, 98, 16, .75);
122
  -moz-border-radius: 2px;
123
  -webkit-border-radius: 2px;
@@ -134,11 +135,13 @@
134
  }
135
  .tree-default span.post_type_password,
136
  .tree-default span.post_type_private {
 
137
  background-color: rgba(37, 182, 26, .75);
138
  }
139
  .tree-default span.post_type_pending,
140
  .tree-default span.post_type_future
141
  {
 
142
  background-color: rgba(0, 105, 224, .75);
143
  }
144
 
5
  }
6
  */
7
 
8
+ @import url("https://secure.wordpress.com/i/noticons/noticons.css");
 
9
 
10
  .cms_tpv_wrapper {
11
  z-index: 10;
52
 
53
  .cms-tpv-subsubsub li:first-child {
54
  margin-left: 0;
55
+ margin-right: 1px;
56
  }
57
 
58
  .cms-tpv-subsubsub li a {
118
 
119
 
120
  .tree-default span.post_type {
121
+ background-color: rgb(248, 98, 16);
122
  background-color: rgba(248, 98, 16, .75);
123
  -moz-border-radius: 2px;
124
  -webkit-border-radius: 2px;
135
  }
136
  .tree-default span.post_type_password,
137
  .tree-default span.post_type_private {
138
+ background-color: rgb(37, 182, 26);
139
  background-color: rgba(37, 182, 26, .75);
140
  }
141
  .tree-default span.post_type_pending,
142
  .tree-default span.post_type_future
143
  {
144
+ background-color: rgb(0, 105, 224);
145
  background-color: rgba(0, 105, 224, .75);
146
  }
147