Assign IDs to headings in ACF using functions.php

How are you printing the contents of the ACF field in your site code? Assuming that you have self-coded theme files, instead of using the_field() to print the field content, you should echo get_field() passed through the ‘the_content’ filter, eg: echo apply_filters( ‘the_content’, get_field( ‘my_field_name’ ) ); and it will apply the modifications from your … Read more

ACF Date Form in Custom Admin Field

Hope this code may be help you <?php /* * Add columns to event post list */ function add_acf_columns ( $columns ) { return array_merge ( $columns, array ( ‘event_date’ => __ ( ‘Event Date’ ), )); } add_filter ( ‘manage_events_posts_columns’, ‘add_acf_columns’ ); /* * Add columns to event event list */ function events_custom_column ( … Read more