Reply To: How to use "Taxonomy Filter" of Related Post(s) field option.

Author Replies
traversal # Posted on May 20, 2015 at 11:13 am

This field lets you filter the posts returned for that select box, and is basically parsed and transformed into a tax_query for the query.

There is one restriction, you can only use this if you have a single post type selected for your select box.

Each line of this box represents a single item in the tax_query array you’d pass to tax_query. The line should be of the form:

taxonomy [IN] or [NOT IN] slug1,slug2,slugn

So for example, suppose you wanted all posts with speed “fast,slow”, with tag “featured”:

speed IN fast,slow
post_tag IN featured

Latest From the Blog

MasterPress 1.4.0 is now available

6th May 2024

This release has a focus on improving compatibility with PHP 8.2. The introduction of inheritance validation to PHP produced a lot of warnings when using MasterPress with PHP 8.2. I have updated most of the problematic code – but some code would have broken in previous PHP versions, so I have temporarily disabled inheritance validation… 

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the hosted service.

Three AM