توضیحات
Custom Post Type Permalinks allow you edit the permalink structure of custom post type.
Change custom taxonomy archive’s permalink to “example.org/post_type/taxonomy_name/term_slug”. Can disable this fix.
And support wp_get_archives( 'post_type=foo' ) and post type date archive (ex. example.com/post_type_slug/date/2010/01/01 ).
This Plugin published on GitHub.
Donation: Please send My Wishlist or Paypal
مترجمان
Japanese(ja) – Toro_Unit
French(fr_FR) – Geoffrey Crofte
Russian(ru_RU) – Olart, Natali_Z
Also checkout
Simple Post Type Permalinks
Setting on Code
مثال:
register_post_type(
Change custom taxonomy archive’s permalink to “example.org/post_type/taxonomy_name/term_slug”. Can disable this fix.
And support wp_get_archives( 'post_type=foo' ) and post type date archive (ex. example.com/post_type_slug/date/2010/01/01 ).
This Plugin published on GitHub.
Donation: Please send My Wishlist or Paypal
مترجمان
Japanese(ja) – Toro_Unit
French(fr_FR) – Geoffrey Crofte
Russian(ru_RU) – Olart, Natali_Z
Also checkout
Simple Post Type Permalinks
Setting on Code
مثال:
register_post_type(
تغییرات این نسخه
3.5.5
Tested WP 7.0
3.5.4
Tested WP 6.9
3.5.3
Tested WP 6.6
Fix notices for php 8.
3.5.0
Tested WP 6.1 / 6.2 / 6.3
Tested PHP 8.0 / 8.2
3.4.5
Update test for WP 5.7
3.4.4
WPML support: Only apply slug translation if post type is supported. (Props @ffauvel)
3.4.3
Fix archive link bug fix.
3.4.2
Tested WP 5.6.
3.4.1
Fix readme.
3.4.0
Tested 5.5 beta3
WPML support: custom post type slug translation. ( Props @strategio )
Add new filter cptp_post_link_category and cptp_post_link_term .
Use Lowercase prefix for action and filter.
3.3.5
Tested 5.4
fix CPTP_Module_Permalink::post_type_link.
3.3.1
Add disable option for date / author and post type archive.
Bug fix for parse_request.
3.2.2
Fix readme.txt
3.2.0
Support only public post type.
Add CPTP_is_rewrite_supported_by_${post_type} and CPTP_is_rewrite_supported filter.
Remove post_type query wp_get_archives.
3.1.4
Test for WordPress 4.9.
PHPCS fix.
3.1.3
Test for WordPress 4.8.
Bug fix for attachment link.
3.1.1
Bug fix in CPTP_Module_Setting::upgrader_process_complete.
3.1.0
Add filter CPTP_date_front.
Fix sort term by wp_list_sort .
3.0.0
Admin notice on update plugin.
Large bug fix.
no_taxonomy_structure bug fix.
Add default value for options.
2.2.0
add CPTP_Util::get_no_taxonomy_structure.
2.1.3
Set no_taxonomy_structure default true.
2.1.2
rewirte => false post type support.
2.1.0
Create rewrite rule on registered_post_type and registered_taxonomy action.
Not create
Tested WP 7.0
3.5.4
Tested WP 6.9
3.5.3
Tested WP 6.6
Fix notices for php 8.
3.5.0
Tested WP 6.1 / 6.2 / 6.3
Tested PHP 8.0 / 8.2
3.4.5
Update test for WP 5.7
3.4.4
WPML support: Only apply slug translation if post type is supported. (Props @ffauvel)
3.4.3
Fix archive link bug fix.
3.4.2
Tested WP 5.6.
3.4.1
Fix readme.
3.4.0
Tested 5.5 beta3
WPML support: custom post type slug translation. ( Props @strategio )
Add new filter cptp_post_link_category and cptp_post_link_term .
Use Lowercase prefix for action and filter.
3.3.5
Tested 5.4
fix CPTP_Module_Permalink::post_type_link.
3.3.1
Add disable option for date / author and post type archive.
Bug fix for parse_request.
3.2.2
Fix readme.txt
3.2.0
Support only public post type.
Add CPTP_is_rewrite_supported_by_${post_type} and CPTP_is_rewrite_supported filter.
Remove post_type query wp_get_archives.
3.1.4
Test for WordPress 4.9.
PHPCS fix.
3.1.3
Test for WordPress 4.8.
Bug fix for attachment link.
3.1.1
Bug fix in CPTP_Module_Setting::upgrader_process_complete.
3.1.0
Add filter CPTP_date_front.
Fix sort term by wp_list_sort .
3.0.0
Admin notice on update plugin.
Large bug fix.
no_taxonomy_structure bug fix.
Add default value for options.
2.2.0
add CPTP_Util::get_no_taxonomy_structure.
2.1.3
Set no_taxonomy_structure default true.
2.1.2
rewirte => false post type support.
2.1.0
Create rewrite rule on registered_post_type and registered_taxonomy action.
Not create