Create Multiple Marker Map from ACF Google Map Location Field from a CPT
…is the default setting which I have uncommented to stop the World Map being repeated } } Shortcodes for Map Output Single shortcode [themeprefix_single_marker] https://gist.github.com/neilgee/a8cf60790c275508c03dd06bc5b48683#file-single-short-code-php Multiple shortcode [themeprefix_multiple_marker] https://gist.github.com/neilgee/a8cf60790c275508c03dd06bc5b48683#file-multiple-short-code-php…
Read MoreAdd WooCommerce MyAccount Page Login/Logout to Menu
This code adds a login/logout link to your WordPress primary menu to log the user into the WooCommerce My Account page and then also log out to the same or…
Read MoreAdd a Custom Header Image in Genesis Sample Theme
…preferred size of 400x150px but having a flex-width and flex height setting so a user can actually use any size. If you don’t want want the flex setting just remove…
Read MoreFilter Custom Post Types by Taxonomy in WP Admin Dashboard
…of a linked custom taxonomy terms which are filterable via the filter button next to it. The code goes in functions.php https://gist.github.com/neilgee/d911b51c0a35816959c1dc5a26464266 So change to your CPT – example uses…
Read MoreAdding 7G WAF Firewall for NGINX to CloudPanel
…currently not available from developer only in Apache version – for directory restrictive access have a look at these two URLS: https://community.hetzner.com/tutorials/restrict-access-by-ip-or-password-in-nginx and https://serverfault.com/questions/279517/nginx-restrict-directory-access-by-ip ar Could you write a manual…
Read MoreOutput The Featured Image in a Loop as a Linked Media Image
Instead of linking a featured image to a post permalink in a loop – here is how you can link to its original image of itself. https://gist.github.com/neilgee/b5df702da5ef092b4cd48d57dec32768 So above, the…
Read MoreAligning Last Item to the Bottom of a Container in Flexbox
Kerry do you have a codepen for this? Neil Gowran I have a working example here – http://saltuary.com.au/prices/ Kerry Webster Thanks you sir. DC Dude you are awesome! Eo Awesome!…
Read MoreCreating Audio MP3 Playlists in WordPress with inbuilt MediaElement
With the release of WordPress 3.9 comes the in-built functionality to use Audio Playlists which is pretty cool. These Audio files have to be local to the WordPress installation unfortunately…
Read MoreRestart Start Stop MySQL Server from Command Line, macOS, Linux
…restart On macOS Big Sur, Sierra & OSX to start/stop/restart MySQL post 5.7 from the command line: sudo launchctl load -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist On OS X…
Read MoreMaking A Boot USB Disk of macOS 10.9 – 10.15 via Terminal and GUI
…/Applications/Utilities and enter the command below and then your password when prompted, be sure to change the ‘Untitled‘ name in the below command to your external disk name: sudo /Applications/Install\…
Read More