Post Types Order - Version 1.6.8

Version Description

  • Edit Gallery - image order fix
    • "re-order" menu item allow translation
    • Hungarian translation - Adam Laki - http://codeguide.hu/
    • Minor admin style improvments
Download this release

Release Info

Developer nsp-code
Plugin Icon 128x128 Post Types Order
Version 1.6.8
Comparing to
See all releases

Code changes from version 1.6.5 to 1.6.8

css/cpt.css CHANGED
@@ -1,21 +1,21 @@
1
  #order-post-type #sortable { list-style-type: none; margin: 10px 0 0; padding: 0; width: 100%; }
2
  #order-post-type #sortable ul { margin-left:20px; list-style: none; }
3
  #order-post-type #sortable li { padding: 2px 0px; margin: 4px 0px; border: 1px solid #DDDDDD; cursor: move; -moz-border-radius:6px;}
4
- #order-post-type #sortable li span { display: block; background: #f7f7f7; padding: 5px 10px; color:#808080; font-size:13px; font-weight:bold;}
5
- #order-post-type #sortable li.placeholder{border: dashed 2px #ccc;background-color:#FFF;height:25px;}
6
 
7
  #icon-settings {background-image:url("../images/admin-icon-settings.gif");background-repeat:no-repeat;}
8
  h2.subtitle {font-size: 15px; font-style: italic; font-weight: bold}
9
  .wrap .example { color: #666666; font-size: 11px; font-weight: bold}
10
 
11
- #cpt_info_box {padding: 0 10px; border: 1px dashed #6aadcc; background-color: #F1F1F1; margin-top: 10px;
12
  -webkit-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);
13
  -moz-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);
14
  box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);}
15
  #cpt_info_box p {font-size: 12px}
16
  #cpt_info_box a {text-decoration: none}
17
- #cpt_info_box #donate_form {float: right; padding: 10px 0; text-align: center; width: 100%;}
18
- .menu_pto {margin-bottom: -2px; display: inline; padding-right: 2px}
19
 
20
  #p_right {float: right; width: 210px; background-color:#f5f5f5; border-left: 1px dashed #dedede; border-right: 1px dashed #dedede}
21
  .p_s_item {float: right; padding: 0px 5px; margin-top: 15px; margin-bottom: 5px; }
1
  #order-post-type #sortable { list-style-type: none; margin: 10px 0 0; padding: 0; width: 100%; }
2
  #order-post-type #sortable ul { margin-left:20px; list-style: none; }
3
  #order-post-type #sortable li { padding: 2px 0px; margin: 4px 0px; border: 1px solid #DDDDDD; cursor: move; -moz-border-radius:6px;}
4
+ #order-post-type #sortable li span { display: block; background: #f9f8f8; padding: 5px 10px; color:#555; font-size:13px; font-weight:bold;}
5
+ #order-post-type #sortable li.placeholder{border: dashed 2px #ccc;height:25px;}
6
 
7
  #icon-settings {background-image:url("../images/admin-icon-settings.gif");background-repeat:no-repeat;}
8
  h2.subtitle {font-size: 15px; font-style: italic; font-weight: bold}
9
  .wrap .example { color: #666666; font-size: 11px; font-weight: bold}
10
 
11
+ #cpt_info_box {padding: 0 10px; border: 1px dashed #6aadcc; background-color: #FFF; margin-top: 10px;
12
  -webkit-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);
13
  -moz-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);
14
  box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);}
15
  #cpt_info_box p {font-size: 12px}
16
  #cpt_info_box a {text-decoration: none}
17
+ #cpt_info_box #donate_form {float: right; padding: 10px 0 17px; text-align: center; width: 100%;}
18
+ .menu_pto {margin-right: 4px; display: inline; vertical-align: middle; margin-top: -1px;}
19
 
20
  #p_right {float: right; width: 210px; background-color:#f5f5f5; border-left: 1px dashed #dedede; border-right: 1px dashed #dedede}
