Home Forums WoodMart support forum WPML Sticky Links works with default WordPress editor but not WoodMart widgets

WPML Sticky Links works with default WordPress editor but not WoodMart widgets

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #515703

    Jeriss Cloud Center
    Participant

    Dear,

    I’m using WoodMart with WPML Sticky Links, which is transforming all URL links into PageIDs links, so that links never get broken.

    However, I noticed that WPML Sticky Links never works with WoodMart widgets. It works fine with default WordPress editor, but not when using the WoodMart WPBakery widgets.

    Here is a staging with no customizations, no plugins, no cache, and parent theme.

    Reproduce the case of WPML Sticky Links working fine with default WordPress editor :
    1) Create a new page
    2) Enter any random text like “ABC”
    3) Select this text and add a link pointing to the page “Changelog” for instance.
    4) Save and check the link after saving, you’ll see it transformed into PageID.

    Reproduce the case of WPML Sticky Links not working with WoodMart WPBakery widgets :
    1) Create a new page
    2) Add any WoodMart widget like “Information Box”
    4) Add a link pointing to the page “Changelog” for instance.
    5) Save and check the link after saving, you’ll see that it is NOT transformed into PageID.

    #515824

    Artem Temos
    Keymaster

    Hello,

    Sorry, but we don’t understand what you mean

    Page 1 – https://prnt.sc/klJkj87gTdUy
    Page 2 – https://prnt.sc/uxs-IIqsS7oj

    Both examples have similar links, but you wrote that they are different.

    Kind Regards

    #515889

    Jeriss Cloud Center
    Participant

    Please read again my initial post, I can’t be more clear than that.

    Open the staging and follow the instructions mentioned in the thread.

    #516259

    Artem Temos
    Keymaster

    Yes, we see that this plugin has a PHP function to find all href attributes and replace its values. But some of our elements use onclick attribute. And it seems that this plugin doesn’t influence these attributes. We can’t do anything to change this in our theme. You can try to contact WPML maybe they can add a functionality to work with onclick attribute as well.

    #519576

    Jeriss Cloud Center
    Participant

    Please check the answer of WPML Support regarding this issue :

    https://wpml.org/forums/topic/sticky-links-not-working-with-woodmart-elements/

    #519677

    Artem Temos
    Keymaster

    Hello,

    As I understood from the conversation, there is no fix for this issue.

    Kind Regards

    #519713

    Jeriss Cloud Center
    Participant

    This is absolutely unacceptable.

    WoodMart Support says you can’t do anything.
    WPML Support says they can’t do anything.

    While both WPML and WoodMart advertise full compatibility, I gave you here a clear example that it’s not fully the case. It is not “fully” compatible between each other.

    I expect from WoodMart Support to proactively contact the WPML Support to discuss this issue and find a solution, so that WPML Sticky Links can work in ALL the WoodMart Widgets and therefore WPML Sticky Links would be able to transform all URLs into PageIDs.

    Once again, I repeat that WPML Sticky Links works fine in all the default WordPress widgets and editors (classic and gutenberg), therefore it is the responsibility of WoodMart Theme to take the lead in making WPML Sticky Links work with its own theme’s widgets.

    Thanks for your understanding.

    #519714

    Artem Temos
    Keymaster

    As far as we understood from the WPML team, this plugin works with href attributes only. And it works with all links in our theme that has this attribute. And that means that our theme is fully compatible with this function.
    But as for links that used a different attribute, it is not an incompatibility. The plugin doesn’t have a functionality for this at all. You may request this in plugin developers and probably they will extend this functionality in the future.

    #519846

    Jeriss Cloud Center
    Participant

    Then make all your links with href attribute only, and the problem is solved …

    Why do you need other attributes than href?

    #519848

    Artem Temos
    Keymaster

    Wrapping the whole Information box block with <a> tag is not the right way to use links. And it will cause a lot of styling and typography issues on working website. That is why we used JS to add a link to the whole block there.

Viewing 10 posts - 1 through 10 (of 10 total)