Author: Jeff Hays


A Google Webmaster Tools API PHP Example – Using Search Analytics API to download search analytics data as CSV with the new OAuth 2.0 method

This is a Webmaster Tools API PHP Example to download your search analytics data as CSV with the new OAuth 2.0 method. As you probably have learned, Google announced that they will be discontinuing their old CSV download scripts for information on queries & rankings and replacing it with their new Search Analytics API. Since there’s a… Read more »

Pure CSS select dropdown style – override the default select dropdown styles with CSS

I was recently tasked with coding a template that was made by a designer that doesn’t quite understand the headache involved in using custom styles on a select element. After explaining to my client what components I had control over styling, they decided to move forward with changing their select elements to use a custom style. Let’s dive… Read more »

nginx WordPress Multisite subdomain configuration example

This is a simple tutorial for how to setup a WordPress Multisite subdomain configuration within nginx. This setup will require a plugin provided by rtCamp called nginx-helper that will provide a map of blog ids that you can include in the configuration example below.  Again, this is an nginx WordPress Multisite subdomain configuration example, so this may need… Read more »

How to properly escape and decode HTML entities in WordPress get_the_title(), get_the_content(), and get_the_excerpt() functions to deliver to social networks

If you’ve ever tried to create your own sharing buttons to allow your users to easily share one of your posts to their social media accounts, you may have run into issues delivering dynamic content from get_the_title(), get_the_content(), get_the_excerpt(), etc. In this post I’ll explain how I escape and decode HTML entities in WordPress in order to prepare a… Read more »

How to install Logstalgia on Mac and use with ssh tunnels

If you’re not familiar with Logstalgia, it’s a really neat log visualization application that parses server logs (apache, nginx, or otherwise) into a fun Atari pong-like graphical interface. This is a tutorial on How to install Logstalgia on Mac and use with ssh tunnels. Before we get into this, let me give you a fair warning…… Read more »

How to create a completely custom login and register page in WordPress with custom HTML, password strength meter, CAPTCHA (using reCAPTCHA), and front and back end validation

In this tutorial I’m going to walk through a custom login and register page in WordPress that is independent of the native WordPress login and registration system. It can be a pain to work with WordPress’ native login/register forms to make them your own and work well, so this is my suggested method of doing something… Read more »

How to install and setup a Mumble server on CentOS 7

In this tutorial I’m going to walk through how to install and setup a Mumble server on CentOS 7. I was initially going to use a MySQL server instead of using their default SQLite but it seems it’s better to just use what they give you. Let’s start by going to http://wiki.mumble.info/wiki/Main_Page and downloading the latest… Read more »