Best Practices For Changing Your Email Marketing Provider

Reading Time: 3 minutesIf you are using one of our Managed application platforms like ManagedWooComerce or Managed WordPress, now may be an optimal time to look into switching your email provider to a different service. managed email MailChimp made a change earlier in the year to become more of a marketing platform, which was also accompanied by a pricing increase in their plans. Due to this change, we have reviewed several reliable options which may make choosing a replacement easier! We considered three other services which may be a better alternative; they are EmailOctopus, Moosend, and MailBuster.  Continue reading “Best Practices For Changing Your Email Marketing Provider”

Increase WooCommerce product variation limit

Reading Time: < 1 minuteHow can I increase the number of default product variations in WooCommerce? A WooCommerce variable product is a standard product type which allows you to offer a group of variations (different sizes, colors, prices and so on) in a product to your customer. This simply means that it shows a wider array of attributes which your customers can choose from. In order to modify this setting, SSH into the server and open your functions.php file located here: /wp-content/themes/YOUR_THEME/functions.php Now, let’s modify the variable: Constant – WC_MAX_LINKED_VARIATIONS vs Filter – woocommerce_ajax_variation_threshold

How To Delete Post Revisions using WP-CLI

Reading Time: 2 minutesThere may be times when you need to clean up post revisions created on your site. This is possible, using the commands already available in WP-CLI. WP-CLI has a wp post delete command which can be used to delete post revisions. Post revisions are changes made to content on your site, over time those post revisions on your site can mount up. The following directions assume you are using one of Liquid Web’s Managed WordPress or Managed WooCommerce products. You can also use these techniques with other WordPress installations, just be sure to run the commands from the primary WordPress installation folder. Continue reading “How To Delete Post Revisions using WP-CLI”

How To Verify WordPress Checksums Using WP-CLI

Reading Time: 2 minutesIf you do not keep site plugins updated along with WordPress core updated, then you run into the chance of your site being hacked or infected by Malware. If your site does get infected by malware, a way to easily find any of the non-standard WordPress core and plugin files is by using the verify checksums commands in WP-CLI (the WordPress Command Line Interface). Continue reading “How To Verify WordPress Checksums Using WP-CLI”

How to Migrate from Shopify to WooCommerce

Reading Time: 3 minutesShopify is a hosted e-commerce platform which can make setting up a store easy for most customers. Unfortunately, Shopify can get expensive when you need to scale up, plus there is a cost per transaction for each order. WooCommerce is an open plugin which can be installed on your existing WordPress site which, along with other plugins, will turn your store into a fully fledged eCommerce store. You can also get a fully-managed WordPress/WooCommerce store with Liquid Web’s Managed WooCommerce Product. Continue reading “How to Migrate from Shopify to WooCommerce”

Bulk Delete Pending Payment Orders In MWCH

Reading Time: 2 minutesThere may be times when bulk deleting orders becomes necessary, such as orders which have been moved to the trash, or orders with the status of payment pending on a store. Deleting orders from wp-admin can be a slow, tedious process, even if you increase the number of orders that load at one time from the default value of 20 in the screen options. Continue reading “Bulk Delete Pending Payment Orders In MWCH”

How to Redirect URLs Using Nginx

Reading Time: 3 minutes

What is a Redirect?

A redirect is a web server function that will redirect traffic from one URL to another. Redirects are an important feature when the need arises. There are several different types of redirects, but the more common forms are temporary and permanent. In this article, we will provide some examples of redirecting through the vhost file, forcing a secure HTTPS connection, redirection to www and non-www as well as the difference between temporary and permanent redirects. Continue reading “How to Redirect URLs Using Nginx”

Resolving WooCommerce Plugin and Theme Issues

Reading Time: 3 minutes

What is WooCommerce?

WooCommerce is a WordPress based plugin used by many small to medium-sized businesses for building, tracking and maintaining an easy to use e-commerce solution. Because WooCommerce is updated regularly with new releases, online sellers can add new and existing features frequently, along with resolving any known bugs or security vulnerabilities. WooCommerce is actively installed on over 4 million WordPress sites and is used to drive e-commerce sales on a significant number of websites. Continue reading “Resolving WooCommerce Plugin and Theme Issues”

Delete Posts and Comments from Action Scheduler

Reading Time: 2 minutes

The Action Scheduler is a background processing, queue job runner which is built into WooCommerce core. A number of plugins use the Action Scheduler, WooCommerce Subscriptions and WooCommerce Follow-Ups being two of the best known.

WP-CLI makes it easy to delete posts and comments which have been created by the Action Scheduler in WooCommerce. There may be cases where the Action Scheduler might create a large number of posts and comments on your live site, and you want to clear up the data from the site’s database.

Delete Comments from Action Scheduler

To delete comments created by the Action Scheduler, you can run this wp-cli command:

wp comment list --field=comment_ID --'comment_author'='ActionScheduler' --number=1000 | xargs wp comment delete --force

The number can be increased if you have more comments that need to be deleted to 2000 or higher.

Delete Bulk Posts from Action Scheduler

To delete all the scheduled-action posts, you can run this wp-cli command:

wp post list --field=ID --post_type=scheduled-action --posts_per_page=1000 | xargs wp post delete --force

The number can be increased if you have more posts that need to be deleted to say 2000 or higher.

Delete Scheduled Action Posts

To delete all the scheduled-action posts with a post status of trash, you can run this wp-cli command:

wp post list --field=ID --post_type=scheduled-action --posts_per_page=1000 --post_status=trash | xargs wp post delete --force

Delete Bulk Scheduled Actions

To delete all the scheduled-action posts with a post status of cancel,  you can run this wp-cli command:

wp post list --field=ID --post_type=scheduled-action --posts_per_page=1000 --post_status=cancel | xargs wp post delete --force

Conclusion

Using a mix of these commands, you will be able to delete posts and comments easily, using WP-CLI on your site. It will also keep your site database clean, allowing it to run more efficiently.  Take the work out of maintaining your WordPress site with our Managed WooCommerce product.  Our WooCommerce platform comes with free iThemes plugins curated especially for online stores.

Give us a call at 800.580.4985, or open a chat or ticket with us to speak with one of our knowledgeable Solutions or Experienced Hosting advisors to learn how you can take advantage of these techniques today!

What are Common Commands to Update WordPress Using WP-CLI?

Reading Time: 2 minutesWP-CLI is a very handy set of commands. You can run anything that you would run in wp-admin on a WordPress site but from the command line. Useful commands which WP-CLI employs to keep WordPress core updated plugins including the default themes which come with WordPress. Continue reading “What are Common Commands to Update WordPress Using WP-CLI?”