Skip Navigation

[Résolu] Format wpv-post-field

This support ticket is created Il y a 7 années et 2 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Marqué : ,

This topic contains 2 réponses, has 2 voix.

Last updated by marijkeM Il y a 7 années et 1 mois.

Assisted by: Luo Yang.

Auteur
Publications
#494146

I want to format the custom field _EventStartDate from The Events Calendar plugin. When I use [wpv-post-field name='_EventStartDate'] in the code of my view I get the full date and time. But I only want to show the year and month.

I read this post: https://toolset.com/forums/topic/custom-field-of-type-date-appear-strange/
and tried [types field='_EventStartDate' format='M'][/types] to get the month, but I get nothing.

Can you help me out?

#494375

Dear marijke,

The solution you mentioned above is for custom date field created with Types plugin, in your case the field is created by other plugin (The Events Calendar), please try the solution of another thread:
https://toolset.com/forums/topic/date-formating-on-another-cpts-date-field/#post-268972

#494392

Thank you Luo,

that was the trick. I am sorry I did not find this solution myself.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.