• Resolved dados

    (@dados)


    Hi, I have strange problem.. this issues I have first time..this is explanation…

    1.) I have custom post type encyclopedia…
    2.) and have page Encyclopedia with page-template encyclopedia http://prntscr.com/2f442h with query for custom post type encyclopedia
    3.) I add permalinks to Post name .. http://prntscr.com/2f44sv
    4.) But when I open page Encyclopedia in browser.. I did not get this page.. its open archive.php and posts from custom post type encyclopedia
    5.) When I put back Default permalinks its work okay..

    Why is this happen? and how to fix this? I have 2 more custom posts .. and this pages work okay…

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

    (@dados)

    Okay.. sorry I think I found the reason why is this happen.. for all other custom posts in theme function when I crate this custom posts I add this ‘has_archive’ => false .. but for encyclopedia I add ‘has_archive’ => true .. when I change this.. the page template work great 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Page with custom post and page template open by archive’ is closed to new replies.