Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* Template Name: Vicinity Page */
- get_header(); ?>
- <?php
- global $query_string;
- query_posts("post_type=attractions&post_status=publish");
- if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <h2>
- <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
- </h2>
- <?php
- the_content();
- endwhile;
- endif;
- wp_reset_query();
- get_footer();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement