Support » Themes and Templates » remove date from query post

  • thesmu

    (@thesmu)


    hi guys i am wondering if there is any way of stopping the date from showing when using this query:

    <?php
    query_posts('p=174');
    ?>

    thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • whooami

    (@whooami)

    Member

    the date being displayed is a construct of the theme being used.

    Unless I am missing something..

    thesmu

    (@thesmu)

    well, all i have in my template is:

    <div class="content-box">
    	<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    
    <?php
    query_posts('p=174');
    ?>
    <?php endwhile; ?>
    	<?php else : ?>
    		<h2>Page Empty</h2>
    		This page has no content yet.
    
    	<?php endif; ?>
    
    </div>

    so there is no

    <?php the_date(); ?>

    type tag – so i assumed it was being pulled up by the query, am i wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove date from query post’ is closed to new replies.