Archives: Wordpress

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 […]

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