Add location after date

StatusIDPriorityType
Closed31775HighContent Timeline WP
Profile Reply
artalys Client

Hi there, my client asked me if I could add a location after the date on the cards.
What I already did in the past is show only the year instead of days and months, I changed it in line 1346 of front_html.php file with $my_date_str=date(‘Y’,$my_timestamp);
So in my cards now I just had the year written. What I have now is year + text, for example “1846, Japan”.
Could you just tell me how to show the entire string, not just the date but also the coma and the country?
Would be great, thanks a lot.

Replies

User Description Posted On
Shindiri Support team Administrator

Hi,

we are not sure how to help you. This is more of a customization request and we are not providing customization. Our development team is 100% occupied with new project so we cant take it even into consideration.

However we can try to give you some direction for workaround. If we understand correctly you want to have year and location on card and that's all.  Can you use Title section for that ?
Make title for example 1846, Japan.  We know that would require manually editing every-card but it should provide 100% solution.

Also make sure you have the latest version of the plugin in case you don't have every option available on card. Last version is 4.4.4

Thank you for your understanding.

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

artalys Client

Hi there, thanks for your quick answer I didn't see you answered me.
No I actually need to keep the titles, I'm using the Montgomery template where you have the date, then under the date the title. This is perfect. I would just like to replace the date by the string I want, for instance here on line 1346
$my_date_str=date(‘Y’,$my_timestamp);      >>    $my_date_str= the string I want;
This way I will write what I want, for example 1846, Japan
If you know what to write would be great, if it's too complicated well I don't know I will try something else.

Anyway thanks for your help and time.

Shindiri Support team Administrator

Hi,

unfortunately we are not comfortable to suggest anything customizing code wise, that's why we suggested the solution with the title, we did not know you have title ''taken''.

Sorry we could not be of any more help at this moment.

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

artalys Client

Ok thanks anyways good luck :)

Shindiri Support team Administrator

Hi,

no problem and again sorry we couldn't help more at this time.

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

× This ticket is closed.