這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Post types / taxonomies intersections

描述

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

安裝

  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

評價

There are no reviews for this plugin.

貢獻者及開發者

“Post types / taxonomies intersections” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

  • 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