embedding through functions.php weird issue
-
//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>'); } }
I used this in my functions.php to output my custom field. It outputs as an h1 and is the correct value, however the value is then followed by a “1”. This is true no matter what field I call, they are all followed by a “1”.
Any thoughts on this weirdness
- The topic ‘embedding through functions.php weird issue’ is closed to new replies.