Timeline for How to handle a hierarchy with custom post types
Current License: CC BY-SA 2.5
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 14, 2010 at 16:13 | comment | added | Frederic L | However there is still a problem because, unless I'm missing something, I still need a WP page (with an associated template) for the landing page that will list the custom posts. Therefore, as far as I see it, my problem will still stand. Maybe I should have a look at the showcase section and see if I can find a site that has similar requirements and have a look at the URLs. | |
| Oct 14, 2010 at 15:28 | comment | added | bobdiaes | You probably want to use another custom type for product overviews. Also check out the Posts2Posts plugin, which lets you define many-to-many relationships between posts of any type. Sidenote: I didn't come up with that approach, just had that article bookmarked. | |
| Oct 14, 2010 at 12:01 | comment | added | Frederic L | Your approach works fine with Custom Post Types. However, if I want to put some pages in the mix, it will clash with the rewrite rules. I will update the question to describe this in more details... | |
| Oct 13, 2010 at 22:54 | comment | added | Frederic L | It looks like there is a typo in the code that is displayed on your page: add_filter('post_type_link', 'rating_permalink' ) , 10, 3); After removing the parenthesis, I got it to work. I'm going to investigate deeper this approach and see if it can make things work. | |
| Oct 13, 2010 at 16:34 | comment | added | Frederic L | Not sure what's going wrong but when trying your code, I just get a blank page whatever the URL of my site. Could it be that my custom taxonomy has been created using a plugin? | |
| Oct 13, 2010 at 8:16 | history | answered | bobdiaes | CC BY-SA 2.5 |