Shortcode to make archives on 1 page with Wordpress

Posted by Otak Komputer on Saturday 8 August 2009

Another days ago, I find this news when see wordpress support page. I think this is a new news for us, especially who use wordpress.com services only. Why for wordpress.com user only? Read this article first to know what are the different between wordpress.com vs wordpress.org. This shortcode only work with wordpress that hosted on wordpress.com.
How to do that? I have some blog that hosted on wordpress.com. OK, this is the way, just make a new post, or a new page, or use a text widget, then write this code [archives] and publish it. In default, this action will generate all your post, from the latest to newest, and give a link to it.
There is muce option that you perhap to give a try.

Option Description Choices Default Setting
type The type of archives list to display yearly, monthly, weekly, daily, postbypost postbypost
format How to display the archives list option (drop-down menu), html (unordered list), custom (for use with the “before” and “after” parameters) html
limit The number of archive entries to display Any valid number No limit
showcount Display post count of each archive entry true, false false
before Text to go before each archive entry Any string of text or HTML tag from here none
after Text to go after each archive entry Any string of text or HTML tag from here none
For example in using that option, you can see below

This code will generate a link to all your post within 12 months from the date now on
[archives type=monthly limit=12]
Same as above, but we show out post count in every months
[archives type=monthly limit=12 showcount=true]
Show your 18 days activities.
[archives type=daily limit=18]
This code will generate a link to your 32 posts from the newest.
[archives limit=32]

Maybe for your needs, you can combine the option to fulfill it. OK, that's all guys, have a nice blogging. Rahim Rasyid

Blog, Updated at: 20:18

7 comments:

  1. saiia pernah pake ini kang.. tp bikin saiia bingung gtu, soalnya screennya jadi agak menciut.. cuma kecil kek kita lg nonton video di komputer gtu ia kan kang?!??! apa saiia yg salah?!?! hehehhe...

    blognya makin mantabs kang... keren!!! lancar ini gugelnya :thumbsup:

    udah ada 3 taon kang umur blognya?!??!

    ReplyDelete
  2. @genial

    bukan om....tapi kita ngejadiin semua archives kita mulai dari yang paling kuno sampe sekarang dalam 1 halaman. Jadi kita ga perlu capek2 buat buka2 per bulan archives nya, sudah di list di 1 halaman

    makasih dah berkunjung om... blog nya belum sampe 1thn malah.. baru beberapa bulan... hehehehe

    ReplyDelete
  3. beberapa bulan??!?! becanda nii... maap kang baru sempet mampir nii... baru banguuuuuuuunnn ;( mata sepettt :( hehehehe.. ada choccoccino kah?!??! sususoklat anget??!??! samsu?!??!?!

    ada pertanyaan nii kang saiia... :(

    ReplyDelete
  4. mampir siang kang sambil bawa es doger dingin lagi nii :)

    saiia suka banget ngeliat tampilan blog sampeyan kang :ajeeb:

    ReplyDelete
  5. website baru ya, smoga sukses ya, aku juga baru bikin nih, www.technologysites.blogspot.com

    ReplyDelete
  6. kang mampir lagi nii saiia nya :)
    sukses tuk akangnya :)

    ReplyDelete
  7. nice tips.. tq ya dah ngereview berguna bgt..

    ReplyDelete

Blog Archive