WordPress.org

Ready to get started?Download WordPress

Forums

Convert Post Types
[resolved] Pages are not converting (4 posts)

  1. Rein Aris
    Member
    Posted 3 years ago #

    When i try to convert pages into a custom post type the plugin says it's done but in reality nothing happend.
    It's working fine with posts, but not with pages..

    Anyone same problem?

  2. Stephanie Leary
    Member
    Plugin Author

    Posted 3 years ago #

    I can reproduce the problem in some situations, and I'm looking into how to fix it. It's more complicated than it first appeared.

  3. Stephanie Leary
    Member
    Plugin Author

    Posted 3 years ago #

    This turned out to be a bug in WordPress itself. It's fixed in 3.1, and I can convert pages to custom post types in RC2 if my call to register_post_type() is modified to include the new arguments in 3.1:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    With the revised plugin to define the course post type, the conversion process works as expected for pages.

  4. pokes
    Member
    Posted 3 years ago #

    Could you advise the current situation for those of us wanting to mass-convert Pages to a Custom Post Type then please? Wait for 3.1 or is there some way to do this now?

    (Presumably not a great idea to upgrade to the RC on a live site and even then is there a version of your plugin that would work (unfortunately your code has been moderated)).

    Thanks for your time.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic