Portfolio

Blog

Perl Shebang

Slang often used in computer Perl programming and other script files. The term shebang refers to the “#!” located at the top of many script files that points to the path of the associated program. For example, in a Perl script, the complete line may look similar to the below line.

#!/usr/local/bin/perl

This line instructs the operating system the Perl script is being run in where the executable for Perl and all of its associated files are located. This line is commonly only required in Linux and Unix variants, users running Perl in Microsoft Windows do not need this line.

Original Source: http://www.computerhope.com/jargon/s/shebang.htm

How to orderby include Argument for get_terms()

WordPress 3.5 came out with an awesome feature of ordering by post__in (Codex). So when I got to my current issue, I noticed that I could not use the default orderby options (alphabetical title, ID, etc.), so the code used to create the post__in ... Read

Add a Nagging Fixed Top Menu to Your Genesis Site

Recently, someone asked me to assist them with their nagging menu. Simply they wanted a menu that became fixed at the top after the user scrolled past the menu. In their case, they had a primary navigation menu at the top and then a secondary menu ... Read

The Role of Online Learning for Churches with WordPress

Online Church Opportunities

In my experience, churches have failed dismally in the area of providing learning opportunities to their members. Please don't get me wrong here...many churches have great learning opportunities, in person, one, maybe two, days a week. Typically, ... Read

How to Add a Genesis Top Navigation System

Adding a top navigationn menu to a Genesis child theme is quite easy. There are a couple of approaches. First, one can simply move the primary navigation to the top. Howevever, if you are already using the primary navigation, this may not work ... Read

Genesis Grid Loop in Genesis 1.9

Some people may be experiencing some issues with the Genesis Grid Loop in Genesis 1.9 (and rightly so). However, with Genesis 1.9, this will no longer work. Instead you must modify the query as you should via pre_get_posts hook. Bill Erickson ... Read

Create Genesis Constants Based on Theme

In my child themes, this little function that I wrote based on the new wp_get_theme() function (Codex, WP Ticket). Previously, I had to create style.css with all the data and then had to do the same thing in functions.php (or my child init.php). So ... Read

Fast WordPress Hosting