• Resolved xirallic

    (@xirallic)


    Hello! I’m trying to add some shortcodes in the dropdown (template part) but they are not converted.
    Are the shortcodes disabled? Or am I missing something?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike McAlister

    (@mmcalister)

    Hi there, shortcodes are not disabled. I’m not sure what kind you are adding, but I can’t guarantee that all shortcodes work here because this is the site editor and most things are done without shortcodes now. I would try to find a block-based solution to make sure it is compatible.

    Thread Starter xirallic

    (@xirallic)

    Hi Mike,
    I tried even with a basic custom shortcode that outputs the current year (something like [current_year]). I tested using the shortcode block and HTML block, and they output the literal shortcode as plain text.
    As another test, I edited the render.php of the plugin to run block_template_part through do_shortcode and it works. Since this is obviously against best practice, I don’t want to rely on this, and I’m wondering if there’s anything I’m doing wrong.

    • This reply was modified 5 months, 2 weeks ago by xirallic. Reason: Adding details
    Plugin Author Mike McAlister

    (@mmcalister)

    Hi @xirallic shortcodes are now supported in Menu Designer. This will be available in the next update.

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

You must be logged in to reply to this topic.