Conditional “Last modified on {date}”

Posted in: Newspaper
Post count: 22

Is it possible to create a conditional entry if last modified date does not equal published date then an entry that is {inline text} + {last modified date} is shown? If the two dates are equal then this last modified entry is NOT displayed?

As always, very much appreciated!

View post on imgur.com

Post count: 22

Inline Text + Single Post Date (have to use Inline Text to include text)
Single Post Modified Date (has the ability to include text)

Any way to conditionally hide “Single Post Modified Date” per post (it appears that it is hidden from the print output … why???)

Post count: 35449

Hi,

Unfortunately there is no option in the theme for this, sorry!
I believe that this can be achieve using a javascript that checks both dates and if those are equal it will set a display non on one of them, but this is only a suggestions and you’ll need some one that is good on javascript to help you.

Thank you!

Post count: 22

fair enough

I notice though that only the date from (Single Post Date) is printed without the preceding text (Inline Text); as well the entirety of (Single Post Modified Date) is not printed; What CSS do I need to show all of this?

Inline Text + Single Post Date
Single Post Modified Date

Post count: 35449

Hi,

The Single Post Date do not have an option for adding text before or after, therefore you need to use an element for text, inline text is a good solution, and what you need to do is to make sure you set the elements to be display inline – https://i.imgur.com/2Hnc29j.jpeghttps://i.imgur.com/5BM4f0l.jpeg and you can use the css tab to add a margin or padding for the elements – https://i.imgur.com/QutYtum.jpeg

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.