Hi, i wish use the theme archive style and theme content template in toolset custom archive . How can i do?
Dear alessandrot,
Could you describe the question with more details?
Are you going to apply the same Views wordpress archive to different archive page of post types or taxonomy?
If it is, you can create/edit a wordpress archive with Views plugin, in section "Loops Selection", choose the post types and custom taxonomies you want, see our document:
WordPress Archive – Customizing the Appearance of Archive Pages
https://toolset.com/documentation/user-guides/normal-vs-archive-views/
Screenshot:
hidden link
Hi Luo Yang! thanks for your support!
My problem is this:
I wish display ,in my home/blog page , "posts" and custom post type "Events" sort by custom field "start-date" and filter by "date >= today" .
I think that the best way to do this is to create a "custom Archive" and set it as home/blog.
If i create a "custom Archive " can i use the same style of my "theme home/blog" page whitout using html & css code? i 'm not practice with code..
if is not possible , there is another way to solve my problem?
Thank you very much!
The query of wordpress archive page is defined by wordpress itself, Views can not modify it, I suggest you create a view list "Events" posts, sort by custom field "start-date", and filter by "date >= today":
https://toolset.com/documentation/user-guides/date-filters/
Then put it into a page, use this page as your wordpress home page.
If you need to render it with PHP codes, please try Views function render_view():
https://toolset.com/documentation/user-guides/views-api/
Hope it help