Register now or log in to join your professional community.
Displaying custom field:
for example to display custom fileds to each post use the the_meta() template tag.
the tag must be put within the loop in order to work
<?php the_meta(); ?>
https://codex.wordpress.org/Creating_Tables_with_Plugins
you can see this website
The custom fields are stored in this table of WordPress wp_postmeta. $wpdb->postmeta
For displaying you can use this, custom fields to each post use the the_meta() template tag.
the tag must be put within the loop in order to work
<?php the_meta(); ?>
e.g.
<?php $mykey_values = get_post_custom_values('my_key');foreach( $mykey_values as $key => $value ){ echo "$key => $value ('my_key')<br />";}?>