Latest Posts Plugin
technical test dari PT. Istana Group Indonesia
by Kelvin · github.com/kelvintryanto/istanagroupindonesia_test
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/kelvintryanto/istanagroupindonesia_test/archive/refs/heads/main.zipPlugin WordPress sederhana untuk menampilkan daftar posting terbaru menggunakan shortcode.
Dibuat sesuai dengan spesifikasi technical test PT. IGI.
📌 Fitur
- Menampilkan daftar posting terbaru (judul, tanggal, dan link).
- Default menampilkan 5 posting, bisa diatur dari dashboard.
- Bisa override jumlah posting langsung di shortcode dengan parameter
count. - Ditulis dengan pendekatan OOP.
📂 Struktur Folder
latest-post-plugin/
│
├── latest-post-plugin.php # File utama plugin
├── README.md # Dokumentasi
⚙️ Instalasi
- Clone repo ini ke dalam folder plugin WordPress:
cd wp-content/plugins git clone https://github.com/USERNAME/latest-post-plugin.git Aktifkan plugin di Dashboard WordPress → Plugins.
Akses pengaturan jumlah posting default di: Settings → Latest Posts.
🚀 Cara Pakai
Tambahkan shortcode berikut ke halaman atau posting:
[latest_posts]
Secara default akan menampilkan 5 posting terakhir (atau sesuai setting di dashboard).
🔹 Override jumlah posting via shortcode:
[latest_posts count="3"]
📊 Contoh Hasil
- Tips Produktivitas untuk Developer – 22 Agustus 2025
- Update Proyek WordPress di PT. IGI – 21 Agustus 2025
- Mengapa Dokumentasi Itu Penting? – 20 Agustus 2025
🛠️ Konfigurasi Database (untuk WordPress lokal)
Database Name: wordpress
Username: wpuser
Password: passwordku
Host: localhost
Table Prefix: igi_
💻 Deployment
Plugin ini bisa di-deploy ke hosting gratis seperti:
InfinityFree
000webhost
Atau hosting WordPress pribadi.
Setelah di-upload, aktifkan plugin dan buat halaman baru dengan shortcode [latest_posts] agar bisa dilihat oleh reviewer.
👩💻 Author
Dibuat untuk PT. IGI (Istana Group Indonesia) technical test.