[wordpress插件] ASD RockAndRoll PowerSliderASD RockAndRoll PowerSlider

wordpress 插件 文章 2020-02-21 22:00 563 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

“RockAndRoll PowerSlider”

“ RockAndRoll PowerSlider”

That’s a pretty tall claim to make.

这是一个很高的要求。

So what’s so great about this particular slider?

那么,这个特殊的滑块有什么优点呢?

There are a lot of good WordPress slider plugins to choose from.

有很多不错的WordPress滑块插件可供选择。

What makes this one special?

是什么让这个特别?

Inherently responsive, mobile friendly, but still excellent on the desktop.

固有的响应能力,移动友好性,但在台式机上仍然出色。

Touch-sensitive for touchscreen devices, plus all the usual arrows and dots.

触摸屏设备的触敏功能,以及所有常用的箭头和点。

Lots of slider options.

许多滑块选项。

Powered in the browser by the awesome Slick.JS.

强大的Slick.JS在浏览器中提供动力。

Can use any type of Page/Post/Media as a slide, including WooCommerce products.

可以使用任何类型的页面/帖子/媒体作为幻灯片,包括WooCommerce产品。

PowerSliders and Powerslides have the ability to embed JavaScript code, so that an animated slideshow presentation can easily be built.

PowerSliders和Powerslides具有嵌入JavaScript代码的功能,因此可以轻松地构建动画幻灯片演示文稿。

The plugin automatically creates the JavaScript framework so that each slide’s BeforeSlide and AfterSlide scripts are implemented as callbacks to the Slick.JS instance.

该插件会自动创建JavaScript框架,以便将每个幻灯片的BeforeSlide和AfterSlide脚本实现为Slick.JS实例的回调。

PowerSliders are easily embedded as shortcodes, example shortcodes are listed in the Edit PowerSlider screen.

PowerSlider可以轻松地作为短代码嵌入,示例短代码在“编辑PowerSlider”屏幕中列出。

All code in the RockAndRoll PowerSlider plugin (and ALL ASD plugins) has been audited through CodeSniffer, and contains proper escaping and sanitizing calls to prevent against hack attempts such as “SQL injection” and “cross site scripting.”

RockAndRoll PowerSlider插件(和ALL ASD插件)中的所有代码均已通过CodeSniffer进行了审核,并包含适当的转义和清理调用,以防止黑客尝试,例如“ SQL注入”和“跨站点脚本”。

>

>

Supports custom slide templates, and includes templates for PowerSlides and WooCommerce products.

支持自定义幻灯片模板,并包括PowerSlides和WooCommerce产品的模板。

安装步骤

Manual installation

手动安装

At a command prompt or using a file manager, unzip the .ZIP file in the WordPress plugins directory, usually ~/public_html/wp-content/plugins .

在命令提示符处或使用文件管理器,将.ZIP文件解压缩到WordPress插件目录中,通常为〜/ public_html / wp-content / plugins。

