Manual installation
手动安装 h4>
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,然后单击“激活”。 p>
Upload in Dashboard
在控制台中上传 h4>
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.
之后,单击“立即安装”,然后在安装程序完成后,单击“激活插件”。 p>
After Install
安装后 h4>
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.
发布第一张幻灯片。 p>
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组”,无需再次创建它,然后发布幻灯片。 p>
Two slides is enough for a slider to work.
两个幻灯片足以使一个滑块工作。 p>
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之后,“简码示例”列表将会增加 p>
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。 p>
Using the Shortcode
使用简码 h4>
The base shortcode is [insert_powerslider]
基本简码是[insert_powerslider] p>
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” p>
Slides can be selected using:
可以使用以下选项选择幻灯片:
* The included “powerslidegrous” taxonomy
*包含的“ powerslidegrous”分类法
(ex) powerslidegroups=”my-powerslide-group”
(ex)powerslidegroups =“ my-powerslide-group” p>
Any other defined taxonomy
任何其他已定义的分类法
(ex) sometaxonomy=”my-taxonomy”
(例如)sometaxonomy =“我的分类法” p>
li>
Category
类别
(ex) category=”my-category”
(例如)category =“我的类别” p>
li>
Post ID’s
帖子ID的
(ex) ids=”2345,2367″
(例如)ids =“ 2345,2367” p>
li>
Media Library ID’s
媒体库ID的
(ex) image_ids=”3023,3027″
(例如)image_ids =” 3023,3027” p>
li>
WooCommerce Product Category
WooCommerce产品类别
(ex) product_cat=”my-woo-product-group”
(例如)product_cat =“ my-woo-product-group” p>
li>
ul>
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。 p>