Home Fóruns WordPress Plugins Shortcodes on templates

Visualizando 4 respostas da discussão
  • Autor
    Posts
    • #30718
      Scott Toderash
      Participante

      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
      Mestre

      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
      Participante

      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
      Mestre

      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
      Participante

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

Visualizando 4 respostas da discussão
  • Você deve fazer login para responder a este tópico.