Code Snippets Articles.

Various code snippets we use throughout our projects. We’re big fans of plugins but also advocates for keeping code lean to avoid plugin-bloat. Hopefully these will help on your projects as well.

0

Reusable base CSS styles for easy responsive site structure

Don’t want a bloated framework you have to learn/master just to be able to build a robust site structure that breaks down nicely into RWD (responsive web design)? We don’t either. For most projects we use a few simple reusable CSS classes to make RWD much easier. Frameworks like HTML5 boilerplate or Zurb’s foundation are…

Give me the scoop...

0

Add custom CSS to WordPress Admin without a plugin

Do you want to style the WordPress Admin area without modifying WordPress core CSS files? So did we. Hacking WordPress core files is bad, because the hacks would be overwritten on the next WP update. (Son of a…!) But by placing this snippet in your theme’s functions.php file, these rules will stay intact on each…

Sweet, tell me more...

0

Disable the WordPress Admin bar without a plugin

Does the Admin bar in WP 3.x annoy you as well? Yeah, us too. Place the code below in your theme’s functions.php file and say goodbye to the Admin bar. This will not only disable the bar for any users, it also removes the preferences option in WordPress’ Admin area.

I gotta read this...