Support » Plugin: Gutenberg » Shortcode in paragraph block?

  • Resolved jowo

    (@jowo)


    Is there a way to use shortcodes in paragraph blocks?

    For example the text:

    “Our return policy is {{return_days}} …”

    I want to replace {{return_days}} with a variable in my ACF options page.

    Or does anyone know a plugin that can replace text in gutenberg blocks?

Viewing 1 replies (of 1 total)
  • Thread Starter jowo

    (@jowo)

    Apparently you can simply use [acf field="return_days" post_id="options"] in a paragraph block.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode in paragraph block?’ is closed to new replies.