Add a Swap Partition to a Ubuntu 22.04 instance
…avoiding issues such as OOM-Killer (Out Of Memory). Create a 2GB Swap partition: fallocate -l 2G /swapfile Check it: ls -lh /swapfile You should see: -rw-r–r– 1 root root 2.0G…
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 MoreAdding Full Width Top and Bottom Wrap Content into Genesis Child Theme
…conditional statement – https://gist.github.com/neilgee/9b7e9ce1d2558bd33cf5 Neil Gee You can limit it to the front page with a conditional statement – https://gist.github.com/neilgee/9b7e9ce1d2558bd33cf5 Nelson Hello, I’ve checked the site to see the sylesheet…
Read MoreAdd Monit to monitor MariaDB or MySQL database on a CloudPanel instance on Ubuntu 22.04
…Sat 2023-06-17 16:23:58 AEST; 42s ago Get the monit version monit –version View and tail the monit log tail -f /var/log/monit.log Configure Monit Back up the original monit config file…
Read MoreFix FOUC ‘flash of unstyled content’ on WordPress
…is ready is a good way to combat FOUC. add_action(‘wp_head’, ‘fouc_protect_against’); /** * Combat FOUC in WordPress * @link https://stackoverflow.com/questions/3221561/eliminate-flash-of-unstyled-content */ function fouc_protect_against () { ?> <style type=”text/css”> .hidden {display:none;}…
Read MoreAdd a Slider to the Home Page in Genesis Theme WordPress using Cyclone Slider
…full width*/ .cycloneslider { max-width: none !important; } .cycloneslider img { width: 100%; } .cycloneslider-template-standard .cycloneslider-slides { max-height: 350px; } Add the above CSS to your style.css to make the…
Read MoreMigrating WordPress MultiSite to a New URL
…WordPress should resemble RewriteEngine On RewriteBase / RewriteRule ^index.php$ – [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule…
Read MoreAdd full screen window canvas to back to icons when searching in Beaver Builder
…former glory. .fl-icon-selector .fl-lightbox { height: 100%; width: 100%; margin-top: !important; } Add the above code to your theme’s style.css. Full screen canvas is restored, easier to search and select…
Read MoreInstall and Configure wget on macOS
…it done, wget will be installed in: /usr/local/bin/wget Clean Up Remove the source code and compressed file: rm -rf ~/Downloads/wget* Test wget cd ~/Downloads wget http://ftp.gnu.org/gnu/wget/wget-1.19.5.tar.gz Everything should work out fine – if…
Read MoreReset Forgotten Admin Password on macOS Monterey and macOS Big Sur
…of the screen and select Terminal At the prompt type ‘resetpassword’ (hit enter) Reset Password macOS Monterey and Big Sur This launches the Reset Password screen, select the Volume Hard…
Read More