Site logo

Archived topic

Adding last updated in the element code

5 replies · Started by aziz on November 14, 2020

Viewing posts 1–6 of 6

Hi team,

please help

I was trying to update the code to add '' last updated date " after the author name.

this is the code I used :
--------------------------------
<h1>
{{post_title}}
</h1>

<div class "hero-meta"
{{post_author}} / }
.posted-on .updated:before {
content: "Last updated: ";
}

--------------------------------

but i didn't work .

please send me the correct code if possible

Aziz

Hi Leo,

No, unfortunately, I tried that. it works fine in posts only.

I have this one " {{post_date}} "

But it will mention only the original date .

Thanks
Aziz

Hi Leo,

No sorry I didnt add that shortcode yet , where to add ?

in the element area ?

Thanks
Aziz

This archived topic is closed to new replies.