Custom filter query

Posted in: Newspaper
Post count: 1

Hi.
Is it possible to create a new filter for blocks with a custom query? I need to use some attributes like DISTINCT or GROUP BY that i cannot integrate in standard filter included with theme.
I tried modifying one filter (reviews high in the picture) changing the name of field using for sort, but i need to add the DISTINCT clause..
i’m attaching a screen of what i got now to make you understand..
Custom query

Post count: 23312

Hello corradomaiorca,

Unfortunately, please notice that task is not a simple task and we do not have any tests in this regard, sorry! For more references in this regard, you should try to read the following hints and try to implement it yourself what you want to achieve -> http://screencast.com/t/0QZTQ63TYGs -> http://screencast.com/t/kdlxSAHTY
-> https://codex.wordpress.org/Class_Reference/WP_Query -> http://wordpress.stackexchange.com/questions/145283/using-distinct-in-wp-query Also, for a good explanation in this regard, please check the 8 caption to this topic here -> https://www.binarymoon.co.uk/2010/03/5-wordpress-queryposts-tips/ and here -> https://code.tutsplus.com/tutorials/mastering-wp_query-actions-and-filters–cms-23112
Please notice that if you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry! Usually, we recommend the developers from the studio.envato.com

Thanks for your understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.