MainWP Blog

Tips & Tricks
Sebastian Moran

How to easily add ACF fields to the Registration Form in WooCommerce

WooCommerce is a well-used e-commerce plugin for WordPress. You may find yourself in the position of needing to easily add additional fields to the registration form on My Account on one of your child sites. Luckily, there is an easy way to add additional fields using Advanced Custom Fields. First, you will need to install and activate the ACF plugin on your child site. Next, you will need to create a group of the fields you want to display on the WooCommerce registration form. Look for the admin menu called as follows; Field Groups Then click on Add New. You

Tips & Tricks
Sebastian Moran

Using the Better Detection Plugin on your Child Site

If you need a lightweight option for tracking content changes made directly into a site’s database, one plugin which can help is Better Detection. Better Detection is best used In the case where a site might have been hacked, or content for malware was inserted into a site. Once the plugin has been installed and activated, it will add a submenu in wp-admin on; Better Detection Settings The plugin will add two tabs for errors and options. The errors will be in the form of content which has been directly changed in the site’s database, and not from wp-admin. In

Using the Better Speed Plugin to Reduce WordPress Core Request Files
Tips & Tricks
Sebastian Moran

Using the Better Speed Plugin to Reduce WordPress Core Request Files

WordPress (by default) will load a number of assets on the front-end of your Child Site, which will slow it down by adding a number of requests for features you may not be using. Some of the requests that WordPress core adds on load include emojis, embeds, dashicons, jQuery migrate, XML-RPC, pingbacks, generator tag, short link, Windows live writer manifest tag, and the RSD generator. There is an easy-to-use plugin called Better Speed, which will allow you to disable those assets from loading on the front-end of your site. After you have installed and activated the plugin it will add

Handy Code Snippets for the Yoast SEO Plugin
Tips & Tricks
Sebastian Moran

Handy Code Snippets for the Yoast SEO Plugin on your Child Sites

Yoast SEO is a well-known, easy-to-use plugin for SEO. Yoast SEO has a number of code snippets that can be saved to limit or disable specific functions. MainWP has an amazing extension for code snippets, which easily allows you to apply code snippets to your child sites. We have taken the time to save out a number of handy code snippets for Yoast SEO into the code snippets GitHub repo. A common bug in Yoast SEO is when you update the plugin, it can redirect to the about page and tour page. You can use this code snippet so this

Code-Snippets-for-Gravity-Forms
Tips & Tricks
Sebastian Moran

Handy Code Snippets for Gravity Forms on your Child Site

Gravity Forms is a solid, easy-to-use form plugin which has a number of add-ons and free plugins. Gravity Forms has a number of filters, actions, and hooks which allow you to modify most parts, using code snippets. MainWP has an easy-to-use extension for code snippets, so you can save a code snippet to any connected child site. The first of the useful code snippets for Gravity Forms is to change the default save and continue function in Gravity Forms, from the default of 30 days to a longer 90 days. The second snippet is to disable automatic plugin updates for

Tips & Tricks
Sebastian Moran

Removing the Cerber Security Plugin Data from your Child Site

Security plugins on your child site can help find security issues and help block specific users, but one thing to be aware of is security plugins which end up causing serious performance issues. One such security plugin is Cerber Security, which has been known to cause performance issues on sites. Ceber Security plugin will end up making a number of request to plugin files, as well as causing high CPU usage, due to the amount of PHP resources that it ends up using. When deactivated and uninstalled, the plugin will still leave behind a number of options and database tables.

Why not to use the WooCommerce Customer History Plugin
Tips & Tricks
Sebastian Moran

Why not to use the WooCommerce Customer History Plugin

WooCommerce is a solid, easy-to-use plugin for adding e-commerce to an existing WordPress site. Since WooCommerce is running in WordPress, it means there are many plugin options out there. One useful plugin is WooCommerce Customer History. The plugin will track how customers browse the site, which would allow you to see the products customers are browsing. But when used on a site, the plugin will add a slow admin-ajax.php POST request on every page, which will add a delay of 300-500ms on every post, page, and product on the site. Tracking analytics in a site’s database is never a good

Tips & Tricks
Sebastian Moran

How to Migrate from MailChimp to EmailOctopus

Mailchimp is a solid provider for sending out email campaigns. Mailchimp recently made a change to expand out as a full service, all-in-one marketing platform, which means the pricing will increase, as Mailchimp will include the number of users who unsubscribed on a list to the total count. There is a solid alternative to Mailchimp, which also includes reasonable pricing at all list count levels, EmailOctopus. EmailOctopus uses AWS SES to send out emails, which means email campaigns are reliable to send. First, you will need to signup for an EmailOctopus account. You could try the shrimp plan, which includes

How to Remove VaultPress Plugin Data from a Child Sites Database
Tips & Tricks
Sebastian Moran

How to Remove VaultPress Plugin Data from a Child Sites Database

VaultPress is a backup plugin, built by Automattic. VaultPress can also cause the site installation to bloat the database for postmeta and option entries. Some of the examples of the bloat will be in these option names, created by the plugin; vaultpress vaultpress_allow_forwarded_for vaultpress_service_ips_external_cidr _vp_ai_ping _vp_config_post_meta_name_ignore _vp_config_should_ignore_files _vp_current_scan _vp_signatures The option name which can cause the most issues is _vp_ai_ping. On some sites, _vp_ai_ping  has entries which have been known to bloat the site’s options database table with 300-500MB of data. VaultPress plugin has an option in its settings to delete all VaultPress settings.   When the VaultPress plugin is

Handy iThemes Security Constants
Tips & Tricks
Sebastian Moran

Handy iThemes Security Constants

iThemes Security plugin is an easy to use security plugin for your child sites. One of the lesser known things about iThemes Security is that the plugin includes a number of constants, which can be added to your child site’s wp-config.php file to set certain things on or off. MainWP has an amazing code snippets extension, which allows you to set constants from the MainWP Dashboard site. This means that any of these constants for iThemes Security plugin can easily be saved to any connected child sites. If you had issues with emails being sent from iThemes Security plugin, or

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.