Rating: 5 stars
Thanks, works very fine
]]>Rating: 5 stars
Is there any way to insert the dynamic link in the wrapper link??
]]>Rating: 5 stars
Worked perfect with my previous theme
]]>Rating: 5 stars
nothing more to say… nice and simple
]]>Rating: 4 stars
Thanks for your plugin mate!
You should make it work with the new “Container” flexbox sections to make it perfect!
Thanks bro. Stay awesome!
]]>Rating: 5 stars
Perferct. Recommended.
]]>Rating: 5 stars
Hello, I have made a change in the code to include compatibility with links in external window or in the same window. They are only two lines of code but I provide them for a future version
public static function before_section_render(Element_Base $element) {
$link_settings = $element->get_settings_for_display('ra_element_link');
if ($link_settings && !empty($link_settings['url'])) {
$target = $link_settings['is_external'] != '' ? '_blank' : '_self';
$element->add_render_attribute(
'_wrapper',
[
'data-ra-element-link' => json_encode($link_settings),
'style' => 'cursor: pointer',
'target' => $target,
'onClick' => 'window.open(\'' . $link_settings['url'] . '\', \'' . $target . '\')',
]
);
}
}
I hope it can helps!
]]>Rating: 5 stars
_blank always works. I enable and disable the link type, but it always opens in new page, _blank always enabled.
]]>Rating: 5 stars
Just made a wordpress account to give this plugin 5 stars. Works perfect. Thank you!
]]>