How do I show a custom field meta without the key’s name?
-
I set-up a Custom Field with name=map and value=Google map embed code
I went to my single post theme template and added the code
<?php the_meta(); ?>In the post I get the Google Map to display properly but to the left of the map it displays ‘map:’
Without the quotes of course. How do I get the custom field (in this case the Google Map) to display without they name key showing?
I know I could just paste the embedded Google Map code directly into the post but if the editing window is switched to Visual it usually messes up the Google Map code.
I figure this should be an easy one for those familiar with php out there (me not).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I show a custom field meta without the key’s name?’ is closed to new replies.