One caveat faced by developers using get_template_part is the inability of passing variables to the loaded templates. There is, however an alternative using locate_template. Overview In this example we're going to display three Easy Digital Download entries. I've been using EDD for a while now and while it has a lot of features it's still… Continue reading Passing variables when loading templates in WordPress
Category: Uncategorized
How to check in WordPress if a plugin is active in network or single site
While developing a theme or a plugin we sometimes need to check if a certain third-party plugin is available for use. Here you'll learn a simple way to detect not only if the plugin is active in a single site but also if it's network-wide enabled. Overview WordPress stores the list of active plugins in… Continue reading How to check in WordPress if a plugin is active in network or single site
HTML/CSS Reset De-Compactor
Tired of seeing those tons of CSS declarations when using Firebug or Webkit inspector? Then try the Reset De-Compactor. This works by expanding your grouped declarations into single rules. This is only meant for development work.
3D with HTML 5 canvas and CSS transforms
Intro to CSS 3D transforms http://desandro.github.com/3dtransforms/docs/introduction.html Tiler3D http://labs.hyperandroid.com/html5-tiler-3d 3D starfield with HTML 5 http://seb.ly/2009/09/simple-3d-in-html5-canvas/ three.js http://mrdoob.github.com/three.js/ Amazing basic to hardcore examples Cloud Carousel http://www.professorcloud.com/mainsite/carousel.htm Libraries jCanvas http://calebevans.me/projects/jcanvas/index.php jQuery Canvas Toolkit http://www.jeremyckahn.com/jck/
jQuery plugin for better select boxes
Chosen allows you to enhance HTML <select> elements using JavaScript to add multiple select, autocomplete and more. Chosen is available as a plugin for jQuery, Prototype and there's a fork for MooTools.
Create your background patterns
BgPatterns is a background pattern creator with tools to set color, base pattern, rotation of motif and more.
Firefox Aurora introduces native developer tools
Firefox Aurora, the Firefox releases channel with the newest innovations now includes the new development tools so developers can inspect and tweak a web page's HTML and CSS, accessing console, logs and even a nice feature called Scratchpad, to write JavaScript on the fly and execute it. For a long time most developers relied on… Continue reading Firefox Aurora introduces native developer tools
The author of the Lobster typeface seeks funding in Kickstarter
Pablo Impallari is best known for his Lobster font, one of the first typefaces freely available when Google Web Fonts launched. He is now seeking funds in Kickstarter for a new typeface project. Pablo submitted a project to Kickstarter to design and implement Fast Brush Script as a full web font that will be available… Continue reading The author of the Lobster typeface seeks funding in Kickstarter
5 private social networks for collaboration
Truth be told, the current web is strongly focused in social with sharing and collaboration as one of the most sought-after values in a web application. If you like the idea of sharing stuff with friends and co-workers but need just a little more privacy than the offered by apps like Twitter, Facebook and Google what-was-that-name-oh-yeah-plus, read on to discover 5 private social networks that might have gone under your radar.
Color theme for Aptana 3
For web development, few IDEs are both free and as powerful as Aptana. The new Aptana 3.0.5 Beta is now a mature product (early Aptana 3 was very buggy) and good enough to switch to. Here you will find a syntax colouring theme for the new Aptana 3, compatible with TextMate and e Text Editor theme systems.