How do I add a posts "The Content" to a page?

I am building a page where I want to add a blog post’s featured image, post title, and post content to the page.

I do not want to use the shortcode [recent_posts count=“1”] because I want each of these elements in a specific place on the page and styled in a specific way. For this same reason I do not want to use the x theme elements “Posts (List)”, “Posts (Tiles)”, “Posts(Minimal)” or “Posts (Magazine)”

The only elements available to add to a page regarding a post are:

  1. The Title
  2. The Excerpt
  3. Featured Image
    add element
    featuredImage

Here is what I am trying to accomplish.

There is no Theme X element in the page builder to add the post’s “The Content” like you can add when designing a single post template in Cornerstone. Like below.
the content

How would I go about adding a blog post’s “The Content” to a page?

1 Like

Hey @avoytas,

Thanks for reaching out!

Please be advised that the “The Content” dynamic element is available in a single layout while the “The Excerpt” dynamic element is available for the archive layout. I would suggest you add the text element and insert this dynamic content code {{dc:post:the_content}}.

Hope that helps.

2 Likes

I ran into a similar issue!!! I realized there was some weirdness going on with my settings between the The Singles documents and the posts. I had to be sure not to let my posts enter the Cornerstone side!

Hello @KimimilaWin,

In case you are using the Layout builder for the post single layout, you can use the “The Content” element to display the post content. Please note that the “The Content” element works only on a single layout.
evc-Single-Cornerstone

If you want to display all the content on archive page or any other pages you may use the dynamic content code as mentioned by my colleague @marc_a.

In case you are pointing to something else please let us know.

Hope it helps
Thanks

OUTSTANDING. This is exactly what I needed. Thank you @marc_a

Hey @avoytas,

You’re welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.