IT Cooking

IT Stuff and Silly Shell


 

Header Anchors with AnchorJS for WordPress is nothing but so easy to set up… No shitty plugin is necessary: just some code snippets here and there, a JavaScript library, and voila the magic is happening 😀

It creates ID for your headers, and attach a hover anchor to them. ABSOLUTE development laziness, I love that.

Bonus: just adding the AnchorJS library + the JS snippet to your site will just work as fine!

(Read more…)

Posted In: WordPress, CSS, JavaScript, PHP Tags: ,

 

When it comes to PHP debugging… You like to know what’s going on don’t you! So you are tired or using  var_dump($myVar) because the printout is messed up with your HTML? Here is the Grail: a beautiful Debug PHP Function.

This one will display the complete set of calls (backtrace) as well as the variable/class/array to print out, in a flashy Yellow/Purple/Red/Cyan color set different for each type of variable. The z-index or 999 and the set of styles associated will make sure that it’s always visible.

(Read more…)

Posted In: PHP Tags: ,
Next Page »