>
Download This Plugin | |
Download Elegant Themes | |
Name | PKJ Any Parent Type |
Version | 0.0.3 |
Author | Petter Kjelkenes |
Rating | 0 |
Last updated | 2014-08-07 06:28:00 |
Downloads |
36
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
PKJ Any Parent Type plugin added 14 bytes of resources to the Home page and 18 bytes of resources to the sample Post page.
PKJ Any Parent Type plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! PKJ Any Parent Type plugin ads no tables to your Wordpress blog database.The PKJ Any Parent Type plugin lets you customize what parent post types that are allowed for each custom post type. This makes it possible to have one-to-many relationship between custom post types and not just itself.
Lets say you have two custom post-types:
The Person CPT contains, well, a person. Each person can have many Activity. This is not possible using vanilla wordpress without many hacks, this plugins helps you do this easily! Just configure it in the plugins options page that "The Activity type can have Parent as Person", and the "Person can have parent as "Page".
Now we create a post of type Page named "Persons".
We create a post type of "Person" titled "Peter" and set the parent page to "Persons".
We create a post type of "Activity" named "Ran two miles" and set the parent person to "Peter".
Now you have great urls:
Features: