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