Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    It looks like the new code that you have added has extra \ in front of the " in the HTML code for some reason. These likely break this integration and you should remove them.

    Regards,
    Tobias

    Thread Starter simplycharly

    (@simplycharly)

    Where exactly is that character in the code? Also, why is it positioned in the center rather than to the left?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    this is directly in the HTML code for the link at the beginning of the table cell. The code looks like this:

    <a target=\"_blank\" href=\"https://www.amazon.com/.....\" rel=\"noopener\">

    Here, all the \ before the " (six in total) need to be removed.

    For the centering: This is because TablePress now centers tables that are not full-width. To change that back, add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress {
        margin: 0 0 1rem 0;
    }

    Regards,
    Tobias

    Thread Starter simplycharly

    (@simplycharly)

    I see what is happening now. When I enter the correct code and save it, your plugin is adding the extra \ characters. I think you should check this. What I have entered is correct. Your platform is screwing up the code.

    Thread Starter simplycharly

    (@simplycharly)

    <a  target="_blank"><img border="0" src="https://ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=B095XY3MRH&Format=_SL250_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=simplycharly-20&language=en_US" ></a><img src="https://ir-na.amazon-adsystem.com/e/ir?t=simplycharly-20&language=en_US&l=li3&o=1&a=B095XY3MRH" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
    Thread Starter simplycharly

    (@simplycharly)

    I think I figured it out. When I enter the code into the advance editor, it works.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the code example! I can however not reproduce that TablePress adds these \ here…

    Can you test this again on a fresh demo site via https://tablepress.org/demo/#try ?

    (Note that there is indeed a problem right now that removes the quotation marks, which you can get around by first double-clicking into a cell, before pasting the HTML code.)

    Regards,
    Tobias

    Thread Starter simplycharly

    (@simplycharly)

    Okay, I will try this later today.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks! Please let me know if you can reproduce the problem with the extra \ there.

    Best wishes,
    Tobias

    Hi Tobias, how are you?

    Since the last update of Tablepress I’m having the same problem. Always when I save the table, It’s automatically add a extra \ on HTML links. This links open a 403 forbidden page. The links on tablepress have the appearance below:

    https://guiadoeletro.com.br/%22https://amzn.to/3jLLY7N/%22

    Could you help me? This problem started before the last update. The old ones are normal.

    Thanks!

    Hi Tobias and Symplycharly

    The problem with the extra \ is totally related with de problem that Tobias told at one of the replies, about the quotation marks problem. To solve this, as he said, you should just double click before paste de code. Its solve the extra \ problem.

    Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi @nathan1990,

    thanks for looking into this! I’m working on a fix to prevent the removal of the " when pasting code ??

    (I’m still not sure where these \ are coming from, there, but maybe this will then also be solved.)

    Best wishes,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi @simplycharly and @nathan1990,

    I just published TablePress 2.0.3 today, which should no longer have this problem. It would be great if you could test again with that.

    Best wishes,
    Tobias

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Amazon Affiliate Links’ is closed to new replies.