• Hello,

    I created a custom shortcode that I have been using on my site for a while now (code in functions.php, then use Shortcode block on template or page).

    Now I wanted to move both this shortcode and an icon into a custom pattern in order to reuse this construction on a couple of templates. For some reason the shortcode is not rendered inside this pattern. It shows it verbatim “[back_button]” instead of rendering the button.

    Is that a bug or a feature? Are shortcodes supposed to work in patterns at all?

    (Just for clarity, since I use the German translation which is confusing: Using the term “pattern” I mean the purple-coloured thing.)

Viewing 1 replies (of 1 total)
  • It would better to see the code that you added in your functions to think about it more deeply. Maybe you added that in header and maybe there is no header in your page that you wanted to show this feature in it. That could be a reason.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.