21
  .p_s_item {float: right; padding: 0px 5px; margin-top: 15px; margin-bottom: 5px; }
images/menu-icon.gif DELETED
Binary file
images/menu-icon.png ADDED
Binary file
lang/cpt-hu_HU.mo ADDED
Binary file
lang/cpt-hu_HU.po ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Post Types Order\n"
4
+ "POT-Creation-Date: 2014-02-09 09:29+0100\n"
5
+ "PO-Revision-Date: 2014-02-09 09:44+0100\n"
6
+ "Last-Translator: Adam Laki <laki.creadive@gmail.com>\n"
7
+ "Language-Team: \n"
8
+ "Language: hu_HU\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.3\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: post-types-order.php:113
19
+ msgid "Post Types Order must be configured. Please go to"
20
+ msgstr "Post Types Order-t be kell állítani. Kérlek menj a "
21
+
22
+ #: post-types-order.php:113
23
+ msgid "Settings Page"
24
+ msgstr "Beállítások oldal"
25
+
26
+ #: post-types-order.php:113
27
+ msgid "make the configuration and save"
28
+ msgstr "beállítások elkészítése és mentése"
29
+
30
+ #: post-types-order.php:451 post-types-order.php:466
31
+ msgid "Re-Order"
32
+ msgstr "Rendezés"
33
+
34
+ #: post-types-order.php:474
35
+ msgid ""
36
+ "This plugin can't work without javascript, because it's use drag and drop "
37
+ "and AJAX."
38
+ msgstr ""
39
+ "A bővítmény nem műküdik JavaScript nélkül, mert AJAX \"fogd és ejtsd\" "
40
+ "funkciót használ."
41
+
42
+ #: post-types-order.php:487
43
+ msgid "Update"
44
+ msgstr "Frissítés"
45
+
46
+ #: post-types-order.php:503
47
+ msgid "Items Order Updated"
48
+ msgstr "Elemek sorrendje frissítve"
49
+
50
+ #: post-types-order.php:520
51
+ msgid "Pages"
52
+ msgstr "Oldalak"
53
+
54
+ #: include/functions.php:65
55
+ msgid ""
56
+ "Did you find this plugin useful? Please support our work with a donation or "
57
+ "write an article about this plugin in your blog with a link to our site"
58
+ msgstr ""
59
+ "Hasznosnak találtad ezt a bővítményt? Kérünk, hogy támogasd a munkánkat "
60
+ "adománnyal, vagy egy bejegyzéssel a bővítményről a blogodon, linkel az "
61
+ "oldalunkra."
62
+
63
+ #: include/functions.php:66
64
+ msgid "Did you know there is available an Advanced version of this plug-in?"
65
+ msgstr "Tudtad, hogy van fejlettebb verzió is ebből a bővítményből?"
66
+
67
+ #: include/functions.php:66
68
+ msgid "Read more"
69
+ msgstr "Olvass tovább"
70
+
71
+ #: include/functions.php:67
72
+ msgid "Check our"
73
+ msgstr "Nézd meg"
74
+
75
+ #: include/functions.php:67
76
+ msgid ""
77
+ "plugin which allow to custom sort categories and custom taxonomies terms"
78
+ msgstr ""
79
+ "bővítmény, aminek a segítségével kategóriákat és egyedi taxonómiákat "
80
+ "rendezhetsz"
81
+
82
+ #: include/options.php:16
83
+ msgid "Settings Saved"
84
+ msgstr "Beállítások elmentve"
85
+
86
+ #: include/options.php:28
87
+ msgid "General Settings"
88
+ msgstr "Általános beállítások"
89
+
90
+ #: include/options.php:34
91
+ msgid "General"
92
+ msgstr "Általános"
93
+
94
+ #: include/options.php:39
95
+ msgid "Minimum Level to use this plugin"
96
+ msgstr "A minimum felhasználói szint a bővítmény használatához"
97
+
98
+ #: include/options.php:42
99
+ msgid "Subscriber"
100
+ msgstr "Feliratkozó"
101
+
102
+ #: include/options.php:43
103
+ msgid "Contributor"
104
+ msgstr "Közreműködő"
105
+
106
+ #: include/options.php:44
107
+ msgid "Author"
108
+ msgstr "Szerző"
109
+
110
+ #: include/options.php:45
111
+ msgid "Editor"
112
+ msgstr "Szerkesztő"
113
+
114
+ #: include/options.php:46
115
+ msgid "Administrator"
116
+ msgstr "Adminisztrátor"
117
+
118
+ #: include/options.php:52
119
+ msgid "Auto Sort"
120
+ msgstr "Automata rendezés"
121
+
122
+ #: include/options.php:56
123
+ msgid ""
124
+ "If checked, the plug-in will automatically update the wp-queries to use the "
125
+ "new order (<b>No code update is necessarily</b>).<br /> If you need more "
126
+ "order customizations you will need to uncheck this and include 'menu_order' "
127
+ "into your theme queries"
128
+ msgstr ""
129
+ "Ha be van pipálva, a bővítmény automatikusan frissíti a wp-lekérdezéseket az "
130
+ "új sorrend használatához (<b>Nem szükséges kód frissítés</b>). Hogyha több "
131
+ "rendezési testreszabásra van szükséged, akkor ne jelöld ki ezt a beállítást "
132
+ "és add hozzá a 'menu_order' paramétert a témát lekérdezéseihez."
133
+
134
+ #: include/options.php:58
135
+ msgid "Show Examples"
136
+ msgstr "Példák mutatása"
137
+
138
+ #: include/options.php:61
139
+ msgid "The following PHP code will still return the post in the set-up Order"
140
+ msgstr "A következő PHP kód visszaadja a bejegyzést a beállított rendezésben"
141
+
142
+ #: include/options.php:74
143
+ msgid "Or"
144
+ msgstr "vagy"
145
+
146
+ #: include/options.php:83
147
+ msgid ""
148
+ "If the Auto Sort is uncheck you will need to use the \"orderby\" and \"order"
149
+ "\" parameters"
150
+ msgstr ""
151
+ "Ha az automata rendezés ki van kapcsolva, akkor az \"orderby\" és az \"order"
152
+ "\" paramétereket kell használni."
153
+
154
+ #: include/options.php:98
155
+ msgid "Admin Sort"
156
+ msgstr "Adminisztrátor rendezés"
157
+
158
+ #: include/options.php:102
159
+ msgid ""
160
+ "To affect the admin interface, to see the post types per your new sort, this "
161
+ "need to be checked"
162
+ msgstr ""
163
+ "Hogy lássuk az adminisztrátori felületen a tartalom típusok új sorrendjét, "
164
+ "ezt be kell pipálnunk"
165
+
166
+ #: include/options.php:111
167
+ msgid "Save Settings"
168
+ msgstr "Beállítások mentése"
lang/cpt-ro_RO.mo CHANGED
Binary file
lang/cpt-ro_RO.po CHANGED
@@ -2,100 +2,177 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Post Types Order\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2010-11-29 09:26-0300\n"
6
- "PO-Revision-Date: 2012-12-07 14:34+0200\n"
7
- "Last-Translator: Gabriel Reguly <gabriel@ppgr.com.br>\n"
8
- "Language-Team: http://ppgr.com.br/\n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-KeywordsList: __;_e\n"
13
- "X-Poedit-Basepath: .\n"
14
- "Language: pt_BR\n"
15
- "X-Generator: Poedit 1.5.3\n"
16
- "X-Poedit-SearchPath-0: post-types-order\n"
17
 