In the In the WordPress admin Dashboard (usually http://yoursite.foo/wp-admin ) click Plugins, scroll to ASD RockAndRoll PowerSliders, and click “activate”.

在WordPress管理控制台(通常为http://yoursite.foo/wp-admin)中,单击插件,滚动到ASD RockAndRoll PowerSliders,然后单击“激活”。

Upload in Dashboard

在控制台中上传

Download the ZIP file to your workstation.

将ZIP文件下载到您的工作站。

In the WordPress admin Dashboard (usually http://yoursite.foo/wp-admin ) Select Plugins, Add New, click Upload Plugin, Choose File and navigate to the downloaded ZIP file.

在WordPress管理员控制台中(通常为http://yoursite.foo/wp-admin),依次选择“插件”,“添加新内容”,单击“上传插件”,选择“文件”,然后导航至下载的ZIP文件。

After that, click Install Now, and when the installer finishes, click Activate Plugin.

之后,单击“立即安装”,然后在安装程序完成后,单击“激活插件”。

After Install

安装后

Create Some Slides
   

创建一些幻灯片
   

In the Dashboard:
   

在控制台中:
   

Select the Dashboard PowerSlides item, Add New
   

选择仪表板PowerSlides项,添加新
   

Give the PowerSlide a name.

给PowerSlide命名。

(this won’t show up in the slide when the default template is used.)
   

(使用默认模板时,它不会显示在幻灯片中。)
   

You can put a little text in the editor.
   

您可以在编辑器中放一些文字。
   

Click Featured Image to set an image.
   

单击“特色图像”以设置图像。
   

In the right column, click “+Add New Powerslidergroups”, and add a new entry, something like “My PowerSlide Group”
   

在右列中,单击“ +添加新的Powerslidergroups”,然后添加一个新条目,例如“ My PowerSlide Group”
   

Publish the first slide.

发布第一张幻灯片。

Click Add New to create another PowerSlide.
   

单击“添加新的”以创建另一个PowerSlide。
   

Add text and Featured Image as before, but this time just check the Powerslidegroups entry “My PowerSlide Group”, no need to create it again, and Publish the Slide.

像以前一样添加文本和“特色图片”,但是这次只需检查Powerslidegroups条目“我的PowerSlide组”,无需再次创建它,然后发布幻灯片。

Two slides is enough for a slider to work.

两个幻灯片足以使一个滑块工作。

Create A Slider
   

创建滑块
   

Select the Dashboard PowerSliders item, Add New
   

选择仪表板PowerSliders项,添加新
   

Give the PowerSlider a name.
   

给PowerSlider命名。
   

The default settings work fine, but you can set options as you like.
   

默认设置可以正常工作,但是您可以根据需要设置选项。
   

Click Update.
   

单击更新。
   

After the PowerSlider is Updated, the list of Shortcode Examples will grow

更新PowerSlider之后,“简码示例”列表将会增加

Insert the Shortcode.
   

插入简码。
   

In the Edit PowerSlider screen, copy the first of the Shortcode Examples to a page in your site.
   

在“编辑PowerSlider”屏幕中,将第一个“简码示例”复制到您站点中的页面。
   

[insert_powerslider powersliderslug=”my-test-powerslider” powerslidegroups=”my-powerslide-group”]
   

[insert_powerslider powersliderslug =“ my-test-powerslider” powerslidegroups =“ my-powerslide-group”]
   

(You might have to edit the powerslideslug or powerslidegroups fields if you used different names.)
   

(如果使用其他名称,则可能必须编辑powerslideslug或powerslidegroups字段。)
   

Click Update and you have a working PowerSlider.

单击“更新”,您就可以使用PowerSlider。

Using the Shortcode

使用简码

The base shortcode is [insert_powerslider]

基本简码是[insert_powerslider]

Powersliders can be selected using the attributes
   

可以使用属性选择滑条
   

powersliderslug (ex) powersliderslug=”my-powerslider”
   

powersliderslug(ex)powersliderslug =“ my-powerslider”
   

powerslidername (ex) powerslidername=”My PowerSlider”
   

powerslidername(例如)powerslidername =“我的PowerSlider”
   

powersliderid (ex) powersliderid=”778″

powersliderid(ex)powersliderid =” 778”

Slides can be selected using:

可以使用以下选项选择幻灯片:

* The included “powerslidegrous” taxonomy
   

*包含的“ powerslidegrous”分类法
   

(ex) powerslidegroups=”my-powerslide-group”

(ex)powerslidegroups =“ my-powerslide-group”

    • Any other defined taxonomy

      任何其他已定义的分类法

      (ex) sometaxonomy=”my-taxonomy”

      (例如)sometaxonomy =“我的分类法”

    • Category

      类别

      (ex) category=”my-category”

      (例如)category =“我的类别”

    • Post ID’s

      帖子ID的

      (ex) ids=”2345,2367″

      (例如)ids =“ 2345,2367”

    • Media Library ID’s

      媒体库ID的

      (ex) image_ids=”3023,3027″

      (例如)image_ids =” 3023,3027”

    • WooCommerce Product Category

      WooCommerce产品类别

      (ex) product_cat=”my-woo-product-group”

      (例如)product_cat =“ my-woo-product-group”

    Custom templates can be selected using the “template” attribute
       

    可以使用“模板”属性选择自定义模板
       

    (ex) template=”my-slide-template.php”
       

    (例如)template =” my-slide-template.php”
       

    (ex) template=”woo-products-template.php”

    (例如)template =” woo-products-template.php”

    If no template is specified, the default template powerslides-template.php is used.

    如果未指定模板,则使用默认模板powerslides-template.php。

下载地址
https://downloads.wordpress.org/plugin/asd-rockandroll-powerslider.2.201902051.zip
-EOF-

AI助手支持GPT4.0