Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Post types / taxonomies intersections

Allow multiple intersection between CPT and Taxo

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

Author Benjamin Niess
Profile
Contributors benjaminniess, momo360modena
Tags CPT, custom, intersection, Post, rewrite, template, type, widget
  1. Upload and activate the plugin
  2. Update permalink on the admin panel (VERY IMPORTANT)
  3. Go the the widget area if you want to add the widget
  4. You can use the function described on the Usage section if you want to create a link to the archive view
  • 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

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 : Go to my page

Share  
Download
Version 2.1

Requires WordPress version: 3.1 or higher

Compatible up to: 4.7.2

Last Updated 07 Nov 2016

Date Added: 30 Jun 2011

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
1,459 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0