Latest post ID in dc:post:title

Hi there,

I am using a raw content element to add the post title from a blog post on my page. I can do that by using the post ID. I did the same for exceprt, featured image etc…

My question is: is there a way to automatically pick up the newest post ID? I was trying this by making a shortcode for the post ID and add this into the code but that is not working. For example:

{{dc:post:excerpt post="[latestpost]"}}

My shortcode gave me the most recent ID, for example in a but is not working in this code.

Thanks for your help!

1 Like

Hi Kees,

Thanks for writing in! Your example link mentioned on your original post does not have any links. In the meantime, there’s no inbuilt feature or method to get the newest post ID other than custom development. However please note that, custom development is fall beyond our scope of the support.

Thanks!

Hey @smyler,
I’m looking for the same functionality. Let me know if you figure it out.

@mldarshana - Please submit this as a feature request if it’s not already. Thanks!

@marketfresh

We’ll forward this as a feature request. Please note that these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive. Thanks!

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