By Jim on December 14, 2009
Available on the DailyBlogTips website is a theme called StudioPress_Red. The theme uses a custom query to list the pages in the site navigation while applying a ‘current page’ class for styling the nav bar. The navigation code sets up a nav scheme with the traditional ‘Home’ button followed by the listing of pages. This [...]
Posted in WordPress | Tagged $wpdb, custom query, navigation, page list |
By Jim on December 4, 2009
Once upon a time, AVG was one of the best free anti-virus programs available. It was fast, thorough, and had a small footprint. Somewhere around version 7 or 8, however, AVG took a turn for the worst—that is to say, it started to turn into what is (unaffectionately) called “bloatware.” It quickly became clear that [...]
Posted in Geekery | Tagged anti-virus, AVG, Microsoft Security Essentials |
Bulk Clean-up of ‘Approved’ Spam Comments
By Jim on December 5, 2009
I recently had to clean up the database for a WordPress installation where several thousand spam comments had managed to slip by the filters and get themselves approved. Naturally, going through and marking each individual one as spam would have been a mind-numbing and infuriating process, and there is no ‘Check for Spam’ button in [...]
Posted in WordPress | Tagged comments, moderation, MySQL, spam | Leave a response