18
- #: post-types-order/post-types-order.php:41
19
- msgid "Post Types Order"
20
- msgstr "Post Types Order"
21
 
22
- #: post-types-order/post-types-order.php:176
23
- msgid "Invalid post type"
24
- msgstr "Post Type Invalid"
 
 
 
 
 
25
 
26
- #: post-types-order/post-types-order.php:216
27
- #: post-types-order/post-types-order.php:218
28
  msgid "Re-Order"
29
  msgstr "Re-Order"
30
 
31
- #: post-types-order/post-types-order.php:229
32
- #, php-format
33
- msgid "%s - Re-order "
34
- msgstr "Reordenar %s"
35
-
36
- #: post-types-order/post-types-order.php:233
37
  msgid ""
38
- "This plugin can't work without javascript, because it use drag and drop and "
39
- "AJAX."
40
  msgstr ""
41
  "Acest plugin nu poate functiona fara JavaScript pentru ca foloseste o "
42
  "capabilitate AJAX"
43
 
44
- #: post-types-order/post-types-order.php:242
45
  msgid "Update"
46
  msgstr "Actualizare"
47
 
48
- #: post-types-order/post-types-order.php:257
49
- msgid "Item order updated"
 
50
  msgstr "Ordonare salvata"
51
 
52
- #: post-types-order/post-types-order.php:263
 
 
 
 
 
