• Hi all,

    I have a blog which has a custom post type defined. I have created over 34000 posts in this post type and they’re hierarchical.

    The problem is this, when editing a page, there is an “attributes” meta box which lists all the posts in the post type so that you can create the new post as a sub post of an existing post (parent/child relationship).

    When you have 34000 posts, it tries to load all those posts in to the attributes metabox. Even with my PHP memory and WP memory set to 2046mb, it still does not load. It usually will throw a memory limit exceeded.

    There would appear to be no way for WordPress to support thousands of hierarchical posts without insane memory limits.

    Has anyone else experienced this issue? Are there any work arounds?

    Cheers,
    Matt

  • The topic ‘Cannot edit custom post type with thousands of hierarchical posts’ is closed to new replies.