Enter your email address:


Delivered by FeedBurner
Apr
8th

Add an archive page in Wordpress menu bar

Author: admin | Files under Blogging tips

Wordpress tricks and hacksPeople always ask how to make an archive page for Wordpress blog. An archive page that link to your archive and which is in a Wordpress blog menu bar. So I would like to give several solutions to do it. First, it depends on you how you want to do that. It can be done by the plugin and using a php code. Most of bloggers use the plugin but there are many who just don’t want to use a plugin so they use this php code:

<h3>Browse by Month</h3>
<ul>
<?php wp_get_archives('show_post_count=1'); ?>
</ul>
<h3>Browse by Category</h3>
<ul>
<?php wp_list_cats('hierarchical=0&optioncount=1'); ?>
</ul>

I hope you wonder where to put that code. First you need to make an archives.php file. At the very top of that file paste this code:

<?php
/*
Template Name: Archives Page
*/
?>

Don’t forget it because this is necessary. The archives code will be below this code but you will need to find out where because I’m not discussing it here right now. Well, last step is to create a new page. Click add new page, then attributes and choose your archives page template, save it as Archives and that’s it.

And there other method is to use Wordpress plugin called Clean archives. This method to display an archive page is a good solution if your blog is old enough and has lots of posts. Now you can decide what method to use. Just choose which you think is easier for you.
Megan Fox in dress

Related posts:

  1. Add Google Adsence Search Results in Wordpress
  2. Easy way to add Google search results code in WordPress template
  3. Professional Wordpress layouts
  4. Robots meta Wordpress plugin
  5. Plugins for better SEO
en_quibids_ipad_300x250_18

7 responses. Wanna say something?

  1. Roseli A. Bakar
    Apr 8, 2009 at 23:27:31
    #1

    Thanks for the tip.

  2. Navdeep
    Apr 9, 2009 at 17:40:33
    #2

    VERY GOOD WORK REALLY NICE SITE

  3. SEO India
    May 7, 2009 at 08:42:34
    #3

    I think second method is very easy for me Clean archives plugin. Thanks for sharing….

  4. Pol87
    Oct 22, 2009 at 12:36:35
    #4

    Now, whenever you visit a site, you can use the Google toolbar to pay for content, or small items. ,

  5. boannilaViday
    Nov 4, 2009 at 19:47:57
    #5

    Recently, there has been a good deal of investigation by the
    American FTC against blogs and website promoters
    for not stating advertising income, or potential
    relationships with advertising networks.

    What are your ideas concerning how this could potentially effect
    the blogging community?

  6. mangat
    Dec 14, 2009 at 09:15:02
    #6

    thanks admin,i will try this and will recomment soon………

1 Trackback(s)

  1. Apr 25, 2009: Fix corrupted blog’s theme | Blog and SEO tips to help you make money blogging

Post a Comment