• Skip to main content
  • Skip to footer

nSiteful Web Builders

Building a Better Web - One Site at a Time.

  • Home
  • About
    • Testimonials
    • Resources
    • Partner With Me
    • Frequently Asked Questions
  • Web Sites
  • Online Marketing
  • WordPress Support
    • Customized WordPress Training
    • 60-for-60 Sessions
  • Web Applications
  • Blog
    • At-A-Glance
    • Blog Articles Grouped by Category
    • Case Studies
    • General
    • Portfolio
    • Reviews
    • Snippets
    • Techniques
    • Projects
  • Contact
    • Purchase Retainer Consulting Hours
    • About Retainer Consulting Hours
    • Book a Meeting with Jeff
    • Tell Me About Your Web Project
    • nSiteful Newsletter Archives
    • nSiteful Rewards

Snippets

Code snippets I want to have handy. You might, too.

CSS Grid: Shortest CSS Grid Tutorial EVER!

January 26, 2022
I've been a reluctant/late adapter of the Flexbox and CSS Grid layout systems. I'm not proud of that, but it is what it is. After reading and watching a boatload of tutorials and videos on these systems, I got the idea that I should dive into Flexbox first — and I did. But then I watched a Kevin Powell video on how easy it is to get started with CSS Grid, and I was converted.
Tags: CSS  ♦  CSS Grid

Genesis: How to Hide the Mai Lifestyle Pro Banner Area With Code

June 15, 2020
Mai Lifestyle Pro, a popular Genesis child theme, supports banner areas after the header. Banner areas with banner images — much like featured images — can add interest to a post and provide subliminal context. However, the default behavior of the banner area presents a potential problem. Namely, if you want to display the banner area on only some posts, there's no quick and easy way to hide the banner area from the posts on which you don't want it to appear. But there's a solution, involving just a few lines of code.
Tags: Genesis  ♦  Mai Lifestyle Pro  ♦  WordPress

Responsive Lightbox by dFactory: Make it Work with FooGallery

July 23, 2016
This is a repurposing of an earlier blog article, First Look at Foo Gallery. I wanted to make it easy for people to find this solutions for making FooGallery and Responsive Lightbox by dFactory work together.
Tags: FooGallery  ♦  Media  ♦  Plugins  ♦  WordPress

Display WordPress and WooCommerce Tags as Lists

May 13, 2016
Instructions for displaying a tag cloud as a list in WordPress and WooCommerece.
Tags: php  ♦  Taxonomies  ♦  WooCommerce  ♦  WordPress

PHP: Get All User Constants

October 22, 2015
Sometimes I want to see all the constants I have defined. Here is some diagnostic PHP I use for displaying all user-defined constants.
Tags: Diagnostics  ♦  php

PHP: Get All User Functions

October 21, 2015
Sometimes I want to see all the user-defined functions that are in memory when a page loads. Maybe the page doesn't need certain functions and I can realize performance improvements by removing them. And sometimes — I'm being candid here — I copy functions from one application into a library file for another and don't need any of them for the current application. This function, offering some diagnostic PHP, helps.
Tags: Diagnostics  ♦  php

PHP: Get All Included Files

October 20, 2015
Sometimes when developing, it's helpful to echo some diagnostic information to the screen. Here's some simple diagnostic PHP I use for displaying all included files.
Tags: Diagnostics  ♦  php

CSS Tooltips: How to Create Tooltips with CSS (Only)

July 27, 2015
CSS is so big that unless we work with it diligently on a day-to-day basis — and live long enough, we're likely to be dealing with just the tip of the iceberg. In this article, I show a simple technique for creating tooltips with nothing more than CSS (no JavaScript). Hat-tip to Travis Neilson, whose DevTips YouTube channel is very informative and a real hoot.
Tags: CSS

MySQL: Update table using subquery, Excel data

February 26, 2014
Here’s a snippet of SQL code and a procedure for updating a MySQL database table using a subquery and data from Microsoft Excel (or similar). Perhaps you could adapt this solution to your own situation.
Tags: Excel  ♦  MySQL  ♦  SQL

PHP Shortcode: Custom extensible PHP shortcode function for non-WordPress Web sites

September 30, 2013
In this article, I'll share a custom PHP shortcode function I use for my non-WordPress Web sites to improve their maintainability. This function mimics the WordPress shortcode feature.
Tags: php  ♦  WordPress
  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Go to Next Page »

Footer

Background

Web Sites | WordPress Support | Web Applications.

Formally trained in liberal arts and education (I have a B.A. in Government from Harvard and studied Secondary Education at Rutgers Graduate School), I have honed my skills in the communication arts and sciences as a teacher, trainer, instructional designer, writer, photographer, calligrapher, helpdesk manager, database programmer, and multimedia developer.

(I've also been a group counselor, waiter, bartender, bicycle messenger boy, computer salesman, carpenter's helper, financial analyst, and school board president.)

Tech

Systems since 1983.
Web sites since 1994.
PHP since 2001.
WordPress since 2007.

Contact

Book Meeting
770-772-5134
Email Jeff
Send Money
All Ways

Copyright 2026, nSiteful Web Builders, Inc.

Cookies Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
https://iframe.mediadelivery.net/embed/392008/42d18bc1-2adc-4741-b733-053d08d09c32
https://vz-000c5976-3ab.b-cdn.net/42d18bc1-2adc-4741-b733-053d08d09c32/play_720p.mp4

Receive occasional emails from Jeff