Connect with us

Plugins

How to: Creating an Archive page

Published

on

Many weblog sites these days have some form of an archive page. In WordPress it might be the built in auto generation of permalinks by: /Month/ and /date/.

But in some blog’s, for instance this one here (as I said in a previous post) you can’t get the post to paginate or link to http://youblog.com/page/2 if you have nice permalinks active or http://youblog.com/?paged=2.

By any means, In this theme I have to have an archive link at the bottom. So..

Archive WordPress Plugins

There are many plugins which allows you to automatically create an archive page. The good thing is that you’ll (almost) have nothing to do, and the bad thing is that you may not be able to customize your archives much.

On this blog I have decided to use Clean Archives Reloaded by Viper007Bond. Which you can now see active in my Archive’s page.

If you want to use a plugin, here is a small list:

And of coarse you can always..

..do it your self!

First you would have to create a template file by writing this:

<?php
/*
Template Name: Archive page
*/

//please add you necessary code here
//ie. your hooks and html code ?>

<ol id="archive">
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts(array(
    'showposts' => 100,
    'offset' => 10,
    'order' =>'DES',
    'paged' => $paged,
    ));
    $wp_query->is_archive = true; $wp_query->is_home = false;

    if( have_posts() ) : while( have_posts() ) : the_post(); ?>

    <li><a href="<?php the_permalink() ?>"><?php $tit = the_title('','',FALSE); echo substr($tit, 0, 25); ?>...</a> - Posted on <?php the_time('j F Y') ?> - Comments (<?php echo $post->comment_count ?>)</li>

<?php endwhile; endif; ?>
</ol>

?>

You may notice this code: <?php $tit = the_title('','',FALSE); echo substr($tit, 0, 25); ?> from a previous post!

Once saved and pasted it to your archives.php or template-archives.php file, upload it on your wp-content/themes/yourtheme/ directory.

Then, in WordPress dashboard, create a new page, name it “Archives” (or whatever you want) and select Archive page as your page template.

enjoy!

Plugins

Twitter avatars inside your WordPress comments

Published

on

Ricardo Sousa, who writes for Smashing Magazine created a great plugin called Twittar.

This plugin will use someones Twitter Gravatar if their email address is not connected with a Gravatar.

For more info check out the full post at Twitter Avatars in Comments: A WordPress plugin

Image credit: Ricardo Sousa

Continue Reading

Plugins

WordPress Wiki Plugin

Published

on

The guys from Instinct whom released the E-Commerce Plugin have release a new plugin today. Dan Milward even went as far as to announce that this plugin was a gift for Matt Mullenweg, seeing how today is his 25th birthday.

The plugin: WordPress Wiki.

Head over to Instinct’s site and check it out.

Continue Reading

Plugins

Google Highlight

Published

on

For those looking for a way to optimize your search results on your WordPress blog. You may want to check out the following plugin. Goolge Highlight

It will highlight or colorize the background of any letter or word that you search for. Head over to the site to see it, or do a search on this site and see it in action.

I want to update: I am going to follow up with at least three more great tricks and plugins you can use to help search you WordPress blog.

Continue Reading

Random Search Terms

Title

Top Articles

Top Searches

powered by WassUp

Recent Posts: Fully Net Worth . com

Bandhunta Izzy Net Worth: How Rich is the Rapper in 2019?

Bandhunta Izzy Net Worth: How Rich is the Rapper in 2019?

Israel Jordan James, who is better known by his stage name as Bandhunta Izzy, is an American rapper who is best known for songs such as “BBB,” “Rumors” and “I Got It”. The young rapper is currently signed with Universal Republic Records. As of 2019, Bandhunta Izzy net worth is estimated to be $700,000. James […]

Teejayx6 Net Worth: How Rich is the Rapper Teejayx6 Actually?

Teejayx6 Net Worth: How Rich is the Rapper Teejayx6 Actually?

Teejayx6 is an emerging American rapper who has recently become a viral sensation for his scam-based songs about identity theft and credit card fraud. The song that was a big success and conveyed this message was called “Dark Web”. As of 2019, Teejayx6 net worth is estimated to be $250,000. He has never revealed his […]

Jade Cline Net Worth: How Rich is the Teen Mom star Actually?

Jade Cline Net Worth: How Rich is the Teen Mom star Actually?

Jade Cline is a TV personality who is best known for being a part of different MTV shows including “Teen Mom” and the “Young and Pregnant”. She replaced Jenelle Evans in the second half of Season 9 of Teen Mom 2. As of 2019, Jade Cline net worth is estimated to be $150,000. Jade was […]

Trending

%d bloggers like this: