Return to Snippet

Revision: 9820
at November 24, 2008 09:02 by davebowker


Initial Code
<?php $contact_drop = new WP_Query('pagename=contact'); while ($contact_drop->have_posts()) : $contact_drop->the_post(); $do_not_duplicate = $post->ID; ?>
    <div id="contact-slide">
        <h3 class="page-page-title"><?php the_title(); ?></h3>
        <?php the_content(); ?>
    </div>
<?php endwhile; ?>

Initial URL


Initial Description


Initial Title
Wordpress query post for a specific page

Initial Tags
post, page, wordpress, query

Initial Language
PHP