• Resolved jvagner

    (@jvagner)


    Hi.

    I’ve successfully built a custom shortcode to integrate WP Popular Posts output into the Mailpoet newsletter.

    However, I’m running into an issue where I can’t seem to integrate two custom shortcodes into one newsletter. For instance, I have a custom shortcode:

    [custom:news]

    That returns exactly what I need it to.

    And I’ve written the code so that it handles two custom shortcodes,

    [custom:news]
    [custom:videos]

    but only the first one works in the newsletter.

    Before I dive deeper into why both aren’t returning content, I just wanted to make sure that Mailpoet supports additional custom shortcodes in one email.

    My suspicion is it should, because if I repeat one shortcode, a la:

    [custom:news]
    [custom:news]

    I get both… but maybe it’s not calling it twice.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple custom shortcodes?’ is closed to new replies.