Advanced Custom Fields dynamic update_field
Advanced Custom Fields dynamic update_field
Advanced Custom Fields dynamic update_field
How to render a custom post type template with custom fields using shortcode
Update grandchild repeater field with value per row
Found the answer, if anyone has problems in the future. add_filter(‘wpseo_opengraph_desc’, ‘__return_false’ );
How to Union two different conditions in one WP_Query
Start by collecting all the dates of the current post (event) in the array. Then iterate throught the array and get all events for each date. // all dates from current event in format “Ymd” $all_dates = []; for ($i = 0; $i < $date_count; $i++) { // Get repeater fields $dates=”dates_times_” . $i . … Read more
ACF Wysiwyg Editor Image srcset for responsive images [closed]
How to Bind one post object Type with other postobject Type in Advanced Custom field [closed]
So, the scattered documentation on this is really less than clear. For checking for unchecked posts added the following meta_query: ‘meta_query’ => array(array( ‘key’ => ‘external’, ‘value’ => ‘0’, ‘compare’ => ‘=’ )) For filtering by checked it was just this: meta_query => array(array( ‘key’ => ‘external’, ‘value’ => ‘0’, ‘compare’ => ‘=’ ))
I think that, as you are using a Relationship model in your ACF settings, you have to iterate through the elements on your page. For that reason, you can simply use the code from the ACF docs, and add it to your single.php or page.php. https://www.advancedcustomfields.com/resources/relationship/ If you still want to use shortcodes, you can … Read more