Filtering Posts by User-Selected Taxonomy
Normally, WordPress displays posts that belong to taxonomy in the standard Taxonomy archive pages. Views lets you display these posts in much more flexible ways and let visitors select the taxonomy to filter by. Let’s look at an example. We’ll create a site for Bands. Bands will be organized by Genres. So, the bands will […]
Displaying Brother Pages
When we are on a child page, we cannot query ‘brother’ pages directly. We need to have the parent page list its children and display them as part of the child page. Here is what we’re going to do: Create a Content Template for the parent page Display the parent Content Template in the child […]
Filtering Views Query by Taxonomy
You can filter Views Queries using taxonomy. This lets you load specific content, arranged using tags, categories and custom taxonomy. In the View Query Filter section, click on Add filter. You’ll see different filter options. Choose one of the taxonomy to get to this dialog: The taxonomy can be set by one of the following: […]
Filtering Views Query by Custom Fields
Views lets you filter query results using custom fields. This way, you can load the exact content you need, depending on custom field values. You can filter by as many custom fields as you need, filter by hard-coded values or let visitors choose filter values. On this page: Inputs reference Examples More reading 1. Inputs […]
Views Pagination – Split Content into Pages
Pagination lets you split large amounts of content into pages with previous and next controls. WordPress has built-in pagination for blog posts and comments. When you click on the older posts link, in almost any blog, you actually use pagination. Views lets you add pagination to every list. With Views, you have control over how […]
Building Custom Searches for Any Content Type
Toolset lets you build custom searches for any custom post type. Toolset custom searches can include inputs by custom fields, taxonomy, and text searches. A custom search allows visitors to find what they need. The search can include text, numbers, checkboxes, radio inputs and more. Results will have your custom design and can even appear […]
Date Filters
The Types plugin allows you to add custom fields for date and time. This enables you to add query filters to your Views and return only the posts that fall within specific dates, or dates relative to the current one. You can use this for calendar projects, displaying orders or invoices for a specific period, […]
Views – the Loop Output
Although you can create a View entirely from the dialogues in the View Edit screen, without a line of additional code, there are times when you want more control over the final output from your View. You can fully customize the appearance of your View by editing its Loop Output. Add a new View in […]
Shortcodes within Shortcodes – Control Any Shortcode with Types Fields
Types and Views allow you to write shortcodes inside of other shortcodes. This is useful when you want to use custom field values inside of other shortcodes. Types and Views will process nested shortcodes in these cases: {sc{types field}sc} – used to display data from a Types field for a post {sc{types usermeta}sc} – used […]
Views Output Formats – Bootstrap, Table, Grid, Ordered and Un-Ordered Lists
The Loop Wizard is a great tool to use to generate the markup for your View output. The wizard will let you choose the output format, set options, and add the fields and field options you want to include in your View output. To launch the wizard, scroll to the Loop Editor, and click on […]