We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Custom Fields Reply To: Custom Fields

#12995
Cris
Participant

Hi

I used this code for the custom field “precio” and it works correctly:

add_action( ‘wpsp_before_content’,’wpsp_add_custom_meta’);
function wpsp_add_custom_meta()
{
$meta = get_post_meta( get_the_ID(), ‘precio’, true );
if ( isset( $meta ) && ” !== $meta )
echo $meta; echo “€”;
}

I want to do the same with 2 taxonomies (similar to categories), not custom fields, but that code does not work with them.