Forums › Forums › Search & Filter Pro › Error: The `has_archive`
- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by
Trevor.
-
Anonymous(Private) September 7, 2017 at 7:13 pm #129840
Sorry, I found the option in my plugin of creation custom post.
Now I have all the conditions ok:
Post type Archive:
2.- Ensure that under the General tab, that you have selected only one Post Type for your search form – this will be the archive that is used. –> OK
3.- If creating your own Custom Post Type, also ensure that your Post Type hashas_archiveenabled. –> OKBut, when I submit the search form, the result is not in a post type archive (Archive Template), the result is a list but with the single template…
How can I do to list the results in the same format like post type archive template?Thanks.
Trevor(Private) September 8, 2017 at 12:36 pm #130013Those two shortcodes are alternatives for the same form. I do not understand why you put both on the same page? It should be one or the other, not both.
It will not stay on the page because you selected that option I mentioned, because that will re-direct to the category page.
-
AuthorPosts