Skip to content

Second-cup-of-coffee

Web Development

Category: Web Development

Simple WordPress PlugIn to Replace Excerpt With Full Post

Content As Excerpt Checkbox

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

Published January 22, 2018
Categorized as PHP, Web Development, WordPress

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

Published October 10, 2017
Categorized as Macintosh, Web Development

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

Published October 9, 2017
Categorized as Macintosh, Web Development

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

Published September 18, 2017
Categorized as Web Development, 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

Published May 22, 2017
Categorized as Web Development

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

Published October 18, 2016
Categorized as PHP, Web Development, WordPress

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

Published November 4, 2015
Categorized as PHP, Web Development, WordPress

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

Published July 8, 2015
Categorized as Web Development, WordPress

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

Published June 15, 2015
Categorized as Web Development, WordPress

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

Published June 10, 2015
Categorized as Web Development, WordPress

Posts navigation

Newer posts Page 1 … Page 3 … Page 6 Older posts

Recent Posts

  • Using Flexbox and Pseudo Elements for Text Between Lines
  • Programmatically Adding a Menu Item to a WordPress Menu
  • Hiding empty paragraphs
  • Importing a MySQL Dump with Bad Dates
  • Adding the Page Order to the Page List in the WordPress Admin

Recent Comments

  • Scott Tirrell on Hiding Advanced Custom Fields in the Admin
  • Andy on Hiding Advanced Custom Fields in the Admin
  • Jake on A Fallback for Ray
  • John on Creating Unique IDs for ACF Repeaters
  • Mark on Creating Unique IDs for ACF Repeaters

Archives

  • January 2023
  • April 2022
  • February 2022
  • December 2021
  • November 2021
  • May 2021
  • April 2021
  • February 2021
  • January 2021
  • December 2020
  • July 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • March 2019
  • January 2018
  • October 2017
  • September 2017
  • August 2017
  • June 2017
  • May 2017
  • October 2016
  • March 2016
  • November 2015
  • July 2015
  • June 2015
  • February 2014
  • January 2014
  • July 2013
  • June 2013
  • May 2013
  • March 2013
  • January 2013
  • December 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012

Categories

  • CodeIgniter
  • CSS
  • Javascript
  • Macintosh
  • Movies
  • MySQL
  • PHP
  • Quick Tip
  • TextMate
  • Uncategorized
  • Unix
  • Web Development
  • WordPress
Second-cup-of-coffee
Privacy Policy
Proudly powered by WordPress.