Using shortcodes in your WordPress theme can create an easy way to output content such as an arbitrary widget. I find this useful for implementing a simple way to edit content, both for myself and my client end-users.
echo do_shortcode('[your_shortcode id="your-id-for-style"]');
https://developer.wordpress.org/reference/functions/do_shortcode/
https://codex.wordpress.org/Shortcode_API