53
  msgid ""
54
- "Did you found this plug-in useful? Please support our work with a donation."
 
55
  msgstr ""
56
  "Ai gasit acest plugin folositor? The rog ajuta exhipa sa dezvolte softul in "
57
  "continuare printr-o donatie"
58
 
59
- #: post-types-order/post-types-order.php:283
60
- msgid "Pages"
61
- msgstr "Pagini"
62
 
63
- #: post-types-order/include/options.php:6
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  msgid "Settings Saved"
65
  msgstr "Setari Salvate"
66
 
67
- #: post-types-order/include/options.php:13
68
- msgid "General Setings"
 
69
  msgstr "Setari Generale"
70
 
71
- #: post-types-order/include/options.php:16
72
  msgid "General"
73
  msgstr "Geral"
74
 
75
- #: post-types-order/include/options.php:21
76
  msgid "Minimum Level to use this plugin"
77
  msgstr "Niveulul minim pentru a utiliza Re-order"
78
 
79
- #: post-types-order/include/options.php:25
80
  msgid "Subscriber"
81
  msgstr "Subscriber"
82
 
83
- #: post-types-order/include/options.php:26
84
  msgid "Contributor"
85
  msgstr "Contributor"
86
 
87
- #: post-types-order/include/options.php:27
88
  msgid "Author"
89
  msgstr "Author"
90
 
91
- #: post-types-order/include/options.php:28
92
  msgid "Editor"
93
  msgstr "Editor"
94
 
95
- #: post-types-order/include/options.php:29
96
  msgid "Administrator"
97
  msgstr "Administrator"
98
 
99
- #: post-types-order/include/options.php:36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  msgid "Save Settings"
101
  msgstr "Salveaza"
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Post Types Order\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-02-21 16:46+0200\n"
6
+ "PO-Revision-Date: 2014-02-21 16:53+0200\n"
7
+ "Last-Translator: Nsp-Code <electronice_delphi@yahoo.com>\n"
8
+ "Language-Team: http://nsp-code.com <electronice_delphi@yahoo.com>\n"
9
+ "Language: ro_RO\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.5.5\n"
16
+ "X-Poedit-SearchPath-0: .\n"
 
17
 
18
+ #: post-types-order.php:119
19
+ msgid "Post Types Order must be configured. Please go to"
20
+ msgstr "Post Types Order trebuie configurat. Mergeti la"
21
 
22
+ #: post-types-order.php:119
23
+ #, fuzzy
24
+ msgid "Settings Page"
25
+ msgstr "Setari Salvate"
26
+
27
+ #: post-types-order.php:119
28
+ msgid "make the configuration and save"
29
+ msgstr "efectuati configurarea si salvati"
30
 
31
+ #: post-types-order.php:457 post-types-order.php:461 post-types-order.php:472
 
32
  msgid "Re-Order"
33
  msgstr "Re-Order"
34
 
35
+ #: post-types-order.php:480
36
+ #, fuzzy
 
 
 
 
37
  msgid ""
