New Smashing Magazine Power Tips for WordPress
My latest WordPress-focused article for the web’s leading online / digital media publication, Smashing Magazine, was published last Tuesday. New WordPress Power Tips For Template Developers And Consultants features a few tips exposed in my Custom WordPress Admin theme and talk, and adds a handful of new tips like:
- Creating pagination links using WordPress’s built in paginate_links function
- Adding body classes based on your own conditions
- Redirecting failed logins
- Adding warning messages to specific admin screens
My favorite tip is the leading one: applying WordPress’s highly underutilized, built in pagination function. I frequently see even high end, WordPress.com VIP themes relying on plug-ins like WP-PageNavi to do what WordPress can actually handle pretty well natively. The paginate_links function is a flexible little gem that should be used far more often than it is.
In the 5 days since the article was published, it was tweeted over 1,100 times and like on Facebook nearly 200 times. This website also saw a surge of traffic, which it handled gracefully thanks to some smart object caching and a highly reliable, distributed host.
Check out the article over at Smashing Magazine.