How to get Custom Fields in wordpress


custom_field_example

<?php $name =get_post_custom_values("Name");?>//Key name should be same in custom filed
<?php  echo $name[0];?>//print the custom filed
Advertisements

One thought on “How to get Custom Fields in wordpress

Comments are closed.