In Over Your Archives

0

This plugin will display your archive page in a nice way, just like on inoveryourhead.net Shortcode filtering If you are using the In Over Your Archives shortcode [ioya] to embed the pl

Version
Last updated
Active installations
WordPress Version
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

This plugin will display your archive page in a nice way, just like on inoveryourhead.net

Shortcode filtering

If you are using the In Over Your Archives shortcode [ioya] to embed the plugin on a page and would like to do category filtering on
your archive results, you may do so by providing the category slug(s) or ID(s), (or a mix) like so:

[ioya cat='trees']
[ioya cat='03,45']
[ioya cat='trees,45,trucks']

Customizing the template

You can customize the look and feel of the archives pages.

Add a file called ioya_month.php to your theme directory and add a basic loop in it as follows:

<?php while (have_posts()) : the_post(); ?>

    <div class="post">    
        <div class="date">
            <div class="date-day"><?php the_time('j') ?></div>
            <div class="date-month"><?php the_time('M') ?></div>
        </div>
        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
        <small>Posted by <?php the_author_link() ?> at <?php the_time('g:i A') ?></small>
        <div class="entry">
            <?php the_excerpt(); ?>
        </div>
    </div>
<?php endwhile; ?>

Then modify as necessary.