• I would like to format my monthly archives section so that, per se, when they click on the month of ‘march’, all the posts from march show up on one page in an excerpt type form with no images showing. They can then click on the link to take them to the actual post. How would I go about doing this? My site is http://foreversinging.com.

    Thanks,
    Thomas

Viewing 3 replies - 1 through 3 (of 3 total)
  • PBP_Editor

    (@pbp_editor)

    Use this plug-in so you can create those text blurbs
    http://wordpress.org/extend/plugins/content-and-excerpt-word-limit/

    Edit the archive.php file within your theme

    <?php while (have_posts()) : the_post(); ?>
    		<div <?php post_class() ?>>
    				<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    				<small><?php the_time('l, F jS, Y') ?></small>
    
    				<div class="entry">
    					<?php content('100'); ?>
    				</div>
    
    				<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    
    			</div>
    
    		<?php endwhile; ?>
    ben.blodgett

    (@benblodgett)

    You can also just change the archive.php to `<?php the_excerpt(); ?> instead of the content – This will be default pull the first 55 words of a post, you can change this length in the functions.php file in your theme..

    More info here..http://codex.wordpress.org/Template_Tags/the_excerpt

    Thread Starter Thomas Griffin

    (@griffinjt)

    Ok, got the excerpt part down..but I still cannot figure out how to format archives to show the amount of results I want. It still sticks with how many ever posts I display on my main index page. Is there any way to set a different number of posts to show up in archives?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Formatting my archives’ is closed to new replies.