• Resolved mattce

    (@mattce)


    Hi, is there any way of getting shortcodes to work properly inside the post titles ? We are using a custom shortcode named [yyyy] to replace it with the current year automatically, but in the widget output it’s simply showing as [yyyy], not “2020” as expected.

    I’ve already tried to enable shortcodes via

    add_filter( 'widget_crp', 'do_shortcode'); (also with a higher priority of 11)

    inside the functions.php, but this is also not working. Do you have any idea how to fix this issue?

    Thanks a lot!

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

    (@ajay)

    Could I see a screenshot of what you’re trying to achieve? You might need to use another filter – might be crp_title

Viewing 1 replies (of 1 total)
  • The topic ‘Display Shortcodes in Widget’ is closed to new replies.