Registering & Displaying Menus

Registering & Displaying Menus

sketch of html list menus

Adding or Registering menus to a WordPress website has frequently been a challenge which is why I believe it deserves its own post as we learn about register_nav_menus() then adding those Navigation Menus to our theme. At first glance the process appears simple, add a function to functions.php to “register” the menus. functions.php // Register … Continue reading “Registering & Displaying Menus”

Building A Basic WordPress Theme

scratch-jd and its contents

Creating a WordPress theme only requires three files. style.css, index.php, functions.php. However since we’ll be needing them later lets include header.php and footer.php. Some of the code samples get a little busy in this section so I’ve provided them in a Bitbucket snippet for easier reading and download. Tip: Before beginning consider setting wp_debug to … Continue reading “Building A Basic WordPress Theme”

WordPress Development with LAMP

While I choose to develop for WordPress using LAMP there are alternatives such as MAMP, WAMP, XAMPP as well as services that provide a sandbox development environment such as Desktop Server and Local by Flywheel. This post only covers setting up WordPress using Ubuntu 20.04 Focal Fosa. Installing WordPress for Local Development with LAMP LAMP … Continue reading “WordPress Development with LAMP”