Displaying Posts in the Classic editor
Using Post Selections from Advanced Views, you can easily master advanced post queries and display Posts, Products, or any CPT items in the Classic editor.
1. Create a Post Layout
Before mastering a query, we need to create a Layout for a single item, which will be used to render all found Posts in the loop. Inside the Smart Layout Template, you can display any kind of fields, add conditional logic, or merge field values.
Advanced Views natively supports fields from multiple providers:
WordPress fields (like page title, excerpt, user name, etc)
Advanced Custom Fields (any field type)
MetaBox fields (any field type)
Pods fields (any field type)
WooCommerce Product fields (like price, SKU, height, etc)
To display other fields made by your theme or plugins, just customize the default Layout template.
Add target fields in the Fields tab
Save the Layout
After saving, Advanced Views automatically creates the starting template. You can change the default field appearance by customizing the Layout template.
2. Create a Post Selection
Post Selection is built on top of WordPress's native WP_Query and provides a user-friendly interface for its most commonly used arguments.
This eliminates the need to learn the extensive WP_Query Docs for everyday use, while still allowing you to inject custom query arguments directly for advanced or uncommon scenarios.
Create a Post Selection
Define the Item Layout: choose the Post Layout from the first step
Define the post filters; optionally add Taxonomy and Meta filters
Save the Post Selection and copy its embedding shortcode
Inside the Post Selection, you can also add custom styling or enable post pagination.
3. Embed Post Selection
In Advanced Views, Post Selections are embedded using native WordPress shortcodes, which you can paste in any place in the Classic editor:

Edit the target page or post
Paste the Post Selection shortcode in any place
Save the page and visit it to see the result
Last updated