Archive for the ‘Tips’ Category

How to specify a Facebook thumbnail when sharing a post

Wednesday, March 17th, 2010

Need: The ability to control the thumbnail to be used when sharing a post with Facebook.

The Catch: I was trying to share a post with Facebook that had no thumbnail attached to it.

(more…)

Publish2 JSON Feed Without A Plugin

Tuesday, March 9th, 2010

Need: A way to display the JSON data provided by Publish2 on a WordPress blog.

The Catch: I wanted to have multiple instances of the feed from different JSON data feeds on the post. Furthermore, each required unique items from its respective JSON feed and I wanted to style each instance differently.
(more…)

GoDaddy and Increasing Your WordPress Max Upload Size

Friday, February 26th, 2010

So I’ve never been crazy about GoDaddy’s hosting service, for a number of different reasons, but today I had an awesome experience with their customer service. A client of mine has a shared hosting account and they wanted to increase the Maximum File Upload size allowed in WordPress. He called GoDaddy and their support provided him with a link which directed him to modify the PHP.INI file through SSH.
(more…)

WordPress Calendar Plugin: Display Posts By Date & Category

Wednesday, February 10th, 2010

In my ongoing effort of not re-inventing the wheel, I spent hours upon hours looking through ALL of the available WordPress calendar plugins for a project that I had been working on.

My Needs:

  1. AJAX (required asynchronous navigation between months)
  2. Query posts by category (would be nice if I could select the category)
  3. Associate posts with their dates.
  4. Highlight calendar date when a post exists.
  5. A tooltip that would display post titles and link to individual posts (past, current, and future) when a highlighted date is selected.

Note: The tooltip would also allow me to display multiple posts per day should that be the case.
(more…)

Displaying YouTube Thumbails in Your WordPress Posts

Saturday, January 9th, 2010

Since I already wrote the snippet of code to get the thumbnails from the embedded Vimeo video, I thought I might as well do the same for YouTube. It will search through your posts’ content for YouTube embed code and will generate a thumbnail for you. It’s not fancy but it gets the job done.
(more…)

Displaying Vimeo Thumbnails In Your Blog Post or Archive

Thursday, January 7th, 2010

With WordPress 2.9, you can now embed videos by simply pasting the URL into your blog post and have it create the embed code. I was using Vimeo and wanted to pull the thumbnail associated with the Vimeo video which was embedded in my posts.
(more…)

Favorite Internet Explorer 6 PNG Fix

Friday, December 25th, 2009

Rarely will you find the words “Favorite” and Internet Explorer 6 in the same sentence…it has been the bane of my existence ever since I began in Web Development. If I had my way I would make it illegal to even run a copy of IE6…not a far stretch considering all the pain and suffering developers have had to endure over the years. One of the MANY issues plaguing IE6 is it’s inability to deal with transparent PNG images. Instead of listing out all of the PNG solutions available (there are dozens)…I’ll just let you in on what I’ve found to work best:

DD_belatedPNG

It’s not perfect but it has been an invaluable tool in this ongoing battle. Yes Javascript would need to be enabled, but at some point we need to take a stand and say NO to visitors that insist on running IE6 with JS disabled while viewing the site on a 15” 800×600 CRT monitor.