Title: Shortcode does not render
Last modified: February 6, 2026

---

# Shortcode does not render

 *  Resolved [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/shortcode-does-not-render/)
 * Hi Ollie
 * I am adding shotcode block to a mega menu and then this:
 *     ```wp-block-code
       [product_categories columns="2"  parent="16" orderby="menu_order"]
       ```
   
 * It renders across the site, but not in menu. Do you have any suggestions/ideas.
   It should display [like so](https://snipboard.io/8YTWCE.jpg).
 * Thx
    -  This topic was modified 4 months, 2 weeks ago by [hebhansen](https://wordpress.org/support/users/hebhansen/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Mike McAlister](https://wordpress.org/support/users/mmcalister/)
 * (@mmcalister)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/shortcode-does-not-render/#post-18814620)
 * Hey there,
 * Thanks for the message. Menu Designer leans heavily into blocks, so we can’t 
   guarantee that shortcodes work here. I would try to use the block version of 
   that shortcode of possible. If you are using Woo, you can use blocks to get product
   categories instead. The blocks will render fine.
 *  Thread Starter [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/shortcode-does-not-render/#post-18814712)
 * hi [@mmcalister](https://wordpress.org/support/users/mmcalister/)
 * could you more specifically lead me to a block that renders Product Categories
   with featured image and title.
 * I have added the shortcode in the shortcode block if that’s what you mean
 *  Plugin Author [Mike McAlister](https://wordpress.org/support/users/mmcalister/)
 * (@mmcalister)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/shortcode-does-not-render/#post-18833629)
 * Hey there apologies for the delay. It looks like Woo doesn’t have a product category
   image block yet, but it’s in the works!
 *  Plugin Author [Mike McAlister](https://wordpress.org/support/users/mmcalister/)
 * (@mmcalister)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/shortcode-does-not-render/#post-18847248)
 * Hey there, just a heads up that in the next update we’ve added shortcode support.
   That update will be out shortly.
 *  Thread Starter [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/shortcode-does-not-render/#post-18849632)
 * This did the trick for me in functions.php. Let me know if it conflicts with 
   the solution you have applied. Note: this specifically triggers the shortcode
   amelia_menu_events. After next release I will test your solution.
 *     ```wp-block-code
       // Allow shortcode inside Ollie navigationadd_filter('render_block', function($block_content, $block){    if (!empty($block['blockName']) && $block['blockName'] === 'core/navigation') {        if (has_shortcode($block_content, 'amelia_menu_events')) {            $block_content = do_shortcode($block_content);        }    }    return $block_content;}, 10, 2);
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-does-not-render%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/ollie-menu-designer/assets/icon.svg?rev=3360617)
 * [Ollie Menu Designer](https://wordpress.org/plugins/ollie-menu-designer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ollie-menu-designer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ollie-menu-designer/)
 * [Active Topics](https://wordpress.org/support/plugin/ollie-menu-designer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ollie-menu-designer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ollie-menu-designer/reviews/)

## Tags

 * [product categories](https://wordpress.org/support/topic-tag/product-categories/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 2 participants
 * Last reply from: [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * Last activity: [3 months, 1 week ago](https://wordpress.org/support/topic/shortcode-does-not-render/#post-18849632)
 * Status: resolved