ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)

This isn’t possible using WP_Query, you can’t query the insides of structured data stored in a single post meta value. At best you can use regular expressions, or do math/boolean comparisons, you can even do LIKE comparisons, but these are all string operations. If you need to query structured data such as objects or arrays, … Read more

Use meta_query in args for relationship

I finally managed to solve it myself, this is the code I used: if($tema == ” && $software == ” && $volatilita == ”) { $args=array( ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => -1, ‘orderby’ => ‘meta_value meta_value_num’, ‘order’ => ‘DESC’, ‘paged’ => $paged, ‘cat’ => $categoria_slot_machine, ); } elseif($tema != ” || $software … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)