Home Forums WordPress Plugins Shortcodes on templates

Viewing 4 reply threads
  • Author
    Posts
    • #30718
      Scott Toderash
      Participant

      Can I include a shortcode in the digest email body, or the other emails (topics and replies)?

      I’m not overriding the PHP templates, simply editing the code in the Diget, Topics and Replies tab.

    • #30720
      vinny
      Keymaster

      Hi Scott,

      What kind of shortcode do you have in mind? What kind of scenario? It may make sense for me to add the solution to bbPress Notify (No-Spam).

      Cheers,
      Vinny

    • #30721
      Scott Toderash
      Participant

      We have an add rotator plugin that inserts random ads using a shortcode. So basically, we want those ads inserted into the emails.

      Thanks

    • #30722
      vinny
      Keymaster

      Ok, I’ll add a do_shortcode call to the message body before being sent. However, please make sure that the ad plugin does not depend on non-inline styles or the email clients will start having trouble displaying the emails.

    • #30758
      Scott Toderash
      Participant

      Thanks a million. The add code is just a link and an image, so it should be ok.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.