• For the title of my wordpress articles I use a shortcode to show the right year. But in the related posts it shows the shortcode in brackets instead of the actual year. How can I show the outcome of the shortcode in the title? Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Ajay

    (@ajay)

    I think this would work if you add it to your theme’s functions.php or using the Code Snippets plugin.

    add_filter( 'crp_title', 'do_shortcode' );
Viewing 1 replies (of 1 total)
  • The topic ‘How to show shortcodes in title’ is closed to new replies.