get post meta name
-
I am using the code
<?php $key="property_type"; echo get_post_meta($post->ID, $key, true); ?>
which is working but it is giving me the slug and not the long name. such as exclusive_properties instead of exclusive properties without the underscore.How do I get this code to pule the name without the underscore thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘get post meta name’ is closed to new replies.