Monthly Archives: January 2012

MIME Multipart Order of Preference

As part of a project for a client, I needed to do a MIME multipart email which would include both a plain text and HTML version.  The HTML version was supposed to be the default version.  However, I discovered that the MIME specifaction is somwhat counter intuitive.  You must put your prefered version as low as possible and list other versions in ascending order of prefernce.   So in my case text/html went below text/plain.  I might try to put on exmaple up to explain things better.

Getting the Current URL in WordPress

For some reason, I could not find this anywhere in my searches.  You can get the permalink for the current post or page using:

get_permalink( $post->ID );

Of course this only works on posts or pages, not on searches and the like.  I have no idea why I had such a hard time finding this.


With less then 2 days of work, I have my site up and running.  This is why I love WordPress, easy to use and quick to launch.  Sure there are plenty of tweaks which I might want to make, but I have the site to a point which I am happy with it running at.  Now I just need to get work samples up.

Hello World!

I finally I am getting around to setting up my site.  The history of this site is something like this.

Find a great deal on web hosting.  Get it!

Other stuff………. More other stuff…… Some more other stuff……

Okay, I’ll set up the site.

Bam! Install WordPress, install theme, write this post.  Less then 1 hour by my estimate.

Of course there are some more tweaks and minor adjustments to make, but nothing major.  Well 2 more pages of content and a contact form, but this is WordPress.  It will be a brease.

I have been working with WordPress for several months now.  From a users perspective, it is simple and easy to use.  From a developers perspective, it is simple and easy to use.  I love WordPress!