I’ve created a hook (after_entry_header) to display some info below the title of a page with:
<p><em><a href="#author-id">Irene Gil Ortiz</a> • Actualizado:[modified_date] • <a class="cat-button" href=/#>CATEGORIA</a></em></p>
I’ve used the [modified_date] prior inserting in my child functions.php theme the code as it is said in this documentation.
The problem is that this shortcode seems not to be working in the Hook (despite I am activating the execute PHP option).
It is currently showing like this in the rendered page Image example.
ps. note that I want everything to display in plain text, that’s why I opted for this shortcode solution in order to avoid links to the “author” or the “date”.
Any clues on how to proceed?
Thank you so much in advance!