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
- This topic has 9 replies, 2 voices, and was last updated 1 year, 1 month ago by Artem Temos.
-
AuthorPosts
-
November 26, 2023 at 10:11 pm #515703
Jeriss Cloud CenterParticipantDear,
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.November 27, 2023 at 12:28 pm #515824
Artem TemosKeymasterHello,
Sorry, but we don’t understand what you mean
Page 1 – https://prnt.sc/klJkj87gTdUy
Page 2 – https://prnt.sc/uxs-IIqsS7ojBoth examples have similar links, but you wrote that they are different.
Kind Regards
November 27, 2023 at 2:39 pm #515889
Jeriss Cloud CenterParticipantPlease read again my initial post, I can’t be more clear than that.
Open the staging and follow the instructions mentioned in the thread.
November 28, 2023 at 11:39 am #516259
Artem TemosKeymasterYes, we see that this plugin has a PHP function to find all
href
attributes and replace its values. But some of our elements useonclick
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 withonclick
attribute as well.December 7, 2023 at 10:05 pm #519576
Jeriss Cloud CenterParticipantPlease check the answer of WPML Support regarding this issue :
https://wpml.org/forums/topic/sticky-links-not-working-with-woodmart-elements/
December 8, 2023 at 10:25 am #519677
Artem TemosKeymasterHello,
As I understood from the conversation, there is no fix for this issue.
Kind Regards
December 8, 2023 at 11:34 am #519713
Jeriss Cloud CenterParticipantThis 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.
December 8, 2023 at 11:38 am #519714
Artem TemosKeymasterAs 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.December 8, 2023 at 5:41 pm #519846
Jeriss Cloud CenterParticipantThen make all your links with
href
attribute only, and the problem is solved …Why do you need other attributes than
href
?December 8, 2023 at 5:45 pm #519848
Artem TemosKeymasterWrapping 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. -
AuthorPosts
- You must be logged in to create new topics. Login / Register