Post List Custom Fields
-
I am about the create a template page with a full list of all the post headlines of the blog (code follows …).
Now I want to have after each post the value of a custom field. The name of the custom field is “Region” and a Value for example is “London” …
So I have to add something in or after
<?php wp_get_archives('type=alpha'); ?>
right?<?php /* Template Name: List */ ?> <?php get_header(); ?> <div class="content"> <h2><?php the_title(); ?></h2> <div class="post"> <?php wp_get_archives('type=alpha'); ?> </div> </div> <?php get_sidebar(); get_footer(); ?>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Post List Custom Fields’ is closed to new replies.