admin管理员组文章数量:1335623
Our existing corporate site was developed by a 3rd party vendor. I am in the process of creating a new version of our site, in a new WP instance. I need to export the 'News' articles, from the current site, to the new DEV site. My issue is I cannot find, on the current site, where the 'News' custom post type was created/configured. When I click on 'News', in the current site, the post type URL displays as: post_type=recent-news. And, when importing into the new DEV site, I receive this error: 'Invalid post type recent-news'.
- Does the import custom post type plugin need to be the same as the export custom post type plugin?
I'm using CPT UI on the DEV site, and the only custom post type plugin I can find on the current site is Toolset. but, in the Toolset settings, the only post types that display are OOTB post types of: Media, Pages, and Posts. there is no reference to either 'News' or 'recent-news'.
- I've tried creating a new custom post type, on DEV, using CPT UI, but I cannot figure out how to specify the post type as 'recent-news', in order to match what is being imported. CPT UI always converts a dash '-' to an underscore '_'?
Am I missing something, or did the 3rd party developer hard code a 'News'/'recent-news' post type somewhere else?
I'm not a true 'developer', I'm more of a front-end guy, so I'm racking my brain trying to figure this out.
本文标签: 39Invalid post type39 error when importing from one site to another
版权声明:本文标题:'Invalid post type' error when importing from one site to another 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742391850a2466145.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论