Pi Zi
Forum Replies Created
-
Hello Ash,
I will put it on the backlog.There is a way to do that by using the filter
wpel_external_linkand add some php code to your theme. See documentationForum: Plugins
In reply to: [External Links - nofollow, noopener & new window] Set no-icon classHello wpgecko,
The “Skip images” option should do the trick.The easiest way would be to add some javascript code, f.e.:
jQuery(function ($) { $('a.ext-link').click(function (e) { // add here specific code to open in a modal/lightbox/iframe etc // prevent opening 2 times e.preventDefault(); }); });You can put it in a seperate javascript file and include it include it in your template.
You could solve this outside the plugin. Just create a javascript to detect the users screen width. If it’s smaller then f.e. 420px remove the “lbp_secondary” class and set the target to open in a new window.
Example with jQuery:
jQuery(function ($) { // detect browser width if ($(window).width() <= 480) { $lbItems = $('.lbp_secondary'); // open lightbox items in new window $lbItems.attr('target', '_blank'); // remove lightbox class $lbItems.removeClass('lbp_secondary'); } });(I haven’t tested it yet)
Forum: Reviews
In reply to: [External Links - nofollow, noopener & new window] thanksSorry Tobias, but I just had a little baby boy. My priorities have changed 😉
One star for a free plugin. Maybe a little rigorous?? Unless you really think this plugin is complete garbage.
Which charset do you use on your site?
Forum: Plugins
In reply to: [Email Encoder - Protect Email Addresses and Phone Numbers] Double encoding?Hi josie, what’s the original html before being messed up by the plugin?
You probably mean another plugin. This one does not mask external url’s.
Thanks anyway 😉Fixed in v1.54.
It seem to work now?
Tim,
Now I know what the problem is. It has to do with the javascript generated by SweetCaptcha, which contains ‘‘. The filter (regular expression) of WPML does not work properly for these cases.Unfortunately, I don’t know a quick fix for it. I will put it on the TODO-list though.
You could use this within your posts:
<span itemprop="telephone"> [eeb_content]<a href="tel:+1-888-888-8888">(888) 888-8888</a>[/eeb_content] </span>Or this within your templates:
<span itemprop="telephone"> <?php if (function_exists('eeb_content')) { echo eeb_content('<a href="tel:+1-888-888-8888">(888) 888-8888</a>'); } ?> </span>OK I copied the page source. Could you now disable the plugin, so I can see the original code again?
Can I see it in action?