• Resolved pello23

    (@pello23)


    Hi, thank you for your free plugin.

    I have a problem with my saved tabs. When i load my saved tab from the procuct page the tab’s code change.
    For example if i save my Contact Form Shortcode:
    [contact-form-7 id="448" title="Information"]
    in My Saved Tabs appear right but if i add a tab from the product page the code change to this:
    [contact-form-7 id=\"448" title=\"Information\"]

    Add a \ before every “.
    Thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @pello23,

    Hmm. I’m not seeing that – when I add a shortcode to a tab on the product page no slashes are being added (and the same is true when adding a saved tab). Is there any extra information you have about how you’re adding the shortcode? Are you just copying, pasting, and saving? Are you using the visual tab or the text tab?

    Let me know,
    Kevin.

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Whoops – hi @pello23 – I just tried adding another saved tab and now I am seeing the added slashes. Trying to diagnose now. For me, it seems like it’s not happening in every situation so as a short term fix you could try re-adding the tab. I’ll let you know when I have a fix ready.

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hello again @pello23,

    This is the behavior I’m seeing:
    1. Add a saved a tab w/ a shortcode – the slashes appear (e.g. [contact-form-7 id=\"448" title=\"Information\"])
    2. Save the tabs
    3. Refresh the page – the slashes are no longer present
    4. Visit the product page, the shortcode renders normally.

    So the slashes are only present when initially adding the saved tab, and they go away when the tab is saved. Are you seeing the same thing?

    Sorry for the flurry of messages.

    Let me know,
    Kevin.

    Thread Starter pello23

    (@pello23)

    Thank You for your quick reply.

    Yes, it is true. When i save the tabs and save the page the \ disappear and everything works great. Even if i change the code the \ disappear after saving.

    Sorry for my useless post 🙁

    Thank you again.
    Greetings.

    Pello

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @pello23,

    Absolutely no problem! I was unaware that the slashes were added/removed like that; that’s something to fix in the future; it’s not a great user experience.

    I’m just glad it’s not broken :-).

    Cheers,
    Kevin.

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

The topic ‘Saved Tab Code Change’ is closed to new replies.