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
Author: Thai Yin
Gaslamp Media cofounder Thai Yin has been in the website and internet marketing industry since 2003, starting out as designer for a leading internet marketing and lead generation company before becoming a freelancer. Thai started his own design firm in 2006 (Yin Media Corp) with a small team of talented designers and developers and later formed Gaslamp Media in 2008. He currently oversees all web design and development projects for Gaslamp Media. A self proclaimed nerd, he stays up to date with the latest in Internet trends and passes that knowledge to his clients. Thai has a BS in Management Science from University of California, San Diego.
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 […]
When a website is in development, it’s a good idea to password protect the root directory from public access: It prevents unauthorized users from accessing the site It prevents it from being indexed in search engines It prevents other bots (spammers) from attacking your development site There are plenty of online tools to generate the […]
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” […]
Lamplighter Content Authoring is a starter kit to be used with new Drupal installations. It creates “Filtered HTML” and “Full HTML” text formats and an accompanying Wysiwyg profile for each with buttons and plugins enabled. After enabling the feature, you can turn it off and customize your text formats and wysiwyg profiles to your own […]
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 […]
Easily change the default Google Map marker in the Geofield module with the patch by anou. It introduces a field to enter a path for your custom marker.
Google Fonts tops 500 Billion Downloads
Google Fonts has revolutionized fonts on the web. We’re no longer confined to standard system fonts available on each visitor’s computers. It’s an indispensable tool for web designers and I’m glad to see that it’s so popular and growing at an increasing pace. You can follow Google Font news on their blog.
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 […]