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.
Category: WordPress
There is the application I built today which required to send data between JavaScript and PHP. Therefore, instead of sending AJAX request everytime data has changed, I decided to set cookies from JS and use PHP to retrieve the cookies when needed.
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 🙂
Since the default tag cloud widget looks outdated, this is a simple way to style / customize tag cloud widget to fit your need.
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.
WordMove is Ruby package for deploying WordPress from localhost to live environment. It can be found here: https://github.com/welaika/wordmove
ไม่เคยรู้มาก่อนว่าเราสามารถดึง Widget ที่อยู่ใน Appearance > Widgets ต่าง ๆ มาแสดงใน Template ได้เลย โดยไม่ต้องสร้าง Sidebar มารองรับ