If you’ve been using the Roots theme, you might be in for a surprise if you upgrade to the latest version (6.5.0+). The familiar base CSS files (bootstrap.css and bootstrap-responsive.css) and blank custom file (app.css) have been replaced with a single compressed file, main.min.css. The newest version of Roots is designed for developers with access […]
Category: WordPress
Resources for Wordpress Developers
This information is provided “as-is” with no warranty, support, or guarantee of accuracy. Here’s a convenient file with all the US zip codes and their associated latitude, longitude, city, state, and county. Mapping modules in Drupal and WordPress may require this database which isn’t always included due to size. Download: Zip Code Database
Project files move around several times during the development process. A standard cycle includes: Development environment – usually someone’s laptop/desktop or a private area of a web server Staging environment – usually on the web but password protected or not indexed by search engines Production/Live environment – this is ultimately where the website resides, usually […]
I love using the Roots theme as a starting point for many of our custom themes we do for our clients. It’s responsive, lightweight, and comes with Bootstrap built in. However, it can be a bit difficult to get started for WordPress beginners (and even experienced themers alike) due to it own system of templates […]
Loading a Google Font in WordPress
function load_fonts() { wp_enqueue_style(‘googleFonts’, ‘http://fonts.googleapis.com/css?family=Montserrat:400,700’); } add_action(‘wp_enqueue_scripts’, ‘load_fonts’); The proper way to load an external font library, such as from Google Fonts, is to use the wp_enqueue_scripts hook. You can use the above sample code in your functions.php code or load it up via a custom plugin. Breaking it down Couple of key points: “wp_enqueue_script” […]
Most users are familiar with dropdown menus on websites. Move your mouse pointer over the parent and it shows the dropdown menu with the children links. The Twitter Bootstrap, in order to accommodate mobile devices, has this functionality as “on click” for the dropdown to appear, instead of mouse over. As a result, the top […]
The Underscores WordPress Theme (aka “_s”) is a great starter theme for anyone know who knows their way around markup and CSS. However, it doesn’t come with our favorite layout tool, the 960 grid system. This tutorial shows you how to add 960gs to your WordPress theme in just a few minutes. This is not […]
Drush Equivalent for WordPress, WP-CLI
After developing with Drupal for years, we’ve become spoiled having Drush at our disposal. WP-CLI (WordPress Command Line Interface) is the closest thing we’ve found and is just as awesome. Couple of key things we like: Can be installed without sudo permission, so it will work with shared hosting environments with SSH access Easily install […]
Dealing with form fields can be a little tricky when making a responsive theme for a website. You can code your CSS for each device or browser width, which can results in a lot of extra or redundant code, or you can use this simple technique. Set your text fields (or input/element of your choice) […]
Problem: Flakey webmasters In early 2008, we noticed an unfortunate trend in website development – flakey webmasters. This often lead to sticky situations and disputes between business owners and the person/company managing their website. Something as simple as changing the phone number on the company website could take months because of difficulty communicating. Time to […]