Posts Tagged ‘plugin’

Problems Getting WordPress Emails

Posted in: Web | Tags: ,

Are you having problems getting email sent from you WordPress blog?

One of the features that I really like is being able to get emails when new comments are posted. I also use the Contact Form 7 plugin which needs to send mail.

The Problem

I recently switched web hosts to Webfaction. They’ve been great — what I think you should be able to expect out of shared hosting.  The only problem is that they don’t support PHP’s mail function. They claim it’s to reduce spam — mail() can be used to send email defining the from address as whatever you want without having to authenticate. It can be very convenient, but it’s really not the ideal way to send mail using PHP anyway. WordPress does it because it’s pretty rare to find a server that doesn’t support it and the alternatives are too commonly uninstalled.
Continue Reading »

Jan
11
2010
No Comments »

Blogroll Links Favicons

Posted in: Wordpress | Tags: ,

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:

Continue Reading »

Dec
30
2009
No Comments »

FancyFlickr

Posted in: Wordpress | Tags: , ,

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
Continue Reading »

Nov
20
2009
73 Comments »

Resize Vimeo

Posted in: Wordpress | Tags: , ,

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

Oct
14
2009
3 Comments »

SyntaxHighlighter Evolved

Posted in: Nifty | Tags: ,

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

echo "Josh is cool";  //that's me!

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

echo joshiscool();

sudo apt-get install apache2

Available languages are:

  • Bash
  • C#
  • C++
  • CSS
  • Delphi
  • Diff
  • Groovy
  • JavaScript
  • Java
  • Perl
  • PHP
  • Plain Text
  • Python
  • Ruby
  • Scala
  • SQL
  • Visual Basic
  • XML
Apr
11
2009
No Comments »