Add a Swap Partition to a Ubuntu 22.04 instance
…/etc/fstab Check swappiness level – should be 10: cat /proc/sys/vm/swappiness Output 10 If not, make it 10: nano /etc/sysctl.conf vm.swappiness=10 That’s it, you can check with free -m: root@mel1:~# free…
Read MoreAdd Monit to monitor MariaDB or MySQL database on a CloudPanel instance on Ubuntu 22.04
…port number – use http protocol or configure https for use. You can now also view the Monit stats via the command line with: monit status Email Alerts Email alerts…
Read MoreUsing wp-cli commands to create and import WordPress databases
…This will delete the actual database. Create a new WordPress database wp db create This will create a brand new database. Import a WordPress database wp db import awordpressdb.sql This…
Read MoreIn macOS, show the difference of 2 folders / files in the Command Line
In macOS, you can compare and show the differences of files in two folders in the Command Line by using the diff command. With folders you use rq as an…
Read MoreMoving Custom Post Types Higher Up the Admin Menu in WordPress Dashboard
…Lien’), ‘edit_item’ => __(‘Edit Tax Lien’), ‘new_item’ => __(‘New Tax Lien’), ‘view_item’ => __(‘View Tax Lien’), ‘search_items’ => __(‘Search in Tax Liens’), ‘not_found’ => __(‘No Tax Liens found’), ‘not_found_in_trash’ =>…
Read MoreAdd a Full Width Row Above Footer Widgets in Genesis Child Theme
…Great tutorial! We used it here https://www.greenhostit.com to create a new widget above the footer. Shari HI! I assume everyone has figured this out by now but if not, to…
Read MoreCreate a Middle Header Widget Area for a Genesis Child Theme
…in the adjusted code above, the new widget area is positioned just before the header-right. The new header-middle widget has 3 CSS classes assigned, two of them are common with…
Read MoreRemove the Additional Information and Order Notes fields in WooCommerce
…to display the customer order details. I have seen an alternate method in the tutorial https://www.wpblog.com/display-woocommerce-customer-order-details/ to get customer details from orders but still having issues while displaying the order…
Read MoreInstall and Configure wget on macOS
…make an install. To compile the code you need a compiler, unfortunately, it doesn’t come with macOS by default you need to install the free Xcode suite from Apple which…
Read MoreChanging the Customizer Values & Presets for the Beaver Builder Theme
Here is a quick way to override the active preset that comes with the Beaver Builder Theme in the Customizer. This may come in handy if you need to start…
Read More