最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

taxonomy - How to automatically create a terms based on each post of a post type

programmeradmin2浏览0评论

I am working on a music site which has custom post types- artists, and releases. I have about 3,000 artists, and about 19,000 releases in my database. I'd like to create a new taxonomy term for each of these post types.

I have created a taxonomy called artists. I'd like to have each post of post_type -> 'artist' become a term in the taxonomy, automatically.

I'd then like to do the same with releases.

Anyone have any ideas?

Thanks!

发布评论

评论列表(0)

  1. 暂无评论