Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <aside>
- <!-- related information about this post -->
- <!-- <?php the_meta(); ?> -->
- <?php $documents = get_post_meta($post->ID, 'Documents', false);
- if ($documents) {
- echo "<em class=\"post-meta\">Documents:</em><ul class=\"post_meta_ul\">";
- foreach ($documents as $myLink) {
- echo "<li class=\"post-meta-key\">".$myLink."</li>";
- }
- echo "</ul>";
- }
- ?>
- <?php $email = get_post_meta($post->ID, 'Email', false);
- if ($email) {
- echo "<em class=\"post-meta\">Email:</em><ul class=\"post_meta_ul\">";
- foreach ($email as $myLink) {
- echo "<li class=\"post-meta-key\">".$myLink."</li>";
- }
- echo "</ul>";
- }
- ?>
- <?php $mobile = get_post_meta($post->ID, 'Mobile', false);
- if ($mobile) {
- echo "<em class=\"post-meta\">Mobile:</em><ul class=\"post_meta_ul\">";
- foreach ($mobile as $myLink) {
- echo "<li class=\"post-meta-key\">".$myLink."</li>";
- }
- echo "</ul>";
- }
- ?>
- <?php $social = get_post_meta($post->ID, 'Social Media', false);
- if ($social) {
- echo "<em class=\"post-meta\">Social Media:</em><ul class=\"post_meta_ul\">";
- foreach ($social as $myLink) {
- echo "<li class=\"post-meta-key\">".$myLink."</li>";
- }
- echo "</ul>";
- }
- ?>
- </aside>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement