Hello,
I am trying to add a “summary” paragraph to the top of each blog post.
I created a custom field called “summary,” inserted the paragraph, and saved the post.
I created a hook with the following code:
<div class="blog_post_summary">
<p>
<b>Summary: </b>{{custom_field.summary}}
</p>
</div>
Under settings, I set to “generate_before_content.” I enabled “Execute Shortcodes” and “Execute PHP.”
Under Display Rules, I set to display on all Posts.
However, on the actual post, it is displaying as “Summary: {{custom_field.summary}}” and is not populating the custom field.
Thanks,
Margaret