Youtube Thumbnails Via PHP

Embedding videos from Youtube into a website is a rather painless procedure. Each video is provided with sharing options that include a bit of html code that will get the job done, and with WordPress it’s even easier. All you need is the video URL and the oEmbed protocol included in WordPress will take care of the rest of the embedding for you. These solutions put the video directly into your content, which is fine if you are adding only one or two, but when we’re dealing with many videos to be collected on one page this is far from ideal. In these cases I usually opt to put together a solution using the Fancybox modal window script and a video thumbnail image link. Read more Youtube Thumbnails Via PHP

PHP: Random Data Retrieval

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 more PHP: Random Data Retrieval

WordPress: Tweaks For Good Theme Development – Part 1

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 more WordPress: Tweaks For Good Theme Development – Part 1