MainWP Blog

Tips & Tricks
Sebastian Moran

Using Plausible Analytics on your Child Sites

If you are looking for a privacy-focused, lightweight, and simple web analytics solution for your child sites, then I would recommend looking at using Plausible Analytics. Plausible Analytics script is only 1KB in size which means it will not slow your site down by having to load a number of scripts on load like a number of other analytics solutions like say Google Analytics. You can sign up for a free 30 day trial that does not require a credit card and then if you decide that Plausible Analytics is the right solution for your site then the pricing starts

Tips & Tricks
Sebastian Moran

Useful Code Snippets for the ShortPixel Image Optimizer

ShortPixel is a well-used plugin for image optimization on sites. The plugin includes a number of filters and constants. You can hide your ShortPixel API key from the plugin’s settings by defining the API key in a constant in the sites wp-config.php file. Replace out the APIKEY with your actual API key for ShortPixel. define(‘SHORTPIXEL_API_KEY’, ‘APIKEY’); define(‘SHORTPIXEL_HIDE_API_KEY’, true); If you are using the ShortPixel plugin and service on sites which are hosted on FlyWheel then you might run into an error saying that flock (file locking) has been disabled for security reasons by using this constant in your sites wp-config.php

Tips & Tricks
Sebastian Moran

Using the AcyMailing plugin for Sending Email Newsletters

Being able to send reliable newsletters from your site is a complex issue to deal with. There are a number of plugins out there for sending out email newsletters from your site. One of the best options for being able to send email newsletters is the AcyMailing plugin. The AcyMailing plugin adds a clean UI into wp-admin after the plugins have been installed and activated. Go through the configuration settings in AcyMailing to setup the mail settings first. You can use your own SMTP server or an external SMTP server such as Gmail or Elastic Mail. Next, you will need

Tips & Tricks
Sebastian Moran

Using the FluentCRM plugin on your Child Sites

There is a new marketing and CRM solution for WordPress called FluentCRM. FluentCRM has all of the features which you would inspect to be in SaaS CRM solutions. After you have installed and activated the FluentCRM plugin on your site it will walk you through the setup wizard. After you have completed through the setup wizard you can get started by importing your existing contacts or if needed to create new lists, tags, or use dynamic segments. It is straightforward to create automation funnels in FluentCRM. The free version of FluentCRM supports being able to use categories from WordPress or

Tips & Tricks
Sebastian Moran

Using Diffy Service to Compare Before and After Plugin Updates on your Site

Being able to easily run a visual compare when plugins have been updated on your site and then to make sure that nothing was broken visually can be a very complex process to deal with. But there is a solid service which deals with this called Diffy. Diffy also provides an easy to use WordPress plugin to be able to integrate it with your site. Visual testing allows you to confirm any updates did not break anything visually on your site. You will first need to create an account Diffy. Once you have created an account in Diff you will

How to use the Newsletter Glue Plugin on your Child Site

Easily being able to send new posts to site users can be a pain to deal with depending on which service you are using to broadcast new posts to an email list or segment. But luckily there is a new plugin called Newsletter Glue which makes it very simple to publish and post and then have that post sent in a newsletter email to users in a list. Newsletter Glue supports a number of dedicated email newsletter services like Mailchimp, MailerLite, and Sendinblue. When EmailOctopus updates its API endpoints to support creating campaigns on the fly the Newsletter Glue plugin

Tips & Tricks
Sebastian Moran

Using the TrueMail Email Validator Plugin and Service on your Child Sites

Dealing with form submissions from fake or misspelled email addresses can be a pain to have to deal with. If you are using a form plugin that has integrations setup on it then you have to deal with deleting the form entry as well a deleting the form submission which went into a 3rd party service. But there is an easy to use service which now has a WordPress plugin which is TrueMail. First, you will need to install and the plugin and then create an account in TrueMail. After you have created an account in TrueMail you will need

Tips & Tricks
Sebastian Moran

Using the AVIF Next-Generation Image Format on your Sites for Faster Loading Images

Netflix has an amazing track record of pushing for technology changes that help the web and open-source projects. One of the more recent development pushes has been by Netflix is the AVIF next-generation image format. The AVIF image format is meant as a replacement for the JPEG image format but with better compression results. The acronym of AVIF stands for AV1 Image File Format. The format was developed by the Alliance for Open Media in collaboration with Google, Cisco, and Xiph.org. Google Chrome added AVIF image format support in release 85. AVIF image format support is also coming to an

Tips & Tricks
Sebastian Moran

Using the Admin Notices Manager plugin to Clean Up Admin Notices

Admin notices can be an annoying pain to deal with populating the dashboard of a child site with multiple admin notices that may or may not be able to be dismissed. Multiple admin notices can end up being ignored or they end up taking up so much space in wp-admin that it makes it annoying on trying to do anything in wp-admin as you normally would. Admin notices in the dashboard have always been something that ends up being constantly debated on. WordPress is working on a new solution which is WP Notify which should hopefully end up being a

Tips & Tricks
Sebastian Moran

How to remove the iThemes Security Plugin Created Database Tables

There may be times when you need to change which security plugin on your child site to a different security plugin. In this example, this is going to cover how to remove all of the iThemes Security plugin created custom database tables on your site. All of the iThemes Security plugin created custom database tables; wp_itsec_distributed_storage wp_itsec_fingerprints wp_itsec_geolocation_cache wp_itsec_lockouts wp_itsec_logs wp_itsec_mutexes wp_itsec_opaque_tokens wp_itsec_temp wp_itsec_user_groups The iThemes Security plugin does make it easier than most plugins to remove the created custom database tables in they can be removed when you delete to uninstall the plugin. If you delete the iThemes Security

Looking for something?