Why Custom fields description is not working WordPress Version 5.4.2?
Why Custom fields description is not working WordPress Version 5.4.2?
Why Custom fields description is not working WordPress Version 5.4.2?
Custom themes that won’t work when theme is changed
Query posts by current ACF meta key value on single page as related posts
If you mean an ACF select field: <?php $field = get_field_object(‘my_select’); var_dump( $field[‘choices’] ); ?> More info here https://www.advancedcustomfields.com/resources/get_field_object/
Same custom post type with different ACF
Directly using WP_Query, I don’t think this is possible as you would require some logic inside the WP_Query which allowed you to say ‘if primary_geo is set to NJ then look in NJ, or if it’s set to PA then look in PA’. However, what you could do is use a hook to update a … Read more
Get with jQuery the value of an ACF field
Query on a repeater date (acf)
I figure out this by changing the following code from compare.php in Yith Plugin. <?php foreach ($fields as $field => $name) : ?> <th> <?php if ($field != ‘image’) echo esc_html( $name); ?> </th> . . . Changed to this => <?php foreach ($fields as $field => $name) : ?> <th> <?php if ($field != … Read more
WP_Query will get posts, the whole post. If another repeater field instance has data for LotNos the sort parameter will not understand what you mean. What I’d do is getting all posts just by the date. Than I’d make a loop and create an array of objects with the data you need from each post … Read more