PluginProbe ʕ •ᴥ•ʔ
Custom Post Type Permalinks / 3.4.1
Custom Post Type Permalinks v3.4.1
1.2.0 1.3.0 1.3.1 1.4.0 1.5.1 1.5.2 1.5.4 2.0.0 2.0.1 2.0.2 2.1.1 2.1.2 2.1.3 2.2.0 3.0.0 3.0.1 3.1.0 3.1.1 3.1.3 3.1.4 3.1.5 3.2.0 3.2.1 3.2.2 3.3.0 3.3.1 3.3.4 3.3.5 3.4.0 3.4.0-rc.1 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.5.2 3.5.3 3.5.4 3.5.5 trunk 0.6 0.6.1 0.6.2 0.7 0.7.1 0.7.10 0.7.2 0.7.2.1 0.7.3 0.7.3.1 0.7.4 0.7.4.1 0.7.5 0.7.5.1 0.7.5.2 0.7.5.6 0.7.6 0.7.8 0.7.9 0.7.9.1 0.7.9.2 0.8 0.8.1 0.8.6 0.8.7 0.8.7.1 0.8.7.5 0.8.7.6 0.9 0.9.1 0.9.2.1 0.9.3.1 0.9.3.2 0.9.3.3 0.9.5 0.9.5.1 0.9.5.2 0.9.5.3 0.9.5.4 0.9.5.6 0.9.6 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0
custom-post-type-permalinks / readme.txt
custom-post-type-permalinks Last commit date
CPTP 5 years ago assets 5 years ago language 5 years ago .distignore 5 years ago .phpcs.xml.dist 5 years ago CONTRIBUTING.md 9 years ago CPTP.php 5 years ago LICENSE 9 years ago custom-post-type-permalinks.php 5 years ago readme.txt 5 years ago screenshot-1.png 5 years ago
readme.txt
383 lines
1 === Custom Post Type Permalinks ===
2
3 Contributors: Toro_Unit, inc2734, ixkaito, keita_kobayashi, strategio
4 Donate link: https://www.paypal.me/torounit
5 Tags: permalink, url, link, address, custom post type
6 Requires at least: 4.7
7 Tested up to: 5.5
8 Requires PHP: 5.6
9 License: GPLv2 or Later
10 License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11 Stable tag: 3.4.1
12
13
14 Edit the permalink of custom post type.
15
16
17
18 == Description ==
19
20 Custom Post Type Permalinks allow you edit the permalink structure of custom post type.
21
22 Change custom taxonomy archive's permalink to "example.org/post_type/taxonomy_name/term_slug". Can disable this fix.
23
24 And support `wp_get_archives( 'post_type=foo' )` and post type date archive (ex. `example.com/post_type_slug/date/2010/01/01` ).
25
26 [This Plugin published on GitHub.](https://github.com/torounit/custom-post-type-permalinks)
27
28 Donation: Please send [My Wishlist](http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV) or [Paypal](https://www.paypal.me/torounit)
29
30
31 = Translators =
32
33 * Japanese(ja) - [Toro_Unit](http://www.torounit.com/)
34 * French(fr_FR) - [Geoffrey Crofte](http://geoffrey.crofte.fr/)
35 * Russian(ru_RU) - [Olart](http://olart.ru), [Natali_Z](https://profiles.wordpress.org/natali_z)
36
37 = Also checkout =
38
39 * [Simple Post Type Permalinks](https://wordpress.org/plugins/simple-post-type-permalinks/)
40
41
42 == Setting on Code ==
43
44 Example:
45
46 <pre>register_post_type( 'foo',
47 array(
48 'public' => true,
49 'has_archive' => true,
50 'rewrite' => array(
51 "with_front" => true
52 ),
53 'cptp_permalink_structure' => '%post_id%'
54 )
55 );</pre>
56
57 = Exclude specific post type =
58
59 <pre>add_filter( 'cptp_is_rewrite_supported_by_foo', '__return_false' );
60
61 // or
62
63 add_filter( 'cptp_is_rewrite_supported', function ( $support , $post_type ) {
64 if ( 'foo' === $post_type ) {
65 return false;
66 }
67 return $support;
68 }, 10, 2);</pre>
69
70 == Installation ==
71
72 * Download the custom-post-type-permalinks.zip file to your computer.
73 * Unzip the file.
74 * Upload the `custom-post-type-permalinks` directory to your `/wp-content/plugins/` directory.
75 * Activate the plugin through the 'Plugins' menu in WordPress.
76
77 That's it. You can access the permalinks setting by going to *Settings -> Permalinks*.
78
79
80 == Screenshots ==
81
82 * screenshot-1.png
83
84 == Changelog ==
85
86 = 3.4.1 =
87 * Fix readme.
88
89 = 3.4.0 =
90
91 * Tested 5.5 beta3
92 * WPML support: custom post type slug translation. ( Props @strategio )
93 * Add new filter `cptp_post_link_category` and `cptp_post_link_term` .
94 * Use Lowercase prefix for action and filter.
95
96 = 3.3.5 =
97
98 * Tested 5.4
99 * fix CPTP_Module_Permalink::post_type_link.
100
101 = 3.3.1 =
102
103 * Add disable option for date / author and post type archive.
104 * Bug fix for `parse_request`.
105
106 = 3.2.2 =
107
108 * Fix readme.txt
109
110 = 3.2.0 =
111
112 * Support only public post type.
113 * Add `CPTP_is_rewrite_supported_by_${post_type}` and `CPTP_is_rewrite_supported` filter.
114 * Remove post_type query wp_get_archives.
115
116 = 3.1.4 =
117
118 * Test for WordPress 4.9.
119 * PHPCS fix.
120
121 = 3.1.3 =
122
123 * Test for WordPress 4.8.
124 * Bug fix for attachment link.
125
126 = 3.1.1 =
127
128 * Bug fix in `CPTP_Module_Setting::upgrader_process_complete`.
129
130 = 3.1.0 =
131
132 * Add filter `CPTP_date_front`.
133 * Fix sort term by `wp_list_sort` .
134
135 = 3.0.0 =
136
137 * Admin notice on update plugin.
138 * Large bug fix.
139 * no_taxonomy_structure bug fix.
140 * Add default value for options.
141
142 = 2.2.0 =
143
144 * add `CPTP_Util::get_no_taxonomy_structure`.
145
146 = 2.1.3 =
147
148 * Set `no_taxonomy_structure` default `true`.
149
150 = 2.1.2 =
151
152 * `rewirte => false` post type support.
153
154 = 2.1.0 =
155
156 * Create rewrite rule on `registered_post_type` and `registered_taxonomy` action.
157 * Not create taxonomy rewrite rule when `rewrite` is `false`.
158
159 = 2.0.2 =
160
161 * pointer html bug fix.
162
163 = 2.0.0 =
164
165 * `add_rewrite_rules` on `wp_loaded` priority is changed 10 from 100. [fix issue #53](https://github.com/torounit/custom-post-type-permalinks/issues/53)
166 * Replace `wp_get_post_terms` by `get_the_terms`. [fix issue #55](https://github.com/torounit/custom-post-type-permalinks/issues/55)
167 * Fix bug `register_uninstall_hook` called twice on each page. [fix issue #56](https://github.com/torounit/custom-post-type-permalinks/issues/56)
168
169 = 1.5.4 =
170
171 * Fixed removed parent post problem.
172
173
174 = 1.5.3 =
175
176 * readme fix.
177
178 = 1.5.0 =
179
180 * Tested for 4.5.
181 * Add filter `CPTP_set_{$module_name}_module`.
182
183
184 = 1.4.0 =
185
186 * Fix Translation Problem.
187
188
189 = 1.3.1 =
190
191 * bugfix `wp_get_archives`.
192
193 = 1.3.0 =
194
195 * bugfix for polylang.
196
197 = 1.2.0 =
198
199 * Add filter `cptp_post_type_link_priority`, `cptp_term_link_priority`, `cptp_attachment_link_priority`.
200 * Add action `CPTP_registered_modules`.
201
202 = 1.1.0 =
203
204 * WPML Test. thanks [keita_kobayashi](https://profiles.wordpress.org/keita_kobayashi) !
205
206 = 1.0.5 =
207
208 * admin bug fix. thanks [ixkaito](https://profiles.wordpress.org/ixkaito) !
209 * Translation Update Thanks [Natali_Z](https://profiles.wordpress.org/natali_z) !
210
211 = 1.0.4 =
212
213 * option bug fix.
214
215 = 1.0.3 =
216
217 * add category rule, if only attached category to post type.
218
219 = 1.0.2 =
220
221 * category slug bug fix.
222
223 = 1.0.0 =
224
225 * Set Permalink enable `register_post_type`.
226 * Enable add post type query to taxonomy archives.
227 * Use Class Autoloader.
228 * Create Rewrite Rule on `wp_loaded` action.
229 * WordPress Code Format Fix.
230 * `CPTP_Module_Permalink` Bug Fix.
231 * Bug Fix.
232 * Use Semantic Versioning.
233 * Date Structure Fix.
234 * Use Category Base.
235
236 = 0.9.7 =
237
238 * Adding date slug only conflicting `%post_id%`.
239 * Change taxonomy link rewrite rule. Use `post_type`.
240 * Can change template include custom taxonomy.
241
242 = 0.9.6 =
243
244 * Category and author.
245 * French Transration. Thanks Geoffrey!
246 * Hierarchial Term Fix.
247
248 = 0.9.5.6 =
249
250 * Strict Standard Error Fix.
251
252 = 0.9.5.4 =
253
254 * archive link bug fix.
255 * Tested Up 3.9
256
257 = 0.9.5.3 =
258
259 * “/”bug fix.
260 * taxonomy tmplate bug fix.
261
262 = 0.9.5.2 =
263
264 * Archives Rewrite Fix.
265
266 = 0.9.5.1 =
267
268 * Admin Bug Fix.
269
270 = 0.9.5 =
271
272 * Big change plugin architecture.
273 * Show `has_archive`, `with_front`.
274
275 = 0.9.4 =
276
277 * Internal release.
278
279 = 0.9.3.3 =
280
281 * `has_archive` Bug Fix.
282 * Fixed a bug in the link, including the extension.
283
284 = 0.9.3.2 =
285
286 * `wp_get_archives` Bug Fix.
287
288 = 0.9.3.1 =
289
290 * Tested 3.6
291 * Bug Fix.
292
293
294 = 0.9.3 =
295
296 * Admin page fix.
297 * slngle pageing link fix.
298 * Add Russian translation.
299
300
301 = 0.9 =
302
303 * Add custom post type archive only `has_archive` is `true`.
304 * Change method name.
305 * Change hook custom post link.
306 * Use Slug in `wp_get_archive()`.
307 * Fix attachment link.
308
309
310 = 0.8.7 =
311
312 * Translate Bug Fix.
313
314 = 0.8.6 =
315
316 * Paging Bug Fix.
317 * Commnent Paging.
318 * Show pointer.
319 *
320
321 = 0.8.1 =
322
323 * Bug Fix.
324
325 = 0.7.9.1 =
326
327 * Support Comment permalink.
328 * Small change in setting page.
329 * Change default value.
330 * Bug Fix.
331
332 = 0.7.8 =
333
334 * Bug fix.
335
336
337 = 0.7.7 =
338
339 * Bug fix.
340
341 = 0.7.6 =
342
343 * Add parent's slug to hierarchical post type.
344
345
346 = 0.7.5 =
347
348 * Add ability to disable to change custom taxonomy archive's permalink.
349
350
351 = 0.7.4 =
352
353 * Bug fix taxonomy rewrite.
354
355
356 = 0.7.3 =
357
358 * Changed part for saving the data.
359
360 = 0.7.2 =
361
362 * Reweite bug fix.
363 * Prewview bug fix.
364
365 = 0.7.1 =
366
367 * Bug fix.
368
369 = 0.7 =
370
371 * Add `%{taxonomy}%` tag.
372 * A large number of Bug Fix.
373 * Change Setting Page. Use Setting API.
374
375
376 = 0.6.2 =
377
378 * Fix `%author%` tag.
379
380 = 0.6 =
381
382 * First release on wordpress.org
383