Kadence WP – Remove Column From Content Flow On Mobile

Goals: 1) On desktop, laptop, tablet: fill screen with 2 columns (that have unique content in each column). 2) On mobile phone: display only 1 column (and its content) and remove the other column (and its content) from the content flow. The final CSS that accomplishes the goal The desktop layout is made using the…

Add New Menu to WordPress Site Using Code

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…

WordPress Action & Filter Hooks

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…