Oxygen Repeater Advanced Query

I hope this helps I added comments to the WP_Query array below. <?php // query $the_query = new WP_Query(array( ‘post_type’ => ‘event’, // (the post type / custom post type) ‘posts_per_page’ => -1, ‘meta_key’ => ‘featured’, // (acf-field-name-NOT-label) ‘orderby’ => ‘meta_value’, // (Don’t change) ‘order’ => ‘DESC’ // (or ASC or RAND) )); ?> <?php … Read more

Query to get result by Title or Meta along with tax_query parameter

From the documentation: apply_filters_ref_array( ‘get_meta_sql’, string[] $sql, array $queries, string $type, string $primary_table, string $primary_id_column, object $context ) Filters the meta query’s generated SQL. and $type (string) Type of meta. Possible values include but are not limited to ‘post’, ‘comment’, ‘blog’, ‘term’, and ‘user’. So because a hook like the one above can run multiple … Read more