Skip to main content

Command line interface

Blog MX provides a command line interface (CLI) for managing layout updates across all store views and active themes. This is especially useful when switching themes, customizing widget templates, or troubleshooting layout issues.

Available commands

1. Update blog layouts

bin/magento mirasvit:blog:update-layout

What it does: Updates all Blog MX widgets and layouts across active themes and store views. Use this after:

  • Changing or customizing your Magento theme
  • Modifying widget templates
  • Enabling a new store view

2. Repair blog categories table

bin/magento mirasvit:blog:repair

What it does: Repairs the mst_blog_category database table. Use this command if you experience issues with category visibility or structure.