• I’ve been trying to get your plugin to make use of my already established shortcodes for the better part of two ~ three years.

    Anyhow,

    I have a shortcode, let’s call it …

    function this_is_a_pain( $atts, $content = null) {
    return $content;
    }

    Now, ALL THE ACTUAL VERSION OF MY FUNCTION (NOT SHOWN) DOES IS GENERATE HTML LINKS. Nothing “incompatible” or questionable in any way.

    Just LINKS.

    How do I tell your plugin to chill out and use the function above?

    Bottom line, how do I get the following …

    [this_is_a_pain]Yes, it certainly is.[/this_is_a_pain]

    … which is strewn all through my posts … to APPEAR IN MY NEWSLETTER?

    This is the automated “latest posts” function, mind you.

    I mean hey, the newsletter has automatically gone out lookin’ awful with your logo all over it, so if you’re okay with that well I guess we’re stuck.

    But honestly, I’d REALLY like the shortcode output to appear.

    • This topic was modified 4 years, 4 months ago by robin_dean.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    MailPoet does allow you to extend the functionality of the Email Designer by using custom shortcodes that inject content into your newsletters. Have a look at our guide for custom shortcodes: https://kb.mailpoet.com/article/160-create-a-custom-shortcode

    Thanks,

    Thread Starter robin_dean

    (@robin_dean)

    That’s adorable.

    Problem is, I’m attempting to use shortcodes of my own making that are in the content of blog posts.

    That is to say, I’m using a monthly “latest posts” auto send that emails, well … the latest posts.

    IN THOSE POSTS are shortcodes that I’d like to green light.

    So, how do I do that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Shortcode Question’ is closed to new replies.