WordPress.org

Forums

[resolved] Duplicate content after database change (4 posts)

  1. christopherburton
    Member
    Posted 2 years ago #

    I am using Custom Post Type UI plugin and wanted to change one of my custom post type names. I edited the database, the backend plugin and the functions.php file to match. However, it is now showing massive duplicates (keeps loading more content in without stopping) and is also commenting out some of my other code.

    See here: http://grab.by/gze2

  2. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Site URL?

  3. christopherburton
    Member
    Posted 2 years ago #

    I JUST solved it. The issue was that I didn't create a new page template with the correct slug. That caused the new custom post type to use the index.php file.

    Solution: single-(post-type-name-here).php

  4. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Glad to note that you could solve the issue.

Topic Closed

This topic has been closed to new replies.

About this Topic