Category: ACF

Adding Meta Tags to your WordPress site using ACF

An awesome way to set up convenient and easy to use meta tags using the very famous ACF Pro.

Read More

Checking if a custom post type field exits

if(get_field(‘post_type_name’)){ //output value if poste type exists }

Read More

ACF Displaying a select field

To display field valuses use this code $field = get_field_object(‘field_name’); $value = get_field(‘field_name’); $label = $field[‘choices’][ $value ];

Read More
© Toffy digital 2015 Powered by Toffy Digital