Learn about the custom shortcodes built in to Mai Theme via the Mai Engine plugin.
The shortcode is a fully-functioning shortcode version of our Mai Icon block. It’s great for putting icons in menus and anywhere blocks are not currently available. We have all Font Awesome 5 Pro icons, in light, regular, and solid styles. Your first step is to decide which icon you want to use. icon (required) This …
Our Mai Cart Total shortcode allows you to display the WooCommerce cart total anywhere you’d like. Note, if you want to show the total in a menu item you may want to check out our Mai Icon shortcode with the cart_total parameter. Example:
Our Mai Avatar shortcode allows you to display a post author’s avatar in your header or footer meta, inside your content, template parts, or anywhere shortcodes can be used. The example below adds the shortcode to the Header Meta text field in Customizer > Theme Settings > Single Content > Post. Here are the available …
Add a search form anywhere in your content. This is good for locations that blocks are not available.
Display a back to top link anywhere on your site.