Reply
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  •  rroemling 
    Participant

    Great plugin. Thank you 🙂

    One thing though: I want to add a shortcode [sc sponsored] on the articles Title, but only the code is displayed instead of the content.

    Any idea how to achieve this?

    Thanks in advance,
    Ralf

     Aakash Chakravarthy 
    Keymaster

    Hi Ralf,

    When shortcode is used in title, themes have to execute the shortcode present in the shortcode by calling like below.

    < ?php echo do_shortcode( get_the_title() ); ?>

    Most themes do not do this. May be you can use the code above to execute shortcodes in title.

    Thanks,
    Aakash

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.