PHP parse/syntax errors; and how to solve them – Stack Overflow
Source Stack Overflow
Source Stack Overflow
Source: Stack Overflow PHP . (dot/decimal point) What does a . (dot) do in PHP? (Source: Stack Overflow) “.” and “.=” String Operators (Source: PHP.net manual) There are two string operators. The first is the concatenation operator (‘.’), which returns the concatenation of its right and left arguments. The second is the concatenating assignment operator (‘.=‘), which…
home_url() is faster and secure than get_option(‘home’) – Source Example using “/” (source): Output (echo): http://www.example.com/
1. Register a new menu in WordPress admin Use WordPress’s register_nav_menus to register the menu so it appears in Appearance > Menus > Menu Locations. Place the below PHP code in Code Snippets plugin: Important: In the Code Snippet plugin, right below the PHP code, make sure and choose Run snippet everywhere. Otherwise the newly-registered…
Resources: Using Action & Filter Hooks – Themify Kadence Theme Hooks – Kadence WP Test hooking into kadence_before_content to display text before all content in my Kadence WordPress theme: Next up, figure out how to add the below wp_nav_menu() function to the Kadence theme’s header.php via a WordPress hook: An In-Depth Guide to Create and Customize a…
Using the free Kadence WordPress Theme and the premium Kadence Theme Pro Addon plugin. These are resources that I’ve found useful: How to show a widget area using a Hooked Element in Kadence – Webnolo Category Archive Template in Kadence Child Theme – Webnolo

Very cool plugin from By Diana Koenraadt. Plugin replaces selected Category links / Post Tag links / Custom taxonomy links in a Custom Menu by a list of their posts/pages. I created a Custom Post Type (CPT) called “Clients” and a Custom Taxonomy called “Client Status.” Then, within the Client Status custom taxonomy, I created 2…
Late Monday night, Nov 15, 2021, I came across CSS-Tricks’ article Look Ma, No Media Queries! Responsive Layouts Using CSS Grid. This would be perfect for building a particular section of Tom Gordon‘s new music recording studio website. The goal: a 3 column x 2 row layout on desktop that changes shape as the screen gets…
Old host has email and website (in cPanel) New host has domain name that points to old host Customer sends & receives emails via Gmail Goal: do NOT lose 10 years-worth of emails that are on old host when moving to new host 1. Make a backup of Gmail: Export backup of Gmail using Google…
Boiling a music studio’s website architecture down to its basics: Projects (Custom Post Type): Album cover art, album title, release date, record label, genre. Project (Custom Taxonomies): Music Production, Film, Advertising, Live Shows. Clients (Custom Post Type): Name, logo, promotional picture. Production Staff (Custom Post Type): Name, image, biography. Production Role (Custom Post Type; which…