Version Description
- Fixed: icons where misplaced when using minimized admin menu.
- Fixed: page actions where not visible when using minimized admin menu.
- Fixed: hopefully works better with WPML now.
Download this release
Release Info
Developer | eskapism |
Plugin | Admin Menu Tree Page View |
Version | 2.2 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.2
- css/styles.css +18 -1
- index.php +4 -3
- readme.txt +8 -3
css/styles.css
CHANGED
@@ -44,6 +44,15 @@ li.toplevel_page_admin-menu-tree-page-tree_main .wp-submenu a {
|
|
44 |
border-bottom: 1px solid transparent;
|
45 |
border-top: 1px solid transparent;
|
46 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li a:hover {
|
48 |
background-color: #eaf2fa !important;
|
49 |
/*
|
@@ -134,6 +143,9 @@ li.admin-menu-tree-page-filter
|
|
134 |
font-weight: normal;
|
135 |
color: #21759B;
|
136 |
}
|
|
|
|
|
|
|
137 |
|
138 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li a,
|
139 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li a:hover
|
@@ -144,6 +156,9 @@ li.admin-menu-tree-page-filter
|
|
144 |
font-weight: normal;
|
145 |
color: #21759B;
|
146 |
}
|
|
|
|
|
|
|
147 |
|
148 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li li a,
|
149 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li li a:hover
|
@@ -154,7 +169,9 @@ li.admin-menu-tree-page-filter
|
|
154 |
font-weight: normal;
|
155 |
color: #21759B;
|
156 |
}
|
157 |
-
|
|
|
|
|
158 |
|
159 |
/* make them bold too */
|
160 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current a,
|
44 |
border-bottom: 1px solid transparent;
|
45 |
border-top: 1px solid transparent;
|
46 |
}
|
47 |
+
.js.folded #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li div > a {
|
48 |
+
padding-left: 19px;
|
49 |
+
}
|
50 |
+
|
51 |
+
/* hope this does not break anything.. */
|
52 |
+
#menu-pages .wp-submenu.sub-open {
|
53 |
+
overflow: visible !important;
|
54 |
+
}
|
55 |
+
|
56 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li a:hover {
|
57 |
background-color: #eaf2fa !important;
|
58 |
/*
|
143 |
font-weight: normal;
|
144 |
color: #21759B;
|
145 |
}
|
146 |
+
.js.folded #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li a {
|
147 |
+
padding-left: 27px;
|
148 |
+
}
|
149 |
|
150 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li a,
|
151 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li a:hover
|
156 |
font-weight: normal;
|
157 |
color: #21759B;
|
158 |
}
|
159 |
+
.js.folded #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li a {
|
160 |
+
padding-left: 37px;
|
161 |
+
}
|
162 |
|
163 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li li a,
|
164 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li li a:hover
|
169 |
font-weight: normal;
|
170 |
color: #21759B;
|
171 |
}
|
172 |
+
.js.folded #adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li li li a {
|
173 |
+
padding-left: 47px;
|
174 |
+
}
|
175 |
|
176 |
/* make them bold too */
|
177 |
#adminmenu li .wp-submenu ul.admin-menu-tree-page-tree li ul li.current a,
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Admin Menu Tree Page View
|
4 |
Plugin URI: http://eskapism.se/code-playground/admin-menu-tree-page-view/
|
5 |
Description: Get a tree view of all your pages directly in the admin menu. Search, edit, view and add pages - all with just one click away!
|
6 |
-
Version: 2.
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
@@ -33,7 +33,7 @@ add_action('wp_ajax_admin_menu_tree_page_view_move_page', 'admin_menu_tree_page_
|
|
33 |
|
34 |
function admin_menu_tree_page_view_admin_init() {
|
35 |
|
36 |
-
define( "admin_menu_tree_page_view_VERSION", "2.
|
37 |
define( "admin_menu_tree_page_view_URL", WP_PLUGIN_URL . '/admin-menu-tree-page-view/' );
|
38 |
define( "admin_menu_tree_page_view_DIR", WP_PLUGIN_DIR . '/admin-menu-tree-page-view/' );
|
39 |
|
@@ -68,7 +68,8 @@ function admin_menu_tree_page_view_get_pages($args) {
|
|
68 |
"numberposts" => "-1",
|
69 |
"orderby" => "menu_order",
|
70 |
"order" => "ASC",
|
71 |
-
"post_status" => "any"
|
|
|
72 |
);
|
73 |
$args = wp_parse_args( $args, $defaults );
|
74 |
|
3 |
Plugin Name: Admin Menu Tree Page View
|
4 |
Plugin URI: http://eskapism.se/code-playground/admin-menu-tree-page-view/
|
5 |
Description: Get a tree view of all your pages directly in the admin menu. Search, edit, view and add pages - all with just one click away!
|
6 |
+
Version: 2.2
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
33 |
|
34 |
function admin_menu_tree_page_view_admin_init() {
|
35 |
|
36 |
+
define( "admin_menu_tree_page_view_VERSION", "2.2" );
|
37 |
define( "admin_menu_tree_page_view_URL", WP_PLUGIN_URL . '/admin-menu-tree-page-view/' );
|
38 |
define( "admin_menu_tree_page_view_DIR", WP_PLUGIN_DIR . '/admin-menu-tree-page-view/' );
|
39 |
|
68 |
"numberposts" => "-1",
|
69 |
"orderby" => "menu_order",
|
70 |
"order" => "ASC",
|
71 |
+
"post_status" => "any",
|
72 |
+
"suppress_filters" => 0 // suppose to fix problems with WPML
|
73 |
);
|
74 |
$args = wp_parse_args( $args, $defaults );
|
75 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: eskapism, MarsApril
|
|
3 |
Donate link: http://eskapism.se/sida/donate/
|
4 |
Tags: admin, page, pages, tree, view, admin menu, menu
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.
|
8 |
|
9 |
Get a tree view of all your pages directly in the admin menu. Search, edit, view, re-order/sort and add pages - all with just one click away!
|
10 |
|
@@ -42,12 +42,17 @@ Now the tree with the pages will be visible in the admin menu to the left.
|
|
42 |
|
43 |
== Changelog ==
|
44 |
|
|
|
|
|
|
|
|
|
|
|
45 |
= 2.1 =
|
46 |
- Fixed: forgot to remove console.log at some places. sorry!
|
47 |
- Updated: Drag and drop now works better. Still not 100%, but I can't find the reason why I does order the pages a bit wrong sometimes. Any ideas?
|
48 |
|
49 |
= 2.0 =
|
50 |
-
- Added:Now you can order posts with drag and drop. Just click and hold mouse button and move post up/down. But please note that you can only move posts that have the same level/depth in the tree.
|
51 |
|
52 |
= 1.6 =
|
53 |
- Fixed: post titles where not escaped.
|
3 |
Donate link: http://eskapism.se/sida/donate/
|
4 |
Tags: admin, page, pages, tree, view, admin menu, menu
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.2.1
|
7 |
+
Stable tag: 2.2
|
8 |
|
9 |
Get a tree view of all your pages directly in the admin menu. Search, edit, view, re-order/sort and add pages - all with just one click away!
|
10 |
|
42 |
|
43 |
== Changelog ==
|
44 |
|
45 |
+
= 2.2 =
|
46 |
+
- Fixed: icons where misplaced when using minimized admin menu.
|
47 |
+
- Fixed: page actions where not visible when using minimized admin menu.
|
48 |
+
- Fixed: hopefully works better with WPML now.
|
49 |
+
|
50 |
= 2.1 =
|
51 |
- Fixed: forgot to remove console.log at some places. sorry!
|
52 |
- Updated: Drag and drop now works better. Still not 100%, but I can't find the reason why I does order the pages a bit wrong sometimes. Any ideas?
|
53 |
|
54 |
= 2.0 =
|
55 |
+
- Added: Now you can order posts with drag and drop. Just click and hold mouse button and move post up/down. But please note that you can only move posts that have the same level/depth in the tree.
|
56 |
|
57 |
= 1.6 =
|
58 |
- Fixed: post titles where not escaped.
|