38
+ "This plugin can't work without javascript, because it's use drag and drop "
39
+ "and AJAX."
40
  msgstr ""
41
  "Acest plugin nu poate functiona fara JavaScript pentru ca foloseste o "
42
  "capabilitate AJAX"
43
 
44
+ #: post-types-order.php:493
45
  msgid "Update"
46
  msgstr "Actualizare"
47
 
48
+ #: post-types-order.php:509
49
+ #, fuzzy
50
+ msgid "Items Order Updated"
51
  msgstr "Ordonare salvata"
52
 
53
+ #: post-types-order.php:526
54
+ msgid "Pages"
55
+ msgstr "Pagini"
56
+
57
+ #: include/functions.php:65
58
+ #, fuzzy
59
  msgid ""
60
+ "Did you find this plugin useful? Please support our work with a donation or "
61
+ "write an article about this plugin in your blog with a link to our site"
62
  msgstr ""
63
  "Ai gasit acest plugin folositor? The rog ajuta exhipa sa dezvolte softul in "
64
  "continuare printr-o donatie"
65
 
66
+ #: include/functions.php:66
67
+ msgid "Did you know there is available an Advanced version of this plug-in?"
68
+ msgstr "Stiati ca este disponibil o versiune mai avansata a acestui plug-in?"
69
 
70
+ #: include/functions.php:66
71
+ msgid "Read more"
72
+ msgstr "Citeste mai multe"
73
+
74
+ #: include/functions.php:67
75
+ msgid "Check our"
76
+ msgstr "Verificati"
77
+
78
+ #: include/functions.php:67
79
+ msgid ""
80
+ "plugin which allow to custom sort categories and custom taxonomies terms"
81
+ msgstr "plugin care ajuta la sortarea categoriilor si a termenilor"
82
+
83
+ #: include/options.php:16
84
  msgid "Settings Saved"
85
  msgstr "Setari Salvate"
86
 
87
+ #: include/options.php:28
88
+ #, fuzzy
89
+ msgid "General Settings"
90
  msgstr "Setari Generale"
91
 
92
+ #: include/options.php:34
93
  msgid "General"
94
  msgstr "Geral"
95
 
96
+ #: include/options.php:39
97
  msgid "Minimum Level to use this plugin"
98
  msgstr "Niveulul minim pentru a utiliza Re-order"
99
 
100
+ #: include/options.php:42
101
  msgid "Subscriber"
102
  msgstr "Subscriber"
103
 
104
+ #: include/options.php:43
105
  msgid "Contributor"
106
  msgstr "Contributor"
107
 
108
+ #: include/options.php:44
109
  msgid "Author"
110
  msgstr "Author"
111
 
112
+ #: include/options.php:45
113
  msgid "Editor"
114
  msgstr "Editor"
115
 
116
+ #: include/options.php:46
117
  msgid "Administrator"
118
  msgstr "Administrator"
119
 
