Support » Themes and Templates » Duplicating Custom Post Type

  • Resolved askwpcoach

    (@askwpcoach)


    Hello,

    I have registered a custom post type and for some reason on certain postings, when I view the single display from the front-end, the content duplicates (repeats) to show a second time.

    Any ideas on why the_content is duplicating and how I can fix.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter askwpcoach

    (@askwpcoach)

    Fixed – just an fyi if anyone else has this problem. The issues was due to me having 2 items with the same slug – although they were of different post types, the slugs being identical is what caused the duplication.

    But what’s the fix? I have this same problem and need to prevent the duplication of slugs in the first place.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicating Custom Post Type’ is closed to new replies.