Shortcode using AFC’s get_field:
Age: [whats_my_age_again]
Shortcode function:
add_shortcode('whats_my_age_again', 'my_age');
function my_age($atts, $content = null){
if(function_exists('get_field')) {
$age = get_field('age');
return $age;
}
}
Testing a potential conflict with the get_field function from AFC and Annual Archive