Skip Navigation

[Resolved] Timestamp as Date format in Yoast Seo Title?

This support ticket is created 4 years, 10 months ago. 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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 4 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#1279021

Maybe not 100% a Types question but I thought maybe somebody knows. In Yoast Seo it is possible to add Custom fields to Seo Titles. Like this %%cf_<custom-field-name>%%.

I have this working but the field is a Toolset datetime field which stores value as timestamp number. Any way to get the date/time shown as date format in Yoast SEO Title somehow I wonder?

#1279075

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Bob,

Thank you for contacting our support forum.

Yes our plugin stores the date as a timestamp. You will need to write some custom code to retrieve it in a human readable date.

Maybe you can check with the yoast team if they have a hook that you can use to modify the SEO title and then add some custom code to it to get the human readable date.

Thanks,
Shane

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