The following is an example of how to add meta tags to Pages using the custom fieldsĀ plugin ACF.
//meta tag function function _set_meta_tag() { //global $nome; //global $descr; //global $file; //global $path_meta; $output .= '<meta property="author" content="https://plus.google.com/104573429015560904949" />'; if(get_field('description')){ $output .= '<meta property="description" content="'.get_field('description').'" />'; }else { $output .= '<meta property="description" content="'.get_bloginfo('description').'" />'; } if(get_field('keywords')){ $output .= '<meta property="keywords" content="'.get_field('keywords').'" />'; }else { $output .= '<meta property="keywords" content="'.get_bloginfo('name').'" />'; } echo $output; } add_action('wp_head', '_set_meta_tag');