Support » Fixing WordPress » Hierarchical Custom post type, unique slug

  • Here’s the problem:

    I have a hierarchical custom post, so if i read the logic correctly only slugs on the same level of the “page” tree are checked for uniqueness.

    But when i try to retrieve a single of these posts (via single-{post_type}.php) it will retrieve all posts matching the slug, regardless where in the tree it’s located.

    The nature of the content makes it difficult to avoid the same slug on different levels of the content tree..

    Any tricks to solve this problem ?

  • The topic ‘Hierarchical Custom post type, unique slug’ is closed to new replies.