120
+ #: include/options.php:52
121
+ msgid "Auto Sort"
122
+ msgstr "Auto Sort"
123
+
124
+ #: include/options.php:56
125
+ msgid ""
126
+ "If checked, the plug-in will automatically update the wp-queries to use the "
127
+ "new order (<b>No code update is necessarily</b>).<br /> If you need more "
128
+ "order customizations you will need to uncheck this and include 'menu_order' "
129
+ "into your theme queries"
130
+ msgstr ""
131
+ "Daca este marcat, plugin-ul o sa modifice automat wp-query-urile pentru a "
132
+ "folosi noua ordine. (<b>Nu este necesare editarea codului</b>).<br /> Daca "
133
+ "este nevoie de mai mult control asupra ordinei, aceasta setare trebue de-"
134
+ "marcata si se va include 'menu_order' in query-uri."
135
+
136
+ #: include/options.php:58
137
+ msgid "Show Examples"
138
+ msgstr "Arata exemple"
139
+
140
+ #: include/options.php:61
141
+ msgid "The following PHP code will still return the post in the set-up Order"
142
+ msgstr "Urmatorul cod PHP to va returna post-urile in ordinea desemnata"
143
+
144
+ #: include/options.php:74
145
+ msgid "Or"
146
+ msgstr "Sau "
147
+
148
+ #: include/options.php:83
149
+ msgid ""
150
+ "If the Auto Sort is uncheck you will need to use the \"orderby\" and \"order"
151
+ "\" parameters"
152
+ msgstr ""
153
+ "Daca Auto Sort este de-marcat, va trebui sa folositi parametrii \"orderby\" "
154
+ "si \"order\" "
155
+
156
+ #: include/options.php:98
157
+ #, fuzzy
158
+ msgid "Admin Sort"
159
+ msgstr "Administrator"
160
+
161
+ #: include/options.php:102
162
+ msgid ""
163
+ "To affect the admin interface, to see the post types per your new sort, this "
164
+ "need to be checked"
165
+ msgstr "Pentru a modifica ordinea in admin"
166
+
167
+ #: include/options.php:111
168
  msgid "Save Settings"
169
  msgstr "Salveaza"
170
+
171
+ #~ msgid "Post Types Order"
172
+ #~ msgstr "Post Types Order"
173
+
174
+ #~ msgid "Invalid post type"
175
+ #~ msgstr "Post Type Invalid"
176
+
177
+ #~ msgid "%s - Re-order "
178
+ #~ msgstr "Reordenar %s"
lang/cpt.mo CHANGED
Binary file
lang/cpt.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Post Types Order\n"
4
- "POT-Creation-Date: 2013-11-15 13:18+0200\n"
5
- "PO-Revision-Date: 2013-11-15 13:18+0200\n"
6
- "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,37 +13,37 @@ msgstr ""
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
 
16
- #: post-types-order.php:113
17
  msgid "Post Types Order must be configured. Please go to"
18
  msgstr ""
19
 
20
- #: post-types-order.php:113
21
  msgid "Settings Page"
22
  msgstr ""
23
 
24
- #: post-types-order.php:113
25
  msgid "make the configuration and save"
26
  msgstr ""
27
 
28
- #: post-types-order.php:451 post-types-order.php:466
29
  msgid "Re-Order"
30
  msgstr ""
31
 
32
- #: post-types-order.php:474
33
  msgid ""
34
  "This plugin can't work without javascript, because it's use drag and drop "
35
  "and AJAX."
36
  msgstr ""
37
 
38
- #: post-types-order.php:487
39
  msgid "Update"
40
  msgstr ""
41
 
42
- #: post-types-order.php:503
43
  msgid "Items Order Updated"
44
  msgstr ""
45
 
46
- #: post-types-order.php:520
47
  msgid "Pages"
48
  msgstr ""
49
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Post Types Order\n"
4
+ "POT-Creation-Date: 2014-02-21 16:44+0200\n"
5
+ "PO-Revision-Date: 2014-02-21 16:44+0200\n"
6
+ "Last-Translator: Nsp-Code <electronice_delphi@yahoo.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
 
16
+ #: post-types-order.php:119
17
  msgid "Post Types Order must be configured. Please go to"
18
  msgstr ""
19
 
20
+ #: post-types-order.php:119
21
  msgid "Settings Page"
22
  msgstr ""
23
 
24
+ #: post-types-order.php:119
25
  msgid "make the configuration and save"
26
  msgstr ""
27
 
28
+ #: post-types-order.php:457 post-types-order.php:461 post-types-order.php:472
29
  msgid "Re-Order"
30
  msgstr ""
31
 
32
+ #: post-types-order.php:480
33
  msgid ""
34
  "This plugin can't work without javascript, because it's use drag and drop "
35
  "and AJAX."
36
  msgstr ""
37
 
38
+ #: post-types-order.php:493
39
  msgid "Update"
40
  msgstr ""
41
 
42
+ #: post-types-order.php:509
43
  msgid "Items Order Updated"
