CSS-Only Responsive CSU Header

Responsive CSU Header

Background CSU’s brand guidelines require that our websites have a responsive header. For large screens, the CSU signature should be written out on one line (Colorado State University); on medium screens, the CSU signature should be written on two lines (Colorado State–University); on small screens, the CSU signature should be shortened to our initials (CSU). … Read more

User Registration Across Sites within a Multisite Network

Users on a Multisite

WordPress multisite installs come with many benefits. But they also come with some quirks. One such quirk is how it handles user registration on sibling sites within the multisite network. Hypothetical Situation In this hypothetical scenario, we will have Site A, Site B, and a user named Alice. Previously, Alice had registered as a user … Read more

How to effortlessly move a WordPress site using bash scripting + rsync + WP-CLI

Migrate website

After recently being tasked with moving around 100 sites (some multisite, some not), I thought it worth the effort to create migration scripts.  Now, instead of potentially hours worth of work, running these scripts typically takes less than 1 minute. I chose to split the scripts up, one to place on the source server, and … Read more

Creating Your Own WordPress Shortcode

WordPress Shortcodes

Shortcodes: An Introduction What are shortcodes in WordPress? As WordPress.com elegantly says, A shortcode lets you do nifty things with very little effort. Think of a shortcode as a shortcut to add features to your website that would normally require lots of complicated computer code and technical ability. When Would I Need to Use a … Read more