// call menu with shortcode [menu name="main-menu"]
function print_menu_shortcode($atts, $content = null) {
extract(shortcode_atts(array( 'name' => null, ), $atts));
return wp_nav_menu( array( 'menu' => $name, 'echo' => false ) );
}
add_shortcode('menu', 'print_menu_shortcode');
shortcode
do shortcode
<?php echo do_shortcode('[catlist id=1 numberposts=5)]'); ?>