44
  msgstr ""
45
 
46
+ #: post-types-order.php:526
47
  msgid "Pages"
48
  msgstr ""
49
 
post-types-order.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.nsp-code.com
5
  Description: Posts Order and Post Types Objects Order using a Drag and Drop Sortable javascript capability
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
- Version: 1.6.5
9
  */
10
 
11
  define('CPTPATH', plugin_dir_path(__FILE__));
@@ -43,7 +43,7 @@ function CPTO_pre_get_posts($query)
43
  {
44
  //-- lee@cloudswipe.com requirement
45
  global $post;
46
- if(is_object($post) && $post->ID < 1)
47
  { return $query; } // Stop running the function if this is a virtual page
48
  //--
49
 
@@ -84,8 +84,14 @@ function CPTOrderPosts($orderBy, $query)
84
 
85
  if (is_admin())
86
  {
87
- if ($options['adminsort'] == "1")
88
- $orderBy = "{$wpdb->posts}.menu_order, {$wpdb->posts}.post_date DESC";
 
 
 
 
 
 
89
  }
90
  else
91
  {
@@ -126,7 +132,7 @@ add_action('admin_menu', 'cpto_plugin_menu');
126
  function cpto_plugin_menu()
127
  {
128
  include (CPTPATH . '/include/options.php');
129
- add_options_page('Post Types Order', '<img class="menu_pto" src="'. CPTURL .'/images/menu-icon.gif" alt="" />Post Types Order', 'manage_options', 'cpto-options', 'cpt_plugin_options');
130
  }
131
 
132
 
@@ -452,7 +458,7 @@ class CPTO
452
  else
453
  {
454
  if (!is_post_type_hierarchical($post_type_name))
455
- add_submenu_page('edit.php?post_type='.$post_type_name, 'Re-Order', 'Re-Order', $capability, 'order-post-types-'.$post_type_name, array(&$this, 'SortPage') );
456
  }
457
  }
458
  }
5
  Description: Posts Order and Post Types Objects Order using a Drag and Drop Sortable javascript capability
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
+ Version: 1.6.8
9
  */
10
 
11
  define('CPTPATH', plugin_dir_path(__FILE__));
43
  {
44
  //-- lee@cloudswipe.com requirement
45
  global $post;
46
+ if(is_object($post) && isset($post->ID) && $post->ID < 1)
47
  { return $query; } // Stop running the function if this is a virtual page
48
  //--
49
 
84
 
85
  if (is_admin())
86
  {
87
+
88
+ if ($options['adminsort'] == "1" &&
89
+ //ignore when ajax Gallery Edit default functionality
90
+ !($options['adminsort'] == "1" && defined('DOING_AJAX') && isset($_REQUEST['action']) && $_REQUEST['action'] == 'query-attachments')
91
+ )
92
+ {
93
+ $orderBy = "{$wpdb->posts}.menu_order, {$wpdb->posts}.post_date DESC";
94
+ }
95
  }
96
  else
97
  {
132
  function cpto_plugin_menu()
133
  {
134
  include (CPTPATH . '/include/options.php');
135
+ add_options_page('Post Types Order', '<img class="menu_pto" src="'. CPTURL .'/images/menu-icon.png" alt="" />Post Types Order', 'manage_options', 'cpto-options', 'cpt_plugin_options');
136
  }
137
 
138
 
458
  else
459
  {
460
  if (!is_post_type_hierarchical($post_type_name))
461
+ add_submenu_page('edit.php?post_type='.$post_type_name, __('Re-Order', 'cpt'), __('Re-Order', 'cpt'), $capability, 'order-post-types-'.$post_type_name, array(&$this, 'SortPage') );
462
  }
463
  }
464
  }
readme.txt CHANGED
@@ -3,14 +3,14 @@ Contributors: Nsp Code
3
  Donate link: http://www.nsp-code.com/donate.php
4
  Tags: post order, post type order, custom order, admin posts order
5
  Requires at least: 2.8
