• cojl

    (@cojl)


    Hi all!

    I’m new to Gutenberg and pretty confused here.

    What’s the best approach to take: Use Gutenberg with blocks or roll with shortcodes all the way? I’m trying to answer this question but can’t seem to land in a decision.

    It needs to be developer-friendly rather than editor friendly. I’ve heard you can convert shortcodes to blocks later on either way, but I’m still uncertain if I should develop shortcodes or go straight with blocks. Advantages/disadvantages?

    Thanks a lot for any clarification!

Viewing 1 replies (of 1 total)
  • Ian Dunn

    (@iandunn)

    Hi, creating a shortcode will be faster for the developer, but provide a worse user experience, because the user will have to reference external documentation in order to find out what the shortcode parameters are, and what the valid fields are.

    IMO, developing blocks is best if you’re able.

    If you’re not able to, though, then a better option than shortcodes might be using a plugin like Advanced Custom Fields to create the blocks for you.

Viewing 1 replies (of 1 total)

The topic ‘Shortcodes VS Blocks?’ is closed to new replies.