Add Menu Items at the start or end or in a certain place with wp_nav_menu_filter
…underscores and dashes right. Add menu items at the start of a menu with wp_nav_menu_items Change the position of the $items parameter and return a new parameter $new_items that includes…
Read MoreHow to create a TwentySixteen Child Theme in WordPress
…parent theme : /* Theme Name: yourchildthemename-can-be-anything-you-like Theme URI: http://www.greatwebsite.com Description: Designed by <a href=”http://www.greatwebsite.com”>Neil Gee</a>. Author: Neil Gee Version: 1.0.0 Template: twentysixteen Tags: bold purple clean & elegant and…
Read MoreWordPress VVV Vagrant Running Slow on Virtual Box
…work in it all day. Reload vagant vagrant halt vagrant up Check in Virtual Box the new RAM allocation or directly on the box using the command free -m Ref….
Read MoreAdd phpMyAdmin to ServerPilot
…cp 0default/public/phpmyadmin/config.sample.inc.php config.inc.php Add in the new file… $cfg[‘LoginCookieValidity’] = 86400; // 1 day Also add in a 32 hash secret for $cfg[‘blowfish_secret’]): Create a new file .user.ini to match…
Read MoreSet up Cache Warming on RunCloud with Optimus Prime
…to: cd /usr/local/bin Get Optimus Prime and extract the archive: wget -c https://cdn.pmylund.com/files/tools/ocp2/linux/ocp-2.7-amd64.tar.gz -O – | tar -xz Use Optimus Prime manually From the command line use: /usr/local/bin/ocp/ocp https://yourdomain.com/sitemap_index.xml Better…
Read MoreCreate a Widgetized Custom Home Page in Genesis Child Theme WordPress
…The Widgets So 5 widgets need to be created in the functions.php file and an action declared to register the new widgets In the code above a unique function name…
Read MoreUp and running with Sidr Off Canvas Menu for WordPress
…display. Here’s how to get it up and running in WordPress. First up is to download the latest zip which contains a minified jQuery file and 2 CSS styles for…
Read MoreWooCommerce Accordion Style Expand/Collapse Product Category Menu
…site with no credit/author reference. The toggle icons have been marked up with FontAwesome5 regular free icons, so either have that loaded or change the markup for something else. https://gist.github.com/neilgee/bd1a0384f5c695355a7991542287d76c…
Read MoreQuery dns/domains in macos using dig and nslookup via the command line
…the command line: dig domain.com or nslookup domain.com The results are returned to you on the command line. Query from a different nameserver To query another different nameserver using dig…
Read MoreUsing the new WordPress custom-logo theme support with Genesis
WordPress 4.5 added a new theme support feature for using a custom logo which allows a logo to be uploaded and used via the Customizer, this guide take you through…
Read More