• BitEdge

    (@whatwhatwhatwhat)


    I am really glad to have this mostly working, thanks all. 3 issues I have.

    1. How would we enbed the sign up form in php? we have this document

    https://www.bitedge.co/arbitrage-alert.php

    that need the email entered to be subscribed to out mailgun list (the appearance of the sign up section is not important.

    2. I can’t see anywhere in the interface to generate shortcodes or what shortcode options exist, I dug in the file and guessed

    [mailgun_subscription_form]

    which worked as can be seen here

    https://www.bitedge.co/sports-betting-tools-and-resources/bitcoin-betting-arbitrage-alerts/

    Although it would be nice if the list name and email address did not behave like links when hovered over.

    What other parameters or variables can be set in shortcodes and how?

    3. Is there a way to add custom HTML in the Confirmation Email and Welcome Email? I tried adding

    <a title="Odds Comparisons" href="https://www.bitedge.co/odds-comparison/">Odds Comparisons</a>

    but was displayed as plain text.

    Thanks, have a great day.

    https://www.ads-software.com/plugins/mailgun-subscriptions/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The read me file with the plugin contains documentation on how to do all of this, but to insert inside of a template file in your theme, you would do something like:

    <!-- mailgun subscribe form -->
            <div>
    		<h3 class="widgettitle">Free Email Updates</h3>
            <?php echo do_shortcode('[mailgun_subscription_form description="Sign up for our free email updates" lists="[email protected], [email protected]"]'); ?>
            </div>
            <!-- // mailgun subscribe form -->

    Under settings -> mailgun lists you can edit the contents of the subscription confirmation and welcome emails. There is a description on that page of the short codes that are accepted inside of these blocks for customizing the emails. I believe you could insert HTML here as well.

    Thread Starter BitEdge

    (@whatwhatwhatwhat)

    “The read me file with the plugin contains documentation on how to do all of this”

    No it doesn’t

    “I believe you could insert HTML here as well.”

    As I said adding a correctly formed html link is output as plain text in the email, I even tried putting it in <html>tags</html>and it was all plain text.

    1 more minor thing when a user unsubscribes and then imputs their email into the subscription form to re-subscribe they get red text saying

    “You have previously unsubscribed. Please contact us to reactivate your account.”

    It would be better if they just got resubscribed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP, Shortcodes and confirmation email content’ is closed to new replies.