1. Life Saviour – Firebug Lite

    October 22, 2009 by jerome
    <script type='text/javascript'
            src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'>
    </script>

    * Firebug Lite lets you access some of the debugging features of Firebug (the Firefox extension) in other browser (Opera, Safari, Internet Explorer)


  2. wordpress custom post listing

    October 19, 2009 by jerome
    
    global $wp_query;
    query_posts(
    	array_merge(
    		array('cat' => -420),
    		$wp_query->query
    	)
    );
    

    * while working on a few new Sangbleu pages, i came across this neat way of handling custom query; i found it on the WordPress Codex: query_posts.

    What it is essentially doing here is an exclude of all the post of a specific category without affecting the main loop/query generated by the core system of redirects; in other words: it respects the original paging. I found it quite clean and neat – and thought i would share…

    ** Even after a few months working intensively with WordPress almost like a framework, i’m still able to improve my own tricks and discover new stuff; version 2.9 is around the corner and i’m getting excited a bit with the fusion of the core WP and the MU

    *** We are searching for a way to share internally/externally small bits of code, functions, etc (not only WP related) – considering any software repository (wiki, wp, …), what would you recommend?