Using ScrollReveal.js in a WordPress Genesis Theme
…are passed in between the quotes, for example the above circles are marked up like so: <div> <div data-sr=”enter left wait 2.5s and then ease-in-out 100px reset”></div> <div data-sr=”enter top…
Read MoreUpgrade MySQL Database from 5.5 to 5.6 on macOS 10.8 Mountain Lion
…errors on the first run, run the command again Restart MySQL sudo /usr/local/mysql/support-files/mysql.server restart Check the Version /usr/local/mysql/bin/mysql Set MySQL Password /usr/local/mysql/bin/mysqladmin -u root password ‘yourpasswordhere’ my.cnf In the latest…
Read MoreCreate Tabbed Content in WordPress with ACF Repeater and Tabslet
…now needed is setting up the jQuery plugin: Tabslet for the tab functionality. Setting up Tabslet for the Tabs Download the latest Tabslet and file in your js folder the…
Read MoreGenerate SSH Private and Public Keys in macOS Big Sur
…Change into the .ssh directory and list the contents of that .ssh directory cd .ssh ; ls -la -rw——- 1 username staff 887B Jun 1 11:35 id_rsa -rw-r–r– 1 username…
Read MoreDeploying a WordPress site via Git Hooks on a ServerPilot Server
…and to destinations #!/bin/sh git –work-tree=/srv/users/sysuser/apps/domain-app-name/public –git-dir=/srv/users/sysuser/wpstaging.git checkout -f So above change the app name and system user name to your settings and save the file. Make sure the hook…
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 MoreSticking An Element To The Top Of The Browser After Scroll
…both minified JS file from the latest WayPoint release: jquery.waypoints.min.js sticky.min.js Enqueue the Scripts https://gist.github.com/neilgee/69738b40563ac6753d2946dbb50e4ed2#file-functions-php Enqueue the scripts along with a firing script it is important that these are loaded…
Read MoreDifference between a Symbolic Link and a Finder Alias in macOS
…link on the command line using the command ln with a -s parameter like so: ln -s target-file-folder alias-file-folder So you target the destination then the alias, which will be…
Read MoreAdd an Extended Store Schema Type to ‘Business Profile’ WordPress Plugin
Business Profile WordPress plugin feeds some rich Google microdata schema to search, you can extend what is available in the plugin to other known schema for a business. This example…
Read MoreAdding a Dashicon to a Custom Post Type in WordPress
…=> __(‘Edit Coach and Mentor’), ‘new_item’ => __(‘New Coach and Mentor’), ‘view_item’ => __(‘View Coach and Mentor’), ‘search_items’ => __(‘Search in Coach and Mentor’), ‘not_found’ => __(‘No Coach and Mentor…
Read More