One of the issues I often have when working on a site that has launched is that I often need to switch between the local and production versions of the site. This, of course, means that I keep each location in a different tab so I can easily change between the two. However, because both… Continue reading Use Tab Modifier Extension to Distinguish Environment
Author: Scott Tirrell
Inserting JavaScript with a Shortcode
Have you ever needed to insert a piece of JavaScript into a single post or page? Maybe there is an external contact form from a vendor that you’ve been given a snippet of JavaScript to include? There are a number of ways to do this. You could put a conditional in your template file and… Continue reading Inserting JavaScript with a Shortcode
Adding Post Type and Slug to the Body Classes
When I first started working with WordPress, in order to style things on a particular page, I often would use the page or post’s ID to target the styles for that page. After all, out-of-the-box, WordPress gives you a class on the body tag containing the post type and the ID like postid-455 or page-id-525.… Continue reading Adding Post Type and Slug to the Body Classes
Download YouTube Videos Using youtube-dl
There have been times when I have wanted to be able to add videos to my laptop or other portable device from YouTube to watch when I don’t have access to an Internet connection. For example, nothing makes a flight go by quicker than watching Rick Wolf and the bots play through Fallout 4. There… Continue reading Download YouTube Videos Using youtube-dl
Simple WordPress PlugIn to Replace Excerpt With Full Post
I recently posted my lame joke video mashing together The Andy Griffith with Star Wars. In posting it, the excerpt for the post was showing on my site’s homepage and one had to click through to watch the video. There was nothing much to the text of the post – the only thing of note… Continue reading Simple WordPress PlugIn to Replace Excerpt With Full Post
Bartender for Mac
If you’re a Macintosh user, you probably appreciate a clean interface and nice aesthetics. One thing that can cause your Mac’s interface to become cluttered, though, is a myriad of icons in your menu bar. Many programs will allow you to turn off its menu bar icon but not all. Worse yet, you might have… Continue reading Bartender for Mac
I’m Concerned About the Direction Ron Howard is Taking Star Wars
I just saw a trailer for Ron Howard’s upcoming movie about Han Solo and… I have a bad feeling about this. My apologies for the quick and dirty video editing. I didn’t want to spend too much time for a lame joke!
Move to the End and Beginning of a Word in PHPStorm
Another Macintosh keyboard shortcut that will be second nature to most Mac users is using ⌥← to move to the beginning of a word and ⌥→ to move to the end of a word. This moves the cursor to the left of the first character or the right of the last character. Try it in Mail. In… Continue reading Move to the End and Beginning of a Word in PHPStorm
Move Cursor to the Top of the Page in PHPStorm
I have started using JetBrain’s PHPStorm editor at work on a Macintosh and one of the things that has irked me is that some of the standard Macintosh keyboard shortcuts don’t work out of the box. For example, if you’re a seasoned Macintosh user, you are most likely used to using ⌘↑ to go to the… Continue reading Move Cursor to the Top of the Page in PHPStorm
Troubleshooting the White Screen of Death in WordPress
One question that I see asked a lot in the WordPress Support Forums is what to do when their website simply displays a white screen. This most likely represents a PHP fatal error that stops the server from generating the HTML for the browser to display. How to Find the Problem When PHP has a… Continue reading Troubleshooting the White Screen of Death in WordPress