Hello
I need help with 4 things in views/archives/content templates using blocks.
The site is being developed but publicly accessible, uses the latest versions of toolset, wordpress, woocommerce, relevanssi and kadence theme and blocks. It's a corporate site, with a services catalog (ask for price/information), static pages (about us, governance, why us,...), news (2500 blog posts) and an area for more insightful posts (a cpt made with types), plus some extra cpt's for specific information (old projects, press releases, customers). Site is in portuguese (pt-pt).
3) Localized date in content templates and archives: post date in content templates and archives shows up in english, although when using the default theme post & archives is correctly in portuguese. Tried the shortcode [wpv-post-date format="j de F, Y"] to show the date in the same way wordpress is configured, but the escape codes of "de" don't seem to work. Saw in a forum post that the unlocalized date format was a bug to be fixed. My question is if it has already been fixed or what are the correct escape codes to use inside the shortcode (can't find it in shortcode reference).
Thanks in advance and best regards
Alex
Hi Alex,
If your goal is to show the localized post date based on the format selected in the WordPress settings, you can use the "wpv-post-date" shortcode without the "format" attribute:
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-date )
I hope this helps and let me know how it goes.
regards,
Waqar
Hello Waqar
Thank you for your reply, it worked 🙂
My issue is resolved now. Thank you!
Best regards
Alex