• Resolved antonop4u

    (@antonop4u)


    Hi I’m having a strange problem, in a project I’m working on I’ve created almost 50 custom pages for specific pages (and they all work).
    I just added two more pages and strangely they render the archive-page.
    The procedure I’m using is always the same:
    In the WordPress admin panel, I create the page giving a specific name and “slug”,
    then in my theme folder (same place as the other working pages), I create a document called page-slug.php, and inside I code the content of that custom page.
    In the past, I had a similar problem and it was enough to resave the permalinks one or more times, and the problem went away. This time it persists.
    Does Anyone have any Idea Why?

Viewing 1 replies (of 1 total)
  • Thread Starter antonop4u

    (@antonop4u)

    Problem solved.
    In case someone will have a similar problem, It was my mistake, I gave to the two pages the exact same slug of two custom post types names.
    I changed the slugs and now everything is fine.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom page for a specific page returns the archive page’ is closed to new replies.