Allow multiple intersection between CPT and Taxo
Author: | Benjamin Niess (profile at wordpress.org) |
WordPress version required: | 3.1 |
WordPress version tested: | 4.7.29 |
Plugin version: | 2.1 |
Added to WordPress repository: | 30-06-2011 |
Last updated: | 07-11-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://www.beapi.fr |
Total downloads: | 2 843 |
Active installs: | 10+ |
Click to start download |
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
ChangeLog