MinimogWP Documentation
  • Getting Started
    • Welcome to MinimogWP
    • Theme requirements 🔥
    • WordPress knowledge base
  • Support
    • My purchase code
    • How to get support
  • Installation
    • How to install demo
    • Best Elementor Settings
    • Common Installation Issues
  • Update
    • Before Updating
    • Update Theme
    • Optimize theme
  • Build Your Site
    • WordPress configuration
    • Theme Options
    • General Settings
    • Build with Elementor
  • ECOMMERCE FEATURES
    • Product bundles
    • Quantity discount
    • Quantity select
    • Sale countdown timer
    • Product frequently bought
    • Product compare
    • Product wishlist
    • Product quick view
    • Multi-currency switcher
    • Product custom tabs
    • Product variation swatches
    • Variation gallery images
    • Shoppable images
    • Product video & product 360
    • Size guide
  • THEME OPTIONS
    • Theme Styling
    • Site info
    • Logo
    • Top bar
    • Header
    • Navigation
    • Page title bar & breadcrumb
    • Footer
    • Sidebars
    • Blog
    • Shop
    • Search
    • Popup
    • Instagram
    • Login/register popup
    • 404 page
    • Pre loader
    • Advanced
    • Site Identity
    • Widgets
      • How to Create a Sidebar
      • How to Add Widget in Sidebar
      • How to Edit Widget
      • How to Add Sidebar for a Page
    • Homepage settings
    • Additional CSS
    • Additional JS
    • Import/Export
  • PAGES
    • Create a page
    • Change page title
    • Page options
    • Maintenance mode
    • Onepage setup
  • MENU
    • How to create menu
    • How to create Mega menu
    • How to create Category Menu
  • WOOCOMMERCE
    • Enable Elementor for Product details
    • Cart
    • Home
    • Orders
    • Coupons
    • Settings
      • Products
      • Shipping
  • FAQs
    • Things you should know about theme updating
    • WPML plugin
    • Polylang plugin
    • Add custom font
Powered by GitBook
On this page
  • How to best optimize for Minimog theme?
  • Config Elementor settings to get best performance
  • How to choose best server for Minimog theme?
  1. Update

Optimize theme

Follow these steps to improve your page speed and optimize Minimog

PreviousUpdate ThemeNextWordPress configuration

Last updated 9 months ago

How to best optimize for Minimog theme?

1. Disable Gutenberg assets: Usually you only use gutenberg blocks on blog and post pages. So disable them in rest pages to improvement page loading.

  • Open functions.php in your-site/wp-content/themes/minimog-child

  • Then add this following code:

function minimog_child_disable_gutenberg_wp_enqueue_scripts() {
  if( ! is_singular('post') ) {
     wp_dequeue_style('wp-block-library');
     wp_dequeue_style('wp-block-library-theme');
     wp_dequeue_style('wc-blocks-style');
  }
}
add_action('wp_enqueue_scripts', 'minimog_child_disable_gutenberg_wp_enqueue_scripts', 100);

2. Disable WordPress global style:

  • Open functions.php in your-site/wp-content/themes/minimog-child

  • Then add this following code:

function minimog_child_remove_wp_global_styles() {
     remove_action( 'wp_enqueue_scripts', 'wp_enqueue_global_styles' );
     remove_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' );
}
add_action( 'init', 'minimog_child_remove_wp_global_styles' );

3. Disable unused Extendify module from Redux Framework plugin. (This method only applies to Redux Framework plugin version < 4.4.0)

  • Then upload it to your-site/wp-content/mu-plugins/

_______________________________________________________________________________________________________

Config Elementor settings to get best performance

1. Disable default font:

Avoid duplicate fonts load by Elementor and Minimog

  1. Go to Elementor -> Settings -> General -> Tick on Disable Default Fonts box.

2. Edit any page with Elementor -> Site Settings (Click on Bars icon) -> Global Fonts -> System Fonts => Choose font family as ‘Default’ for all settings: Primary, Secondary, Text, Accent

2. Disable Font Awesome 4 Support

New websites don’t need support old Font Awesome version. So choose ‘No’ to disable it then reduce some assets loading for your website.

3. Enable Improved Asset Loading

The “Improved Asset Loading” mode reduces the amount of code that is loaded on the page by default

_______________________________________________________________________________________________________

How to choose best server for Minimog theme?

1. Hosting

We recommended use Nginx hosting.

2. CDN service

3. Used light weight images format Webp

By using WebP format images, you can save over a half of the page weight without losing quality.

Here are instructions for using the Converter for Media plugin to convert images:

4. Caching

We recommended use combine these plugins:

Download this plugin file here:

We high recommended use KeyCDN service ()

To convert images to WebP format, you can use the plugin (Free)

Redis Cache:

Nginx Helper:

Autoptimize:

https://github.com/WordPress/gutenberg/issues/36834
https://drive.google.com/file/d/1MQz45ZL1JkMmt5onCdSqYeTFtpXMssUW/view?usp=sharing
https://www.keycdn.com/
Converter for Media
https://wordpress.org/plugins/wp-redis/
https://wordpress.org/plugins/nginx-helper/
https://wordpress.org/plugins/autoptimize/