plugin-icon

Post types / taxonomies intersections

מאת benjaminniess·
Allow to create intersections between a post type and a taxonomy with url such as :
גרסה
2.1
התקנות פעילות
10
עודכן לאחרונה
Nov 7, 2016

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

חינםבתוכנית Business
בביצוע ההתקנה, אנחנו מקבלים את הסכמתך לתנאי השירות של WordPress.com ולתנאים של התוסף של הצד השלישי.
נבדקו עד
WordPress 4.7.31
תוסף זה זמין להורדה ולשימוש דרך שברשותך.