Home / Archive / Insert Template at the Bottom of the Mobile Menu
Duplicate Snippet

Embed Snippet on Your Site

Insert Template at the Bottom of the Mobile Menu

The following snippet can be used to insert a custom template in the bottom region of your mobile menu. Simply replace YOUR_TEMPLATE_ID with the ID of the template you wish to display.

Code Preview
php
<?php
/**
 * Insert template at the bottom of the mobile menu.
 */
add_action( 'wpex_hook_mobile_menu_bottom', function() {
    echo do_shortcode( '[wpex_template id="YOUR_TEMPLATE_ID"]' );
} );

Comments

Add a Comment