6/Tutorial/slider

Cara menampilkan postingan terbaru di sidebar wordpress

Tidak ada komentar
Kali ini saya akan memberikan sedikit trik bagaimana cara menampilkan postingan terbaru di sidebar wordpress (dengan hosting).

Berikut langkahnya :

1. copy script berikut ini ke sidebar.php yang ada di theme yang kamu gunakan :
<?php get_archives('postbypost', '15', 'custom', '<li>', '</li>'); ?>

2. angka 15 yang berwarna merah adalah jumlah postingan yang akan ditampilkan.
3. save deh
4. selesai lihat sidebar blog kamu pasti sudah ada postingan terbaru

Semoga membantu. Jangan sampe bingung :D
author profile image
Abdelghafour

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

Tidak ada komentar

Posting Komentar

An ENTJ Person. A software engineer, experienced in web development, especially in Java. The best graduate of engineering field of Bandung State Polytechnic. Self-motivated and adaptable person. Highly passionate about IT stuff. A fast learner, always curious and loves to learn something new. Has a strong logical and analytical thinking. [Faris Arifiansyah] (https://lh4.googleusercontent.com/9-OcR6PfTb9wECGLmzP0uzrFor9GiXdbMHRt_eXiIh9D_kdopGPGDogIuhWVlCaeBfGONpDMz54MuZHfm98s=w1920-h925)