get_post_meta just returns Array
-
So, I am trying to get a page within my wordpress template to get all custom fields with the key of multiedit_Info to populate within another page. When I do so, all that comes back is Array.
Here’s my code that I am working with:
<?php $item = get_post_meta($post->ID, 'multiedit_Info', false); ?> <div id="info-col"> <?php echo $item; ?> </div>
Not too sure if I am setting this up correctly or not. This is the first time I’ve ever used it so any help is appreciated. Thanks!
- The topic ‘get_post_meta just returns Array’ is closed to new replies.