That is indeed the correct approach to getting post content with a shortcode.
Nice job figuring out tag attributes as local variables for templates! It’s one of my favourite features
For anyone wondering, you can create a similar shortcode for any field by swapping out <Field content /> in Richard’s example, and here’s the relevant documentation
Hi Richard, thank you for sharing the useful snippet to load post content from a shortcode. I like how you used shortcode attributes to pass local variables.
I wanted to mention, there’s a newly documented feature for the Field tag called loop type shortcut. It’s a way to set type attribute with id or name, to avoid having to create a loop.