While StoryChief does not currently have the option to embed shortcode into the editor, you can create a custom field that will facilitate this. This help article uses our native support for the Advanced Custom Fields plugin to pass on the shortcode to the bottom of a WordPress post.
Step 1. Create first a custom field inside your StoryChief account. To do this, go to Settings ➜ Stories ➜ Custom Fields.
Step 2. Choose Text and give it a memorable name. The other options can be left unchecked.
Step 3. Now that our custom field is created, log in to your WordPress backend and go to Custom Fields ➜ Field Group. Create a new group or edit an existing one.
Step 4. Create a text field inside a group and publish it.
Step 5. Go to Settings ➜ StoryChief ACF.
Step 6. Link your StoryChief custom field to the field you just created in Advanced Custom Fields. Click on Save changes.
Step 7. Finally, we need to add the field inside your WordPress theme. Go to Appearance ➜ Theme Editor and choose the PHP file for your default post type. For the Twenty Twenty WordPress theme, that is template-parts/content.php.
Add the following code just after where the content goes:
$embed = get_post_meta($post->ID,'shortcode',true);
Click on Update file.
Step 8. And we are done! You can now add shortcode inside the Summary tab of a story and it will display at the bottom of your published post. Just make sure to format it in square brackets. To add a button using the Shortcodes Ultimate plugin, you could use:
[su_button url="https://storychief.io" target="self" style="flat" background="#5cfbbd" color="#414042" size="3" wide="no" center="no" radius="auto" icon="" icon_color="#FFFFFF" text_shadow="none"]Visit StoryChief![/su_button]
Need to add multiple shortcodes per story? Just repeat this process!