Wordpress error in theme installation

Asked

Viewed 68 times

0

When I import the content of a theme in wordpress, returns this error message

Invalid post type services

How do I resolve this so that I can install theme content correctly?

  • Where part of the installation gives the error?

  • i install wordpress Importer, and when I will import the file . xml at the end returns this error

1 answer

1


Hard to know exactly what happens, but I believe that your old blog has a custom post type defined directly by the theme, and the current no, where it gives problem in the import for not finding this active CPT, try to check which part of the old template there is this code and enter in Function.php of the current template, or better yet, you can use a plugin that creates custom post types and use the same parameters as in the old template.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.