Today is
18
May
2013

PHP: Random Data Retrieval

PHP

Sometimes we may want to present our data in an unordered fashion, avoiding alphabetical or date based sorting. For example, creating a “Featured” list of articles that changes upon each page load by choosing a handful at random from our database. Another instance may be wanting to change up an image at random for each page or page load. When dealing with the data in our database with the PHP (Hypertext Preprocessor) programming language, we have several options… Read the Full Post »

Posted in PHP, Wordpress | Leave a comment

MySQL: Avoiding Access Denied Errors When Importing DB

MySQL

Moving MySQL databases from one server to another is usually a pretty painless and relatively easy process when the phpMyAdmin tool is available on the hosting servers. An unforeseen hiccup recently presented itself to me when trying to move a WordPress MySQL database from one account to another on the same ISP. It was a situation I had never run into before as usually a move is from one ISP to another. The solution turned out to be rather simple but not necessarily obvious, so I thought I’d share it here! Read the Full Post »

Posted in MySQL, Wordpress | Leave a comment

WordPress Quick Tip: Using Shortcodes in Templates

Wordpress

A WordPress project I’m currently working on presented me with a situation that I soon realized was calling for a custom WordPress shortcode. In a future post I’ll cover the process of creating a custom shortcode, but for today I’ll share a quick tip on how to use shortcodes in your theme templates as opposed to a post’s content.  Read the Full Post »

Posted in PHP, Wordpress | 1 Comment

WordPress: Function Tweaks For Good Theme Development – Part 1

wordpress-logo

WordPress has really made some huge leaps forward in recent versions making it a truly powerful content management system. Not coincidentally, WordPress custom theme design and development has really become a passion of mine… one of the fruits of which is a tried and true collection of customizations and tweaks I always start off with when creating a new custom theme for a client. In this post I’ll share some of them and explain a little about why I think they’re important. Read the Full Post »

Posted in Wordpress | Leave a comment

Smart Design: Image Replacement

design

Custom logos and exotic heading fonts… two things that as designers we’re in love with when it comes to website aesthetics. That’s where image replacement techniques come into the picture but when it comes to maintainability, accessibility, and search engine optimization (SEO) they can quickly become problems if not dealt with properly. In this post I’ll talk about what needs to be considered and describe the technique I use the most. Read the Full Post »

Posted in (X)HTML, CSS, Design | 1 Comment

CSS3 Basics – Rounded Corners

CSS3

Aaaah, rounded corners. One of those design elements that’s subtle and classy… but that used to mean running to Illustrator or Photoshop to generate, slice, optimize, and export images, merge them into a sprite and then finally place them into their containing elements with a careful juggling of x and y coordinates. Oh how glorious that this time robbing sequence of events is so close to being a complete thing of the clumsy ol’ past! Read the Full Post »

Posted in CSS, Design | Leave a comment