• Resolved litlbitl

    (@litlbitl)


    Hi!

    I use this plugin on my site, mostly for “Ask for mor details” type of button for many products in store. When user clicks the button a mailto: function is triggered. What I need to do now is somehow include the url of this specific page or product id in the mail title, so when a mail gets to us we know exactly on what page it was clicked. How can this be done? Thanks a lot for your support!

Viewing 1 replies (of 1 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    If I understand correctly you want to pass extra information in the mailto: link?
    You can check here what you can include there – https://developer.yoast.com/guide-mailto-links/

    If you want to include something dynamic you’ll have to use the shortcode in your templates, like so:

    <?php do_shortcode(‘[maxbutton id=x url=x]’); ?>

    The URL you should generate via PHP and then put there.

    Perhaps there are some plugins that can handle this for you, but I’m not aware of that.

Viewing 1 replies (of 1 total)
  • The topic ‘Button Attributes’ is closed to new replies.