Skip Navigation

[Resolved] Filter Views

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 4 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#2051845
grid3.png
grid2.png
grid1.png

We're creating a number of Views and wanted to filter them by Taxonomy Category.
In the documentation below, there is a way to actually filter categories on a Taxonomy.
https://toolset.com/documentation/user-guides/views/filtering-views-by-taxonomy/

1. How do we achieve that via Gutenberg?
When creating a View block, there is no option to see the posts we query/filter.

We have created a sample taxonomy archive and was able to see the settings, see screenshot

Loop Selection > Custom Post Archives > Taxonomy Archives (Types of Property) > Select Specific Terms > Residential

In theory, it shall fetch all the posts that are tagged/categorized as Residential.

However, upon viewing the archive on the front end, it does not show the list. What it shows is the body content of the 3 sample posts we had created, while it only should fetch 1.

2. Another question we have is that, can we embed this archive list and show it on an Oxygen builder page?
Here is an example: hidden link

Looking forward to your response

#2052167
Screen Shot 2021-05-11 at 1.46.53 PM.png

When creating a View block, there is no option to see the posts we query/filter.
If you select the top-level View block, you will find the Query Filter section inside the Content Selection panel. You can easily select the top-level View block in the Block Navigation menu at the top of the Block Editor screen (see the screenshot here).
https://toolset.com/course-lesson/creating-a-view/#filter-the-list-of-posts

2. Another question we have is that, can we embed this archive list and show it on an Oxygen builder page?
As discussed in your other ticket, I think your best bet here is to create a similar View in a blank, unassigned Content Template and embed that Content Template in your Oxygen builder design using a shortcode, since custom archives are currently incompatible with Oxygen builder.