admin管理员组文章数量:1291122
I could use some guidance in something where I may have developed myself into a corner. Here is the situation I have:
- CPT: Communities
- CPT: Innovators
- CPT: Success Stories
Any Innovator or Success story needs to be tied to a Community. I've attempted to do this through a ACF Bidirectional relationship field. I did this instead of a taxonomy because I didn't want them to have to manage a community taxonomy and a community post type every time a new one was added. It also makes listing associated innovators and success stories on a community page relatively simple. The problem is now that I am doing it that way, I can't use the archive system.
What I need to be able to do is list the communities, and have them link to a list of their associated innovators or success stories depending on the intent. Ideally the titles of these listing pages can be dynamic as well. There is an old plugin called CPT-onomies that converts a CPT into a taxonomy for another but I am hesitant to use it since it has been 2 years from last update. Is there an elegant and dynamic solution to this or should I just make taxonomies?
For a visual representation, here is the design. Slides 4 and 5 are good example.
Many thanks.
本文标签: custom post typesCreating archive like functionality through birectional relationships
版权声明:本文标题:custom post types - Creating archive like functionality through birectional relationships 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741512456a2382683.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论