> EZ Post Archives wordpress plugin resources analysis

EZ Post Archives wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name EZ Post Archives
Version 1.3
Author Jonathan Cowher
Rating 0
Last updated 2012-05-02 08:07:00
Downloads
1931
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
EZ Post Archives plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

EZ Post Archives plugin added 27 bytes of resources to the Home page and 30645 bytes of resources to the sample Post page.

EZ Post Archives plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! EZ Post Archives plugin ads no tables to your Wordpress blog database.

Features

  • Allows you to easily generate an archive list by year or month - very similar to the wp_get_archives() function
  • Generates necessary rewrite rules
  • Generates SEO friendly title tags for archive templates
  • Allows use of archive templates (archive.php or archive-{post-type}.php)
  • Allows easy generation of necessary template headings

Generate archive list

EZ_Post_Archives::get($args);

$args = array(
    'post_type' => '',
    // the slug(s) of the custom post type.
    // must use an array if using multiple post types

    'limit' => 12,
    // sets the number of archives pulled in

    'type' => 'yearly',
    // either yearly or monthly

    'taxonomy' => null,
    // optional taxonomy

    'term' => null,
    // optional term

    'month_format' => '<a href="{{link}}">{{month}} {{year}}</a>',
    // format for monthly links

    'year_format' => '<a href="{{link}}">{{year}}</a>',
    // format for yearly links

    'month_name_format' => 'M'
    // see the PHP date() function for reference
);

Generate page heading

EZ_Post_Archives::the_title();

Template files

archive-{post-slug}.php
archive.php

CSS Helpers

If you use the body_class() function, the plugin will add the following classes to your body tag:

  • ez-post-archives
  • ez-post-archives-{post-slug}

Know what template you're on

If you need to check if you are on an archive page use the is_post_type_archive() conditional function

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Chip Life screenshot

Chip Life

by: life.object

86367
0%
5 Years screenshot

5 Years

by: urkekg

10403
0%