Blogroll Links Favicons

I was recently having problems with the Blogroll Links Favicons WordPress plugin. The plugin gets the favicon for all the links that you have displayed on any given page using the WordPress links system. The problem was that the standard way the plugin does this is to add a new anchor link inside the list-item for each link. This was a problem for me because the anchor links were styled, so when I added the plugin everything was messed up.

I thought it would be better if the plugin just set the background image of the anchor link that was already there to the favicon and indented the text of the link. I’ve sent an email to the author of the plugin requesting that he make this the default way to display the favicons, but just incase that doesn’t happen, here’s the code that makes it happen:

(more…)

FancyFlickr

So when I made this new theme for my website, I knew that I wanted to incorporate flickr photos on site site instead of using the built in WordPress gallery. There is just so much that I love about Flickr, not to mention the photos are much safer there than they are on my webserver.

It was a happy coincidence that Chris Coyier did this video on CSS-Tricks shortly after I finished the theme. I absolutely love how this gallery looked and knew right away that I would model my plugin after it.

I’ve just submitted this to the WordPress plugin directory, so I’ll wait until that gets accepted to put up a download link. If, for some reason, they deny the request, I’ll put up a download link here. If you want to check it out before that, drop me a line and I’ll send it over to you.

Download
(more…)

Resize Vimeo

The Resize Vimeo pluggin for WordPress does exactly what you would expect — it resizes Vimeo videos. I created this plugin, because I plan to start doing some more videos and I wanted any videos that I post on this site to look good. I really like how the Vimeo player looks, but the standard width only goes about half way across the content area they they’re in right now. I thought this looked really tacky, so I decided to experiment and see if it was possible to make the player bigger. Turns out that the player actually gets bigger very nicely.

This plugin gets the current dimensions of the video you post and increases them to a set width and increases the height accordingly, keeping the same width-height ratio as the original player.

We now have an admin menu that lets you choose the size of the video player

Download

SyntaxHighlighter Evolved

I just installed the SyntaxHighlighter Evolved plugin on WordPress. It lets me place code inside posts in many different languages like the examples below.

[php]
echo "Josh is cool"; //that’s me!

function joshiscool() {
return "Josh is Cool";
}

echo joshiscool();
[/php]

[shell light=”true”]

sudo apt-get install apache2

[/shell]

Available languages are:

  • Bash
  • C#
  • C++
  • CSS
  • Delphi
  • Diff
  • Groovy
  • JavaScript
  • Java
  • Perl
  • PHP
  • Plain Text
  • Python
  • Ruby
  • Scala
  • SQL
  • Visual Basic
  • XML