WAIT: {post_modified} dynamic tag shows publish date instead of modified date

Browser: Chrome 110
OS: macOS
URL: سنگ طلا چیست و چگونه آن را تشخیص دهیم؟ | بلاگ وال‌گلد

Hi Bricks team,

I noticed an issue with the {post_modified} dynamic tag in Bricks Builder.

When I use {post_modified} in a template or single post, it always outputs the original publish date (post_date), even when the post has been updated.

{post_date} works fine, but {post_modified} does not seem to fetch the correct modified date from the database.

I’ve tried using {echo: get_the_modified_date()} and similar workarounds, but it still falls back to the publish date in many cases (especially inside query loops or dynamic templates).

Expected behavior:
The {post_modified} tag should return the actual post modified date, just like WordPress’ get_the_modified_date() function, and not the original post_date.

Could you please fix this so {post_modified} works consistently across templates and loops?

Thank you!

Hi Omid,
Welcome to the forum, and thanks so much for your report!

Unfortunately, I cannot reproduce the issue (Bricks 2.1 beta). Please try again with the latest version and plugins disabled. If the problem persists, please record a screencast showing your setup and the issue in detail.

Best regards,
timmse

CleanShot 2025-10-06 at 10.31.32@2x

I can confirm this issue. The post_modified field does not work as expected. When I update the post’s publish date, the post_modified date also changes to that new date.

The fact that the fields are linked suggests that the tag is improperly pulling data from or being overwritten by the same meta-data logic used for the post date, rather than honoring the actual time of content modification.

How would it look, if it would show:
modified date: January 10, 2024
published date: November 5, 2025

I think this is normal behavior for WordPress, which does not display a modified date that is older than the publication date.

Currently experiencing this issue as well. It seems {post_modified} gets the date of the last template change date as opposed to the post itself.

Unfortunately, we haven’t received a response from the thread starter. Please provide us with a detailed description of your setup and tell us the steps to follow so we can reproduce the problem if necessary @Dawson :v: