Display custom field from the front page on another page

$val = get_post_meta( get_the_ID(), ‘meta_data_name’, true ); echo $val; You can replace get_the_ID() with the ID of the post you are getting the meta from. You could possible team this with: $frontpage_id = get_option(‘page_on_front’); to get the homepage ID. Not sure if this would be friendly with multisite though. the_field() is an Advanced Custom Fields … Read more

How to export custom post type with ACF to individual file with automation?

Schedule your backup with WP Cron – https://codex.wordpress.org/Function_Reference/wp_schedule_event In the cron event, run your query for posts or CPTs and be sure to add ‘numberposts’ => -1, to return all. When you loop through your posts from the resulting query, push the values to an array $data[]=$some_string_data_for_prop; https://www.advancedcustomfields.com/resources/get_field/ https://developer.wordpress.org/reference/functions/get_post_meta/ https://codex.wordpress.org/Class_Reference/WP_Post And when you’re ready to … Read more

ACF Pro with SlickJS [closed]

You should be using wp_enqueue_scripts instead of wp_footer to load your styles and scripts. Try adding jQuery as a dependency for slick-init.js and that should work. I suspect that the slick-init.js calls on the styles to create the specified look you want.