Registring widget area and how to use it later

To register a widget area for you theme you should  use the register_sidebar function in your theme’s function.php.

This function will register the widget’s area through the ‘widgets_init’ hook. For more specification on register_sidebar please see here. Next step is to set the place where we want to see the widgets to be displayed. […]

Getting the BuddyPress user profile link

For an author’s profile link, use

to get the URL, and

to get an HTML link element, including display name. For the xprofile data, use

$field can be either the name of the field (like ‘Biography’) or the numerical field id.

Getting a specific URL parameter in jQuery

 

.htaccess RewriteRule examples

This is the source. I’m copying it for just in case it get’s lost for some reason. If http://example.com/foo/bar does not exist, redirect to http://other.example.com/foo/bar. (Put this in an .htaccess file in your top-level web directory.)

Handle all requests for top-level .html files and files with no extensions (http://example.com/foo,http://example.com/foo.html) with a single PHP program /foo/show.php. Also, ignore trailing characters in […]

Illuminate WordPress Theme by siiimplethemes (ex MuThemes)

Link: http://themeforest.net/item/illuminate-minimalist-creative-wordpress-theme Authors: http://themeforest.net/user/Siiimple Pros: Cons: not quite finished multi-language support (you need to add the text domain in functions.php); slider on front page doesn’t work on IE7, although stated to do so; styles of pages and posts does not support lists, image aligns and probably other styles too;

Cache meta tags in the header