• Resolved ioclaudio

    (@ioclaudio)


    Hi,

    I have a site with some custom post types that work well for all content types except the one called “Persona.”

    The issue is that a page on my WordPress site doesn’t display the associated template and instead uses the default template “archive.php.”

    Here are the details: on this site, I have several WordPress pages (for example, “Persone”) that are intended to display the archive of a custom post type (in this case, the post type “Person”). The “Persone” page should display all the “Person” posts because I have assigned the template “page-templates/persone.php” to the page. Here’s a screenshot of the page definition: https://ibb.co/199W2s6.

    However, when I view the “Persone” page, the template “page-templates/persone.php” is not used, and WordPress falls back to “archive.php.”

    This issue only occurs with this specific post type. The others, implemented in the same way, work correctly.

    How can I debug this issue?

    Thank you for your suggestions.

    Claudio B.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.