Last updated
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.
By copying the Default Template into the Custom Template field, you are getting complete control over the markup.
Both Default Template and Custom Template fields are smart templates that use one of the built-in template engines.
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.
If you have made changes to your Post Selection, remember to click Update to ensure that you have the latest template before editing.
Last updated