Viewing 6 replies - 1 through 6 (of 6 total)
  • MichaelH

    (@michaelh)

    Look at Template Hierarchy.

    Figure out what template displays those posts.

    1. delete the text in that template
    2. delete the_date (or the_time) code
    3. remove the code with comments_popup_link

    Please review these again:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

    Thread Starter goldmember

    (@goldmember)

    thanks. i found #1 and 3 but looked through all my files for template files for #2 and couldnt find it anywhere. there’s no standard place where this usually resides?

    MichaelH

    (@michaelh)

    As an example look at the WordPress Default theme’s index.php for the_time.

    Thread Starter goldmember

    (@goldmember)

    i feel like its right here in this section of my index.php file:

    <?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    				<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    
    				<div class="entry">
    					<?php the_content('Read the rest of this entry &raquo;'); ?>
    				</div>
    
    			</div>

    however, i removed the line that says <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> but that doesnt seem to ahve done the trick. so i’m stumped as to where else it could be???

    MichaelH

    (@michaelh)

    Use https://wingrep.com and search all your theme files for that to find other instances of the_date or the_time.

    Thread Starter goldmember

    (@goldmember)

    thanks. i found it in my archive.php file and removed it.

    <small><?php the_time('l, F jS, Y') ?></small>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Editing Archive/Category Page’ is closed to new replies.