We have tested the 3.0.x branch for a while and now we have merged it to the main branch. This version includes to major changes: – Bootstrap has been removed from theme dependecies: now Waboot has a custom built-in grid framework based on flex and BEM. Bootstrap was a very old dependecies of early versions … Continue Reading »
WBF v1.1.0 and Waboot v2.3.0 are a big step towards the official launch of both platforms and features some interesting changes. For the 1.1.0 milestone, WBF core architecture has been completely revamped. We switched from a singleton pattern to a dependency injection-like structure. This is the first step to make the framework testable in a … Continue Reading »
WBF has a built-in mobile detect service (provided by Mobile_Detect class) that you can use via PHP. You can use the service like so: The Mobile_Detect class can do much more than that, like detect the type of browser the user is using. You can refer to the class code examples for more information.
WordPress has a great system for managing templates, partials and to allow the overwriting of specific files in child themes. When a new request come to WordPress engine, the CMS first try to guess the needed main template file among a specific hierarchy. This work is done in /wp-includes/template-loader.php file; then the filter template_include comes … Continue Reading »
The functions.php is the core of every WordPress theme; developers can use it to customize every WordPress default behavior that has an hook (an action or a filter) attached. It’s fast and easy to use but WordPress itself does not dictate on how you have to organize it. This is really not a problem if … Continue Reading »
WordPress terms can be ordered hierarchical, but there is no built-in easy way to output them in hierarchical order. Say, for example, that you have this structure of terms for the “category” taxonomy: — Films — Comedy — — ’70 — — ’90 — — modern — Historical — Science Fiction And for a post … Continue Reading »