Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
santiagocalaforra
tagDiv Member

Hi everyone,

I’m using the Rimont header template and trying to customize the date format to display it properly in Spanish. My goal is to show something like this:

sábado, 17 de mayo de 2025

For that, I’m using the following date format:
l, j \d\e F \d\e Y

This works fine with PHP’s date() function or in other WordPress areas, but in the header template, the result is incorrect. It outputs something like:

sábado, 17 17Europe/Madrid mayo 17Europe/Madrid 2025

It seems like the escaped characters (\d\e) are either not parsed correctly or are replaced with timezone data, which completely breaks the format.

Has anyone experienced this before? Is there any workaround or way to make the escaped text render properly when using a header template like Rimont?

Thanks a lot for your help!
Santiago

santiagocalaforra
tagDiv Member

Hi Calin,

Thanks so much — the key was exactly what you said: inserting the shortcode in the Column Text element’s code/text area. Once I did that, it worked perfectly. 🙌

I really appreciate your detailed help and quick follow-up!

Best regards,

santiagocalaforra
tagDiv Member

Hi Calin,

Thanks again for your reply!

I tried using the method you shared from StackExchange — I added this line to my child theme’s functions.php:

php
Copiar
Editar
add_shortcode( ‘output_post_excerpt’, ‘get_the_excerpt’ );
Then I edited my Single Post Cloud Template in tagDiv Composer, added a Text block, and inserted [output_post_excerpt].

Unfortunately, the shortcode doesn’t render anything on the frontend. It just leaves a blank space where the excerpt should be. I’ve cleared all cache and reloaded everything, but still no result.

Is it possible that tagDiv Composer blocks don’t render shortcodes like this, or do I need a different type of block?

Any ideas or workaround would be greatly appreciated.
https://diariodealicante.net/wp-content/uploads/2025/05/editor.jpeg
https://diariodealicante.net/wp-content/uploads/2025/05/single.jpeg

Thanks!

santiagocalaforra
tagDiv Member

Hello, when I conigure a single template in cloud templates I fins easily the option “single post subtitle”. How Can I write some like a “single pots excerpt”?
Thanks

Viewing 4 posts - 1 through 4 (of 4 total)