wordpress 如何从 WonderPlugin 滑块中删除 Wonderplugin.com 链接

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26436352/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 11:01:58  来源:igfitidea点击:

How to remove wonderplugin.com link from WonderPlugin slider

wordpresswordpress-pluginslider

提问by Mayur Mehta

I am relatively new to the WordPress. I am using free version of the WonderPlugin slider in my site. There is a link coming in the top left corner of the slider showing wonderplugin.com.

我对 WordPress 比较陌生。我在我的网站中使用 WonderPlugin 滑块的免费版本。滑块左上角有一个链接,显示了 Wonderplugin.com。

Is it possible to remove that link from the free version of the WonderPlugin.

是否可以从 WonderPlugin 的免费版本中删除该链接。

I am using WordPress 4.0 and WonderPlugin Slider Free Version 2.6

我使用的是 WordPress 4.0 和 WonderPlugin Slider 免费版 2.6

回答by Niraj Chapla

First of all if you want to use free version of the WondePlugin, you should be fine to show the wonderplugin link on the slider. You can avoid that link by using commercial version of plugin.

首先,如果您想使用免费版的WondePlugin,您应该可以在滑块上显示wonderplugin 链接。您可以通过使用插件的商业版本来避免该链接。

As far as free version is concern, the link can be removed by the custom css.

就免费版本而言,可以通过自定义 css 删除链接。

On the edit slider screen of the plugin click on Optiontab.

在插件的编辑滑块屏幕上,单击选项选项卡。

Click on Advance Optionand put following css in the Custom CSSbox.

单击高级选项并将以下 css 放入自定义 CSS框中。

div.amazingslider-box-1 :nth-child(3) { 
   visibility: hidden;
}

This will hide the link.

这将隐藏链接。

回答by hazg

CSS

CSS

.wonderpluginslider-container{
    display: none
}

JS

JS

jQuery('.wonderpluginslider-container')
    .show()
    .find('a[href="http://www.wonderplugin.com/wordpress-slider/"]')
    .parent().remove();

回答by Otto

Thanks for the answers but it doesn't work with the WonderPlugin Grid Gallery Free Version 2.2., which I was looking for when I stumpled over the thread. To remove the watermark from the grid gallery, go to wonderplugin-carousel/engine/wonderplugingridgallery.js and look for

感谢您的回答,但它不适用于 WonderPlugin Grid Gallery 免费版 2.2,这是我在遇到该线程时一直在寻找的。要从网格库中删除水印,请转到 Wonderplugin-carousel/engine/wonderplugingridgallery.js 并查找

<div style="display:none;position:absolute;top:4px;left:4px;padding:2px

Change the display:block to display:none and the watermark is no longer visible.

将 display:block 更改为 display:none 并且水印不再可见。

回答by Elaine

You have to search for: wpositioncssdefault:"display:block;position:absolute;bottom:8px;right:8px;line 162 in the wonderplugincarousel.js and then you change display:block;to display:none;. Cheers!

您必须搜索: wpositioncssdefault:"display:block;position:absolute;bottom:8px;right:8px;wonderplugincarousel.js 中的第 162 行,然后更改display:block;display:none;. 干杯!

回答by Jayesh Naghera

wonderplugincarousel.js

Wonderplugincarousel.js

Line No.259 replace display:blockwith display:none,
change visibility:visibleto visibility:hidden
and remove !important
and change mklink.css("visibility")=="visible"to mklink.css("visibility")==""

第 259 行替换display:blockdisplay:none
更改visibility:visiblevisibility:hidden
并删除!important
并更改mklink.css("visibility")=="visible"mklink.css("visibility")==""

回答by Shankar Prakash G

Open engine\wonderplugingallery.jsand search for var commonOptions. Then change

打开engine\wonderplugingallery.js并搜索var commonOptions。然后改变

var commonOptions = {
    /* other options */
    ...
    fv: true,
    ...
}

to

var commonOptions = {
    /* other options */
    ...
    fv: false,
    ...
}

and the plugin will take care rest(no custom CSS and JS headache).

插件会照顾休息(没有自定义 CSS 和 JS 头痛)。

I have checked it with Version 8.6and it's working.

我已经用8.6 版检查过它并且它正在工作。

回答by Shankar Prakash G

These solutions are all updated and solved by WonderPlugin admins. But here is the new solution for WonderPlugin Portfolio Grid Gallery (Version 11.8):

这些解决方案均由 WonderPlugin 管理员更新和解决。但这是 WonderPlugin Portfolio Grid Gallery(版本 11.8)的新解决方案:

open: engine\wonderplugingridlightbox.js

打开:engine\wonderplugingridlightbox.js

on line 66 : title='WordPress Gallery'><div style='display:block;width:180px;height:20px;text-align:center;border-radius:3px;-moz-border-radius:3px

在第 66 行: title='WordPress Gallery'><div style='display:block;width:180px;height:20px;text-align:center;border-radius:3px;-moz-border-radius:3px

Change display:blockto display:none

更改display:blockdisplay:none

And here we go!

现在我们开始!

回答by Eli

Open your style.css and then put the code below

打开你的style.css,然后把代码放在下面

div.html5gallery-container-0
div.html5gallery-box-0
div.html5gallery-elem-0
div.html5gallery-elem-img-0
a{
  visibility: hidden;
}

回答by user3272729

A simple solution

一个简单的解决方案

div.amazingcarousel-image :nth-child(3) { visibility: hidden;}

because free version link is the 3rd child div in parent div with class- amazingcarousel-image

因为免费版本链接是父 div 中的第 3 个子 div,其 class-amazingcarousel-image

回答by santanu

search for this.options.watermarktext=this.options.vermk;and replace this.options.vermkwith nil

搜索this.options.watermarktext=this.options.vermk;并替换this.options.vermknil