Category: WordPress
-
[WordPress] Custom URL using add_rewrite_rule
In the recent project, the clients would like to have pretty URL for good SEO in WordPress. Since the URL structure for WordPress is pretty limited, I have to try rewriting custom URL for client.
-
[WordPress] Deployment on Amazon EC2: Solutions to Permalinks & PHP Issues
I have recently encountered 2 issues with deploying WordPress website on Amazon EC2; Permalinks not working on Amazon EC2 and old PHP version caused the code to break. I would like to note the solutions here in order to save hours of Googling for everyone 🙂
-
[WordPress] Getting top posts from Jetpack API
Since WordPress’s Jetpack has done a great job for us to collect statistics on our blogs, we should use these stats to benefit our readers. It is way better than using WP-PostViews which will consume our server resources especially the database.
-
Auto-deploy WordPress via SSH with WordMove [Update 2015]
WordMove is Ruby package for deploying WordPress from localhost to live environment. It can be found here: https://github.com/welaika/wordmove
-
[WordPress] ดึง Widget มาแสดงใน Template ด้วย PHP ง่าย ๆ
ไม่เคยรู้มาก่อนว่าเราสามารถดึง Widget ที่อยู่ใน Appearance > Widgets ต่าง ๆ มาแสดงใน Template ได้เลย โดยไม่ต้องสร้าง Sidebar มารองรับ
-
[WooCommerce] วิธีเพิ่ม Field Checkout ใน WooCommerce