Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #788680

    So, I’m trying to insert code for an amazon affiliate product in a text box. When I save it initially it works fine. But if I save it a second time, the URL gets messed up. Specifically the part that says

    marketplace=amazon&region=US

    gets replaced with

    marketplace=amazon®ion=US

    So basically the ampersand plus reg gets replaced as if it was ampersaid plus reg plus a semicolon. Any idea how to prevent this? I’ve tried replacing all the ampersand characters with & but it still gets messed up.

    I’ve included the affiliate code in the private content but I’m not 100% sure it’s going to save correctly since I think the forums are based on WordPress.

    #788815

    Hey Kevin,

    I have not seen this issue before, have you attempted the edit in different browser to see if it produces the same issue?  Alternately, you could try many of the plugins available for this purpose like https://wordpress.org/plugins/amazon-link/

    Best regards,
    Jordan Shannon

    #789874

    I’ve tested on a site using Twenty Sixteen and also on a site running Enfold on a page with and without the Avia Layout Builder enabled. This issue only happens when Avia Layout Builder is enabled. It happens in Chrome, Firefox and Internet Explorer on my Windows 10 computer.

    Have you attempted to reproduce the issue? Can you look at this a little more closely and see what’s going on? I would rather not load the overhead of a plugin if I can avoid it.

    Thanks!

    #789881

    Hi,

    Please provide log info so I can attempt to reproduce.
    Best regards,
    Jordan Shannon

    #789905

    See private content below

    #789913

    Hi,

    Thanks, I have asked some of my fellow team members look at this with me as well.

    Best regards,
    Jordan Shannon

    #790248

    Hi,

    We will look into it. In the meantime, i created a shortcode which you can use to add your iframe on your content. Please add the code in private content field into functions.php file in Appearance > Editor and use [custom_iframe] shortcode to display it

    Best regards,
    Yigit

    #791860

    Thanks, Yigit. We plan to post a few links but not many so doing custom shortcodes or using a plugin would be overkill. If you can investigate a workaround that will make the iframe code that would be preferable. If you need me to test anything or need more details, please let me know.

    #804241

    Hi there. Any news on this bug? Have you been able to reproduce it?

    I appreciate the shortcode approach but it definitely won’t work in the longterm since we would have to create a shortcode for every affiliate product we wanted to use on the site. Thanks!

    #804570

    Hi,

    Unfortunately no permanent solution has been found for this particular issue yet. All bug fixes are listed on future updates, so hopefully this is something that can be addressed soon.

    Best regards,
    Jordan Shannon

    #804706

    That’s a real shame. Do you have any idea where the issue gets introduced? If you can give me a nudge in the right direction, I’m happy to try to find a solution.

    Thanks!
    kcm

    #804726

    Hi,

    I don’t have that information from my position, but I will be happy to check on progress and let you know as it comes.

    Best regards,
    Jordan Shannon

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.