/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// On code side: Category: <?php $group = get_post_meta($post->ID, 'Category'); foreach(($group) as $groups) { echo $groups; } ?> Features: <?php $group = get_post_meta($post->ID, 'Features'); foreach(($group) as $groups) { echo $groups; } ?> <?php $group = get_post_meta($post->ID, 'SiteLink'); foreach(($group) as $groups) { echo $groups; } ?> <?php $group = get_post_meta($post->ID, 'Description'); foreach(($group) as $groups) { echo $groups; } ?> // On wp side: [Category] type = textfield [Features] type = textfield [SiteLink] type = textarea rows = 2 cols = 60 tinyMCE = true [Description] type = textarea rows = 8 cols = 60 tinyMCE = true