This is the final part of a 3 part series of articles/tutorials. The preceding two parts can be seen here: Part 1 – Basic Setup Part 2 – Creating Component-specific Stylesheets Part 3 – BrowserSync and Maximising Coverage Browsersync and Webpack dev Server Many of who have used task runners like Grunt or Gulp are …Continue reading
Tutorial
Testing WordPress Plugins with WP-CLI and PHPUnit
Everyone agrees that extensive testing of WordPress plugins is necessary. The problem is that the tests we run as developers don’t take into consideration certain edge cases and rely on our experience to determine what needs to be tested. Testing is also time-consuming and quite frankly not very fun. Automated testing is recommended to ensure …Continue reading
Using the Php Storm Code Sniffer for WordPress
Although I’ve been using Php Storm for a while now I am only just discovering some of the benefits of the IDE. One of these is to be able to apply coding standards to projects where they are lacking. Although there is documentation on the Php Storm site, it doesn’t directly apply to WordPress and …Continue reading
Translation Basics for WPML- Translating Post and Page Content
This article addresses basics of using WPML for translating a site into multiple languages and is geared towards translators. This article has several parts and in this first part we will be addressing the dynamic content for Posts and Pages. What is WMPL? Very Simply, WPML (WordPress Multi Language) is a plugin for a WordPress …Continue reading
Responsive (and Responsable) Per-page Background Images with WordPress
Full-page Background Images can do a lot to spice up the design of a somewhat minimalist site without detracting from the content being displayed. The problem is that in order for them to look reasonably crisp and professional they are often quite large. There are and should be several precautions when adding any large image …Continue reading
Moving from MAMP to Vagrant for WordPress
Why Vagrant? Over the years I have been a faithful user of MAMP, WAMP, and even XXAMP. As a freelancer, I don’t have much occasion to share my development environment and most of my clients have similar environments- shared servers in the low to mid range using a LAMP stack. I almost always have a …Continue reading
Allow HTML code in WordPress tagline
Maybe its just me but I always feel like the site description or WordPress tagline begs for some styling. Here’s an easy one to use as an example*: The Future’s Bright. The Future’s orange In order to output the Tagline most themes use the get_bloginfo() function, esc_html( get_bloginfo( ‘description’ ) ) or just get_bloginfo( …Continue reading
Responsive Images in WordPress with RICG
UPDATE: This plugin has been proposed to be merged into WordPress core for version 4.4. Please offer your feedback if you use this plugin. We all know by now that responsive web-design is important as there is increased viewing on non-desktop devices… Most of us know that it is not just a question of how …Continue reading
Cleaning up Formatting Shortcodes
There are many reasons not to like Visual Composer or any other plugin that uses shortcodes for formatting purposes in the WordPress content editor. One of them is that it can be a lot of work cleaning up the mess of shortcodes that they leave if you ever decide to deactivate the plugin. But how …Continue reading
Create a Custom Hire me form with Ninja Forms
I first heard about Ninja Forms on the Apply Filters podcast with Brad Tournard and Pippin Williamson. Apparently they have been around since 2012 but as I was happy with my goto Contact Form 7 and as I didn’t need anything as fancy as Gravity Forms I didn’t think to look into form plugins too …Continue reading