Skip Navigation

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

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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 1 year, 6 months ago.

Assigned support staff: 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