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
Category: Web Development
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
Tab Modifier Plus Chrome Extension
As a web developer, I often find myself with local, staging, and live versions of the same website. Obviously, one can tell which environment one they are on by viewing the address in the browser bar. I find it handy to have an additional visual cue, though, to make it even clearer. I have found a… Continue reading Tab Modifier Plus Chrome Extension
Dynamically Overriding a Page’s Template
It is easy to override the template for a post or page in WordPress in a few ways. For example, the naming of page template files can be used to override a single page’s template: page-{id}.php page-{slug}.php Or, a page template can be chosen in the Page Attributes section when editing a page: This works great… Continue reading Dynamically Overriding a Page’s Template
Hiding the WordPress admin bar on certain pages
There may be times when you would like to hide the WordPress admin bar on certain pages. Maybe the admin bar interferes with the design, for example. This can be especially true for things like pages opening up in a lightbox. Fortunately, it is not too difficult to hide the admin bar on certain pages… Continue reading Hiding the WordPress admin bar on certain pages
Conditional Required Contact Form 7 Fields
Sometimes you may want to have a required field in Contact Form 7 only when another form field has a certain value. For example, if someone has an option to choose their preferred method of contact between email and telephone, you’d want to make the email address field or the phone call field required accordingly.… Continue reading Conditional Required Contact Form 7 Fields
Quick WordPress Tip – Upload to a Post Without Switching Tabs
Here is a quick tip for WordPress users out there. When you are adding, say, a Featured Image to a post, you are brought to the Media Library window that includes an “Upload Files” tab. This might lead you to believe that you need to switch to that tab in order to upload a new… Continue reading Quick WordPress Tip – Upload to a Post Without Switching Tabs
Adding a target to a WordPress menu item
This is one of those things that is so simple I can’t believe that I didn’t realize it was there. If you need to add a target or a particular class to a WordPress menu item it is built-in. However, these advanced options are not shown by default. But, you can easily make them available… Continue reading Adding a target to a WordPress menu item