Kevinleary.net, LLC.

Blog

Sensible approaches to build and maintain custom WordPress websites.

Customizing the TinyMCE WYSIWYG Editor in WordPress

WordPress has a custom configuration of TinyMCE built-in for rich text editing. On many occasions I’ve found it useful to trim down the editor buttons and format options in the WordPress TinyMCE WYSIWYG editor to make content management and publishing easier for writers and editor. What I Remove From the WYSIWYG Editor Heading 1 from…

Using PHP to Detect iOS & Mobile Users

This basic mobile_user_agent_switch() function will allow you to use PHP to detect iOS and mobile device visitors using one of the following: Supported Devices iPhone iPad Android Blackberry The mobile_user_agent_switch() Function /* * Mobile device detection */ if( !function_exists(‘mobile_user_agent_switch’) ){ function mobile_user_agent_switch(){ $device = ”; if( stristr($_SERVER[‘HTTP_USER_AGENT’],’ipad’) ) { $device = “ipad”; } else if(…

Get All Custom Fields Attached to a Post, Page or Post Type

The base_get_all_custom_fields() function will run a data­base query to get all cus­tom fields attached to the cur­rent page, post or post type and store them in an array. This is a lean way to retrieve all custom fields in one database query.

Website Cross Browser Testing Techniques & Tools

There are many ways to test a website in Internet Explorer. My cross browser testing workflow has recently changed, and I’ve found myself exploring the many options out there. Hopefully my research can save you some time. Here are the options I’ve come up with:

Multiple Fields & Groups with the WordPress Custom Field Template Plugin

Be warned! Several people have experienced a nasty bug with this fieldset duplication method. Reports of lost data upon saving multiple field groups has popped up, so be cautious using this. As of 2/10/2010 Hiraoki has updated the plugin to 1.8.2 to resolve these issues, though it hasn’t been verified. I absolutely love using the…

Introducing PageLines: Professional CMS WordPress Theme

TechCrunch has just announced the release of a new WordPress Theme Framework called PageLines that focuses on providing a drag and drop, professional CMS theme framework. I’ve been hoping for a theme framework that targets CMS driven WordPress websites work for quite some time now, and this one seem’s to be very promising.

Web Font Replacement: Typekit vs. Cufon

I’ve started to you Typekit on my site and various projects as a replacement for Cufon. So far it’s been really great and I have no regret’s. That said there are a few advantages and disadvantages that are important to recognize for certain situations.

Advanced Tips to Speed Up Your WordPress Website

Having a fast load time is a very important, and often overlooked, factor in running a successful website. Jacob Neilson, a well renowned expert in the field of web usability, has recently published finding’s that shed some light on the subject. A ten-second delay will often make users leave a site immediately. And even if…

Create a Custom Maintenance Page in WordPress

One quick and easy way to increase the experience for your clients is to add a custom maintenance page design to WordPress. This page will automatically display when WordPress or WordPress plugins are upgrading. It will replace the out of the box solution that displays a basic Times Roman “Briefly Unavailable for Scheduled Maintenance” message.…

Remove the WordPress Date from your Google Search Descriptions

I recently realized that Google automatically adds the_time() or the_date() output into the beginning of my descriptions on their SERP’s. For example, instead of my normal meta description being used, I see this in front of all my descriptions on a Google search results page: Aug 13, 2010 …

How to Use Custom Post Types for WordPress CMS Websites

With WordPress 3.0’s new post type and custom taxonomy additions, a powerful user-friendly CMS is far easier to achieve. I’m working on a few projects right now that utilize post types to and thought it would be helpful to post a few tricks I’ve picked up along the way.

Customizing WordPress Admin with CSS & JavaScript

Don’t get me wrong, out of the box the WordPress admin rocks. When you begin to add advanced content management to the mix with plugins additional CSS is often needed to provide the best experience. I spend a few hours on every WordPress CMS setup customizing the backend to make things easier for my clients.…

The Impossible Slanted, Diagonal, Navigation Setup with CSS, jQuery & XHTML

Recently I needed to develop a diagonal menu, which at first glimpse seemed completely do-able. Once I dug deeper into it, I realized that it was actually quite difficult to build. Impatient? Jump straight to the demo / sample source code.

5 WordPress 3.0 CMS Plugins You Need to Know About

Due to popular demand, I’ve added another list of premier WordPress CMS plugins for use specifically those trargeted at tapping into the new 3.0 features we’re all so excited about. That’s right, I’m talking built-in post types, the sliced bread for all you WordPress CMS gurus.

CMS Plugins" rel="bookmark" class="listing__post">

A Fresh Batch of WordPress CMS Plugins

To help folks stay up to date with some of the latest and greatest CMS plugins I’ve decided to feature new, up and coming WordPress plugins on this post. Because these lists will be posted frequently, I don’t have time to review every plugin individually. I suggest using your judgement based on the repository feedback…