jQuery Plugin Boilerplate

May 8, 2012

A boilerplate for jump-starting jQuery plugins development. Contains lots of comments to help you get going easily. It implements public and private methods, as well as public and private properties making it the ideal candidate for when building both simple and complex jQuery plugins.     Source

Adding file upload to page and post in WordPress without a plugin

April 29, 2012

This article is to help some people having trouble adding this function into WordPress. This is a modified version of this Steve Taylor‘s work. Include this in a function.php file and it will add custom fields to post and page. By default it will only display 1 field. This field allow you to use the […]

Create a .tar.gz archive

November 12, 2011

this means: -c = create new archive -v = be verbose -z = compress using gzip -f = filename to create for the new archive for the directory dont to “directory/*” just to “directory” with no slash filenames should end in “.tar.gz” as they are tarr’ed then zipped Use this to untar:    

Simple breadcrumbs generator

June 6, 2011

This is a simple WordPress breadcrumbs generator. For a more complete function, i recommend Dimox’s function.

Update WordPress DB for domain change

August 16, 2010

When moving a WordPress install to a new domain, simply run those SQL query to change your old domain to you new domain. Update the option table Update post guid Update post content Update post meta  

Tweek TinyMCE in WordPress using hooks

May 10, 2010

Using WordPress’s hooks you can easily customize the way TinyMCE  will behave. With this you can change TinyMCE options and get it to allow more tags: Use this to change the buttons and the style menu: And finally, use this to change language of spelling:  

Add Links to the Output from wp_list_pages()

April 10, 2010

This function is meant to append any links with a filter.  

Get thumbnail url for feature images

April 6, 2010

This function will return only the thumbnail URL for a given post  

Cross-browser semi-transparent backgrounds

April 4, 2010

The ingredients are: A background image; A small, semi-transparent .png image: 75p_honey.png size: 10px X 2px; A small css hack to overcome IE’s lack of support for semi-transparent .png images; And make a special .css file for IE to fix the link that stop working. source: http://www.daltonlp.com/view/217.

Simple CSS min-height hack

March 1, 2010