6
- Tested up to: 3.8
7
- Stable tag: 1.6.5
8
 
9
  Post Order and custom Post Type Objects (posts, any custom post types) using a Drag and Drop Sortable JavaScript AJAX interface.
10
 
11
  == Description ==
12
 
13
- <strong>Over 370.000 DOWNLOADS and near PERFECT ratting out of 200 REVIEWS</strong>. <br />
14
  A powerful plugin, Order Posts and Post Types Objects using a Drag and Drop Sortable JavaScript capability.
15
  It allow to reorder the posts for any custom post types you defined, including the default Posts. Also you can have the admin posts interface sorted per your new sort. Post Order has never been easier.
16
 
@@ -50,7 +50,7 @@ Feel free to contact me at electronice_delphi@yahoo.com
50
 
51
  = I have no PHP knowledge at all, i will still be able to use this plugin? =
52
 
53
- Absolutely you can! Unlike many of other plugins, you don't have to do any code changes to make your post order to change accordingly to custom defined post order. There is an option to autoupdate the WordPress queries so the posts order will be returned in the required order. Anyway this can be turned off to allow customized code usage.
54
 
55
  = What kind of posts/pages this plugin allow me to sort? =
56
 
@@ -66,6 +66,13 @@ All ideas are welcome and i put them on my list to be implemented into the new v
66
 
67
  == Change Log ==
68
 
 
 
 
 
 
 
 
69
  = 1.6.5 =
70
  - Updates/Fixes
71
  - German translation
@@ -151,6 +158,6 @@ Make sure you get the latest version.
151
 
152
  == Localization ==
153
 
154
- Available in English, Brazilian Portuguese, Spanish, Romanian, Italian, Dusth, Hebrew, German, Norwegian (norsk), Turkish (t�rk�e).
155
  Want to contribute with a translation to your language? Please contact me at electronice_delphi@yahoo.com
156
  http://www.nsp-code.com
3
  Donate link: http://www.nsp-code.com/donate.php
4
  Tags: post order, post type order, custom order, admin posts order
5
  Requires at least: 2.8
6
+ Tested up to: 3.9
7
+ Stable tag: 1.6.8
8
 
9
  Post Order and custom Post Type Objects (posts, any custom post types) using a Drag and Drop Sortable JavaScript AJAX interface.
10
 
11
  == Description ==
12
 
13
+ <strong>Over 470.000 DOWNLOADS and near PERFECT ratting out of 200 REVIEWS</strong>. <br />
14
  A powerful plugin, Order Posts and Post Types Objects using a Drag and Drop Sortable JavaScript capability.
15
  It allow to reorder the posts for any custom post types you defined, including the default Posts. Also you can have the admin posts interface sorted per your new sort. Post Order has never been easier.
16
 
50
 
51
  = I have no PHP knowledge at all, i will still be able to use this plugin? =
52
 
53
+ Absolutely you can! Unlike many other plugins, you don't have to do any code changes to make your post order to change accordingly to custom defined post order. There is an option to autoupdate the WordPress queries so the posts order will be returned in the required order. Anyway this can be turned off to allow customized code usage.
54
 
55
  = What kind of posts/pages this plugin allow me to sort? =
56
 
66
 
67
  == Change Log ==
68
 
69
+ = 1.6.8 =
70
+ - Edit Gallery - image order fix
71
+ - "re-order" menu item allow translation
72
+ - Hungarian translation - Adam Laki - http://codeguide.hu/
73
+ - Minor admin style improvments
74
+
75
+
76
  = 1.6.5 =
77
  - Updates/Fixes
78
  - German translation
158
 
159
  == Localization ==
160
 
161
+ Available in English, Brazilian Portuguese, Spanish, Romanian, Italian, Dusth, Hebrew, German, Norwegian (norsk), Turkish (t�rk�e), Hungarian.
162
  Want to contribute with a translation to your language? Please contact me at electronice_delphi@yahoo.com
163
  http://www.nsp-code.com