I'm using More Fields plugin, and when I use my functions.php to embed the custom field, I get an odd issue. The field value is followed by a "1"
I use this code:
//Address
add_action( 'woo_post_inside_before', 'my_address' );
function my_address() {
global $post;
if ( is_single() && in_category('listings') ) {
echo more_fields('address', '<h1>','</h1>');
}
}
But, if I use the following code - their is no "1"
//Address
add_action( 'woo_post_inside_before', 'my_address' );
function my_address() {
global $post;
if ( is_single() && in_category('listings') ) {
echo meta('address');
}
}
How do I style the above using the echo meta? Or has anyone ever seen the "1" issue?