Skip to content

Queries

The Total theme includes a related posts section for your portfolio items, staff member pages and your blog posts, this section displays more items from the same post type that are included in the same category(ies) as the current post. These queries can be altered very easily via a child theme. Have a look at…

Alter The Related Posts Query

When you are using the “Post Types Grid” module there is an option where you can select to “Filter by Taxonomy” and if enabled it will give you a field to enter the taxonomy name and another field to enter the terms. If you are new to WordPress or just not familiar with taxonomies this may be very confusing, but…

Locating Taxonomy Names & Term Slugs/ID’s

When creating dynamic templates for your posts you may want to show related items at the bottom of the post. You can easily do this with the Post Cards element. Simply go to the Query tab and select the Related by Taxonomy option like such: Once you’ve selected the “Related by Taxonomy” option you can…

Show Related Posts in Dynamic Templates

When working with the “Advanced Query” setting in various Total modules it’s possible to use certain strings to return dynamic values. The following are available: Name Value current_post Returns the current post ID current_term Returns the current term id when used on an taxonomy archive. current_author Returns the current post author id. current_user Returns the…

Using Dynamic Strings (values) in Advanced Queries

When using theme elements that display posts such as the Post Cards element, there are built-in settings for controlling the posts that are shown so you can choose how many to display, include or exclude terms, change the order, etc… If you need more complex queries, the theme offers an “Advanced” Query type which allows…

Advanced Queries
Back To Top