Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Advanced Custom Fields Plug in. Re: Advanced Custom Fields Plug in.

#96810
jamygolden
Member

try this:



if ( function_exists('get_field') && get_field('direccion_clases') )
{
echo '

Dirección clases:' . get_field('direccion_clases') . '

';
}

?>

Remember, the_field() is already ‘echoed’, much like the_content() and the_permalink().

get_field() gets the value without echoing.