Advanced Views Docs
Live PlaygroundDownload PluginGet PRO
  • πŸ’‘Help Centre
  • ⚑Getting Started
    • Introduction
      • Key Aspects
      • Creating Your First View
      • Creating Your First Card
      • Plugin Terms
      • Plugin Interface
        • Field Options
    • Installation
      • Advanced Views Lite
      • Advanced Views Pro
      • Comparison Table
      • Upgrading from Lite to Pro
    • Supported data vendors
    • Starter theme
  • 🌟Display Content
    • WordPress
      • Post
      • Taxonomy terms
      • User
      • Comments
      • Menus
    • WooCommerce Product
    • Meta fields
      • Basic fields
        • Number
      • Content fields
        • Image
        • File
        • WYSIWYG
        • oEmbed
        • Gallery
      • Choice fields
        • Select/checkbox/radio
        • True / False
      • Relationship fields
        • Link
        • Post_object
        • Page Link
        • Relationship
        • Taxonomy
        • User
      • Advanced fields
        • Google Map
        • Google Map Multiple Markers
        • ACF OpenStreetMap Field
        • Date/time picker
      • Layout fields
        • Group (Pro)
        • Repeater (Pro)
        • Flexible (Pro)
    • Object fields
    • Custom Data (Pro)
    • Custom Gutenberg Blocks (Pro)
    • Mount Points (Pro)
    • Front-end assets management (Pro)
  • πŸ¦Έβ€β™‚οΈQuery Content
    • Basic Filters
    • Meta Filters (Pro)
      • Current Post
      • Comparison
      • Dynamic Injection
    • Taxonomy Filters (Pro)
    • Pagination (Pro)
    • Custom Data (Pro)
  • πŸ†Shortcode Attributes
    • Common Arguments
    • View Shortcode
    • Card Shortcode
  • πŸ§™β€β™‚οΈTemplates
    • Customizing the Template
    • Template engines
      • Twig
      • Blade
    • CSS & JS
      • BEM Methodology
      • WordPress Interactivity API
    • File system storage
    • Pre-built components
    • Reusable components library (Pro)
    • Live reload
    • Multilingual
    • Custom Ajax & Rest API (Pro)
  • β˜•Guides
    • Display Custom Post Type (CPT) on another post
    • Display Employees (CPT) of a Company (CPT)
    • Display Nested Repeater Fields
    • Map Marker from ACF Image
    • Display all CPT items on a single map
  • πŸ› οΈTools
    • Export/Import
    • Demo Import
    • Settings
    • Preview
  • 🏹Troubleshooting
    • Compatibility
    • Report a bug
    • Payment Issues
    • Lite Support (Forum)
    • Pro Support
  • βš™οΈCustomization
    • Filters and Hooks
      • View
      • Card
    • Suggest a feature
    • Performance
Powered by GitBook
On this page
  • How to use it
  • Dynamic Injection
  • $current$
  • $meta$
  • $custom-arguments$
  • Others

Was this helpful?

  1. Query Content

Taxonomy Filters (Pro)

Categories, tags, products categories and formats are some of the more commonly known taxonomies. Use this feature to show a set of posts for a specific taxonomy.

PreviousDynamic InjectionNextPagination (Pro)

Last updated 9 months ago

Was this helpful?

How to use it

Create a Card and assign a View as usual. (See ).

Switch to the Taxonomy Filters tab.

Click on the Add Rule button.

Click on the Add Taxonomy button.

In the Taxonomy dropdown, select which taxonomy you want to use.

For the Comparison field, select how you would like to compare the taxonomy.

Then select Term from the dropdown that will be used for comparison.

Click Update to save your Card.

Note: adding another Rule will create a relation to control how taxonomy rules will be joined within the taxonomy query.

Dynamic Injection

By default, the Taxonomy filter expects a statically defined term, such as creating a Card to query by the 'horror' genre. However, sometimes you need to define this argument dynamically. For this purpose, there is a 'Dynamic Term' field.

The 'Dynamic Term' field becomes visible only when the 'Static Term' field has no selection, and visa versa.

The 'Dynamic Term' field supports the following values:

$current$

For archive and category pages.

$meta$

For specific meta fields. For example, if you have a page with a Taxonomy meta field and need to query all posts with the term selected on the current page, you can use $meta$.field-name.

$custom-arguments$

Note: This method is useful for manually defined cases. If you need to get the value from the current page meta, using the $meta$ mentioned above.

Others

Allows defining the argument dynamically from , e.g., [avf_card custom-arguments="genre=my-genre-slug"].

Note: Do you want to customize a query (WP_Query) that is used to get posts for a Card, but the option is missing in the UI? You can do this using our filters.

πŸ¦Έβ€β™‚οΈ
custom shortcode arguments
Read more here
Creating Your First Card