IvAn’S wEblOg

Style Pagination in WordPress

by Ivan on Jan.02, 2008, under My Note

Iseng – iseng googling eh dapet plugin bagus buat wordpress. Sangat berguna bagi yang pengen buat pagination di blog.

misal.gif

Nama pluginnya WP-digg style pagination
download di sini

Cara Instalasinya ? :

  1. Download plugin di sini trus extract pake winrar karena filenya di kompresi .rar .
  2. Upload plugin ke folder wp-content/plugins/ di dalam folder instalasi worpress .
  3. Trus active kan plugin dg masuk ke Admin Manager -> Plugins -> Klik Active pada plugin WP-Digg Style Paginator.
  4. Untuk memanggil fungsi Paginationnya ketikan perintah berikut di dalam template :

    php:

    if(class_exists(‘wp_pagination_plugin’)){
    $p = new wp_pagination_plugin;
    $p->show();
    }

  5. Untuk memodif tampilan page kamu bisa coba perintah ini :

    php:

    $p = new wp_pagination_plugin();
    $p->nextLabel(”); // removing text ‘next’
    $p->prevLabel(”); // removing text ‘previous’
    $p->nextIcon(‘►’); // changing the icon ‘next’
    $p->prevIcon(‘◄’); // changing the previous ‘icon’
    $p->show();

  6. Dan kalau mau rubah stylenya kamu juga bisa download beberapa pilihan style yang sudah siap dipakai. Silakan lihat disini
  7. Selamat Mencoba.

:,

Related Post

13 Comments for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit My Community!

A few highly recommended friends...

Bali Bloger