Ajax is a Web development technique for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire Web page does not have to be reloaded each time the user makes a change. This is meant to increase the Web page’s interactivity, speed, and usability.
A great feature of the Ajax Calendar is the split view which displays a drop down list of entries of the current month on display. The built-in cache increases subsequent delivery speed and reduces server load. The Ajax Calendar was fairly easy and straightforward to install. I only made one code change to sidebar.php.
Finally, I modified the SQL statement in common.php by adding a “DESC” at the end to reverse the order of articles listed in split view. I just prefer seeing the articles listed from the most recent to the beginning of the month in reverse order. Here’s the code:
SELECT ID,post_title FROM $wpdb->posts WHERE MONTH(post_date) = â€˜$monthnumâ€™ AND YEAR(post_date) = â€˜$yearâ€™ AND post_status = â€˜publishâ€™ ORDER BY post_date DESC
One last thing, you have to clear the cache to see the changes take effect.