PluginProbe ʕ •ᴥ•ʔ
Custom Post Type Permalinks / 3.5.3
Custom Post Type Permalinks v3.5.3
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
.github 1 year ago CPTP 1 year ago assets 5 years ago language 5 years ago .distignore 5 years ago .phpcs.xml.dist 2 years ago CONTRIBUTING.md 9 years ago CPTP.php 5 years ago LICENSE 9 years ago custom-post-type-permalinks.php 1 year ago readme.txt 1 year ago screenshot-1.png 5 years ago
readme.txt
403 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: 6.1
7 Tested up to: 6.6
8 Requires PHP: 7.4
9 License: GPLv2 or Later
10 License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11 Stable tag: 3.5.3
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.5.3 =
87 * Tested WP 6.6
88 * Fix notices for php 8.
89
90 = 3.5.0 =
91 * Tested WP 6.1 / 6.2 / 6.3
92 * Tested PHP 8.0 / 8.2
93
94 = 3.4.5 =
95 * Update test for WP 5.7
96
97 = 3.4.4 =
98 * WPML support: Only apply slug translation if post type is supported. (Props @ffauvel)
99
100 = 3.4.3 =
101 * Fix archive link bug fix.
102
103 = 3.4.2 =
104 * Tested WP 5.6.
105
106 = 3.4.1 =
107 * Fix readme.
108
109 = 3.4.0 =
110
111 * Tested 5.5 beta3
112 * WPML support: custom post type slug translation. ( Props @strategio )
113 * Add new filter `cptp_post_link_category` and `cptp_post_link_term` .
114 * Use Lowercase prefix for action and filter.
115
116 = 3.3.5 =
117
118 * Tested 5.4
119 * fix CPTP_Module_Permalink::post_type_link.
120
121 = 3.3.1 =
122
123 * Add disable option for date / author and post type archive.
124 * Bug fix for `parse_request`.
125
126 = 3.2.2 =
127
128 * Fix readme.txt
129
130 = 3.2.0 =
131
132 * Support only public post type.
133 * Add `CPTP_is_rewrite_supported_by_${post_type}` and `CPTP_is_rewrite_supported` filter.
134 * Remove post_type query wp_get_archives.
135
136 = 3.1.4 =
137
138 * Test for WordPress 4.9.
139 * PHPCS fix.
140
141 = 3.1.3 =
142
143 * Test for WordPress 4.8.
144 * Bug fix for attachment link.
145
146 = 3.1.1 =
147
148 * Bug fix in `CPTP_Module_Setting::upgrader_process_complete`.
149
150 = 3.1.0 =
151
152 * Add filter `CPTP_date_front`.
153 * Fix sort term by `wp_list_sort` .
154
155 = 3.0.0 =
156
157 * Admin notice on update plugin.
158 * Large bug fix.
159 * no_taxonomy_structure bug fix.
160 * Add default value for options.
161
162 = 2.2.0 =
163
164 * add `CPTP_Util::get_no_taxonomy_structure`.
165
166 = 2.1.3 =
167
168 * Set `no_taxonomy_structure` default `true`.
169
170 = 2.1.2 =
171
172 * `rewirte => false` post type support.
173
174 = 2.1.0 =
175
176 * Create rewrite rule on `registered_post_type` and `registered_taxonomy` action.
177 * Not create taxonomy rewrite rule when `rewrite` is `false`.
178
179 = 2.0.2 =
180
181 * pointer html bug fix.
182
183 = 2.0.0 =
184
185 * `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)
186 * Replace `wp_get_post_terms` by `get_the_terms`. [fix issue #55](https://github.com/torounit/custom-post-type-permalinks/issues/55)
187 * Fix bug `register_uninstall_hook` called twice on each page. [fix issue #56](https://github.com/torounit/custom-post-type-permalinks/issues/56)
188
189 = 1.5.4 =
190
191 * Fixed removed parent post problem.
192
193
194 = 1.5.3 =
195
196 * readme fix.
197
198 = 1.5.0 =
199
200 * Tested for 4.5.
201 * Add filter `CPTP_set_{$module_name}_module`.
202
203
204 = 1.4.0 =
205
206 * Fix Translation Problem.
207
208
209 = 1.3.1 =
210
211 * bugfix `wp_get_archives`.
212
213 = 1.3.0 =
214
215 * bugfix for polylang.
216
217 = 1.2.0 =
218
219 * Add filter `cptp_post_type_link_priority`, `cptp_term_link_priority`, `cptp_attachment_link_priority`.
220 * Add action `CPTP_registered_modules`.
221
222 = 1.1.0 =
223
224 * WPML Test. thanks [keita_kobayashi](https://profiles.wordpress.org/keita_kobayashi) !
225
226 = 1.0.5 =
227
228 * admin bug fix. thanks [ixkaito](https://profiles.wordpress.org/ixkaito) !
229 * Translation Update Thanks [Natali_Z](https://profiles.wordpress.org/natali_z) !
230
231 = 1.0.4 =
232
233 * option bug fix.
234
235 = 1.0.3 =
236
237 * add category rule, if only attached category to post type.
238
239 = 1.0.2 =
240
241 * category slug bug fix.
242
243 = 1.0.0 =
244
245 * Set Permalink enable `register_post_type`.
246 * Enable add post type query to taxonomy archives.
247 * Use Class Autoloader.
248 * Create Rewrite Rule on `wp_loaded` action.
249 * WordPress Code Format Fix.
250 * `CPTP_Module_Permalink` Bug Fix.
251 * Bug Fix.
252 * Use Semantic Versioning.
253 * Date Structure Fix.
254 * Use Category Base.
255
256 = 0.9.7 =
257
258 * Adding date slug only conflicting `%post_id%`.
259 * Change taxonomy link rewrite rule. Use `post_type`.
260 * Can change template include custom taxonomy.
261
262 = 0.9.6 =
263
264 * Category and author.
265 * French Transration. Thanks Geoffrey!
266 * Hierarchial Term Fix.
267
268 = 0.9.5.6 =
269
270 * Strict Standard Error Fix.
271
272 = 0.9.5.4 =
273
274 * archive link bug fix.
275 * Tested Up 3.9
276
277 = 0.9.5.3 =
278
279 * “/”bug fix.
280 * taxonomy tmplate bug fix.
281
282 = 0.9.5.2 =
283
284 * Archives Rewrite Fix.
285
286 = 0.9.5.1 =
287
288 * Admin Bug Fix.
289
290 = 0.9.5 =
291
292 * Big change plugin architecture.
293 * Show `has_archive`, `with_front`.
294
295 = 0.9.4 =
296
297 * Internal release.
298
299 = 0.9.3.3 =
300
301 * `has_archive` Bug Fix.
302 * Fixed a bug in the link, including the extension.
303
304 = 0.9.3.2 =
305
306 * `wp_get_archives` Bug Fix.
307
308 = 0.9.3.1 =
309
310 * Tested 3.6
311 * Bug Fix.
312
313
314 = 0.9.3 =
315
316 * Admin page fix.
317 * slngle pageing link fix.
318 * Add Russian translation.
319
320
321 = 0.9 =
322
323 * Add custom post type archive only `has_archive` is `true`.
324 * Change method name.
325 * Change hook custom post link.
326 * Use Slug in `wp_get_archive()`.
327 * Fix attachment link.
328
329
330 = 0.8.7 =
331
332 * Translate Bug Fix.
333
334 = 0.8.6 =
335
336 * Paging Bug Fix.
337 * Commnent Paging.
338 * Show pointer.
339 *
340
341 = 0.8.1 =
342
343 * Bug Fix.
344
345 = 0.7.9.1 =
346
347 * Support Comment permalink.
348 * Small change in setting page.
349 * Change default value.
350 * Bug Fix.
351
352 = 0.7.8 =
353
354 * Bug fix.
355
356
357 = 0.7.7 =
358
359 * Bug fix.
360
361 = 0.7.6 =
362
363 * Add parent's slug to hierarchical post type.
364
365
366 = 0.7.5 =
367
368 * Add ability to disable to change custom taxonomy archive's permalink.
369
370
371 = 0.7.4 =
372
373 * Bug fix taxonomy rewrite.
374
375
376 = 0.7.3 =
377
378 * Changed part for saving the data.
379
380 = 0.7.2 =
381
382 * Reweite bug fix.
383 * Prewview bug fix.
384
385 = 0.7.1 =
386
387 * Bug fix.
388
389 = 0.7 =
390
391 * Add `%{taxonomy}%` tag.
392 * A large number of Bug Fix.
393 * Change Setting Page. Use Setting API.
394
395
396 = 0.6.2 =
397
398 * Fix `%author%` tag.
399
400 = 0.6 =
401
402 * First release on wordpress.org
403