A few months back (around September 2012), BlueHost and others started advertising--maybe even pushing--CloudFlare to its users. The promise was/is that CloudFlare will speed up your website using a content delivery network (CDN). They say it's a relatively easy thing to set up and BlueHost even has an integrated piece to facilitate it smoothly from with their own control panel. "I'm thinking of switching to Cloud Flare. Is this a good move or can this end up being a disaster? I've not read … [Read more...]
WordPress Development
WP Google Fonts Plugin
I had the pleasure of getting involved with the development of the excellent WP Google Fonts plugin by Adrian Hanft starting with version 3.0. Adrian reached out to see if I'd be interested in helping take WP Google Fonts to the next level by integrating it with the Google Webfonts API. Prior to v3.0, the plugin used a list of fonts meticulously and manually updated by Adrian. Since the plugin's conception, the Google Fonts foundry came alive with new fonts being added at an ever increasing … [Read more...]
Relating Posts, Pages, and Custom Post Types in WordPress
I received a question from a fellow WordPress designer/developer recently on how I was able to bring content from related pages and posts into any page, post, or custom post type. "I like the way you pull in posts featured images and also page featured images on the bottom of pages. It keeps the site hoping. I wasn't able to find a plugin that would pull in featured images on both posts and pages and all of them seemed to be recent posts or random. And then I tried to use categories in post … [Read more...]
Style Nth Word In a Phrase
The CSS Scenario Recently my graphic designer used a nice styling on a client's webpage headlines--all words in the headline were one color and the last word was a different color. It adds for a nice effect I think. Of course, as the developer I'm the one who has the responsibility to bring that to life. After a few quick searches on Google for phrases like, CSS Style Nth Word CSS style last word, CSS style first word php style nth word, php style first word, php get first … [Read more...]
Add A CSS Class to WordPress Insert/Edit Link Dropdown
WordPress Situation Note: This applies to WordPress 3.0.1 versions and prior. Newer versions of WordPress use a different insert link box and this solution no longer works. Want to have a way to format a link in the WordPress content editor box using only the "Visual" tab (ie not having to go to the "HTML" tab and manually type in a class for the link. Solution Add a CSS class to the insert/edit link dropdown menu The Reason Although we (developers and designers) tell our clients that … [Read more...]