Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi jamiecim,

    Glad to help. How are you changing the “custom markup for the ‘Add another image’ link”?

    Thread Starter jamiecim

    (@jamiecim)

    Plugin Author Jeff Starr

    (@specialk)

    Okay thanks. And then for that setting, what code/markup are you using?

    Thread Starter jamiecim

    (@jamiecim)

    It disables the hyperlink no matter what text I am using.
    For the demo I simply used: “changed the text”

    Plugin Author Jeff Starr

    (@specialk)

    Well, in order to continue troubleshooting, I will need to have an example of the code that isn’t working. Just pick one and post it here (wrapped in code tags).

    Thread Starter jamiecim

    (@jamiecim)

    Plugin Author Jeff Starr

    (@specialk)

    Ah, thank you for explaining this. I just tested and you are correct it is some sort of bug. Definitely will get this fixed up with the next plugin update. Thank you again for the feedback.

    Thread Starter jamiecim

    (@jamiecim)

    I’m glad it helped you locate the bug.

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up with this, the plugin setting for “Add Another” link is working properly. In order to customize the link, you need to start with the correct markup:

    <a href="#" id="usp_add-another" class="usp-js">Add another image</a>

    Then from there, you can change the name or class, or add other text or markup. But do NOT change the link ID or remove the usp-js class. They are required for the link to work.

    What was happening in the reported case (OP), is that the text that was entered for the “Add Another” setting was output as-is on the form. This is the correct behavior, as the setting simply outputs whatever text/markup is entered.

    Bottom line: to customize the link, start with the correct markup and then go from there as described above.

    Let me know if any questions about this, glad to help.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Custom markup bug’ is closed to new replies.