Mô tả
Allow to create intersections between a post type and a taxonomy with url such as :
mywebsite.com/mypost-type/mytaxo/my-term
Allow to use template files such as :
archive-posttype-taxo-term.php
archive-posttype-taxo.php
archive-posttype.php
archive.php
index.php
Contain a widget that list all terms of a specific taxonomy linked to a post type
Usage
Parameters :
$post_type (string) : The slug of your post type
$taxonomy (string) : The slug of your post taxonomy
$term (string) : The taxonomy term
or get_the_intersection_link( $post_type, $taxonomy, $term ); ?> (if you don’t want the function to echo the link)
Example : <a href="Go to my page
Cài đặt
- Upload and activate the plugin
- Update permalink on the admin panel (VERY IMPORTANT)
- Go the the widget area if you want to add the widget
- You can use the function described on the Usage section if you want to create a link to the archive view
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Post types / taxonomies intersections” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Post types / taxonomies intersections” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
- 2.1
- Coding standards review
- Added extra security sanitizing checks
- Tested up to 4.7
- 2.0.1
- Fix php tag in default tpl
- 2.0
- Code refactoring
- Use MVC modele. Allow to use custom template in theme
- 1.0
- First release