I have lots of posts where I have current month with the post title.
When month ends, it’s kind of annoying to change all the posts manually. So, I created a shortcode to show the current month.
add_filter( 'the_title', 'do_shortcode' ); to execute the shortcode in title. It all works fine.
Problem is, in the meta title, the raw shortcode is showing instead of the output.
Any suggestions how I can work it out.
Thanks in advance.
Read more here: Using shortcode in Post title