Custom Selection Template
Advanced Views automatically generates a default template for any Post Selection. It includes the loop to display the query results and may include a "No posts found" conditional message or pagination elements, depending on the Post Selection settings.
Post Selection templates support arbitrary logic, allowing you to perform operations such as formatting output or calling any WordPress function directly within the template.
1. How to customize Post Selection template
Go to Edit your Post Selection.
Switch to the Template tab.
Select the Default Template code and copy it.
Paste the code in the Custom Template field.
Edit the markup as needed.
Click on Update to save your Post Selection.
Last updated