Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1207312

    lmradmin
    Participant

    I am required to us a subscription link confirmation shortcode (suplied by Mailpoet plugin), which looks like this > [activation_link]…[/activation_link]. I am trying to add this onto a button rather than just surround text with it, the code of the button is below, where would I place the shortcode? See where I currently have it below, this causes the text and the button to separate..

    <div class=”btn btn–flat fullwidth btn–medium” style=”text-align:center;”>
    [activation_link]<a style=”border-radius: 0; display: block; font-size:12px;
    font-weight: bold; line-height: 22px; padding: 10px 20px; text-align: center;
    text-decoration: none !important; transition: opacity 0.1s ease-in; color:#fff;
    background-color: #333; font-family: ‘PT Sans’, ‘Trebuchet MS’, sans-serif;”>
    17% OFF PROMO CODE[/activation_link]</div>

    The URL is dynamic for each user so I can’t use href. The shortcode is provided by the plugin and works fine with a simple text link. Would appreciate any help. Thanks in advance

    #1207730

    Friech
    Moderator

    Hi There,

    Thanks for writing in! Does your shortcode accept an class property? Try updating your shortcode to this:

    [activation_link class="x-btn x-btn-flat x-btn-square x-btn-large"]17% OFF PROMO CODE[/activation_link]

    If this does not work, please provide us login credentials in private reply so we can take a closer look.

    Cheers!

    #1210609

    lmradmin
    Participant
    This reply has been marked as private.
    #1211007

    Christopher
    Moderator

    Hi there,

    Both URLs show WP panel. Please provide us with URL of page in question where you added the code.

    Thanks.

    #1211984

    lmradmin
    Participant
    This reply has been marked as private.
    #1212336

    Friech
    Moderator

    Hi There,

    You mean the template that will be send to the subscriber’s inbox? Yes, that will not work even if we do apply those classes successfully on your link, because email clients does not recognise those classes.

    So what you need is a pure HTML markup, however the shortcode [activation_link] is the responsible for generating that HTML markup specifically the link (anchor tag).

    Regretfully, we cannot provide support for third party plugins as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    Thank you for your understanding.