Linux 软件免费装
Banner图

Responsive WordPress Slider - HG Slider

开发者 halgatewood
ghuger
richardgabriel
更新时间 2021年3月31日 02:30
捐献地址: 去捐款
PHP版本: 3.6 及以上
WordPress版本: 5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

gallery shortcode slider slides free attachments simple slider features rotator slider shortcode Flexslider call to actions rotators easy slider hg slider

下载

1.0 1.1 1.1.1 1.1.3 1.1.4 1.2 1.3 1.3.1 1.3.2 2.0 2.1 1.1.2

详情介绍:

HG Slider creates a new 'Slides' area in your WordPress admin and allows you to easily setup multiple sliders around your site. It uses the standard WordPress user interface so you (and your clients) will know how to use it instantly. It has a full interface for creating Sliders and can simply put but anywhere on your site using a simple shortcode.

安装:

  1. Add plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Create placeholders in your templates (show below)
  4. Stylize to your themes design
  5. You and your clients can then upload slides with images, H2 titles and post excerpts. Great for SEO.
You can also use the new shortcode [flexslider slug="homepage"] to include the rotator in certain posts, pages, widgets, etc. To include the rotator in your theme include the Slider 'slug' and add the following line to your template: if(function_exists('show_flexslider_rotator')) echo show_flexslider_rotator( 'homepage' );

屏幕截图:

  • List view of the slides, custom columns used for quick viewing and editing
  • Standard WordPress UI is used including Featured Image support, Post Excerpt and Page Attributes
  • Included default FlexSlider template included, can be modified with CSS
  • PHP function to create your FlexSlider placeholders.

常见问题:

Change Image Size

The size of the rotator is set from your WordPress Image Size settings. You can set those with the following function (also in your functions.php file). add_image_size( 'homepage-rotator', '550', '250', true );

FlexSlider by WooThemes, Rotator Options

For the rotator itself it uses FlexSlider by WooThemes. To setup custom options like making the rotator slide, you can add FlexSlider options. The below example shows how and all the options can be found at http://www.woothemes.com/FlexSlider/ $rotators['homepage'] = array( 'size' => 'homepage-rotator', 'options' => "{slideshowSpeed: 7000, direction: 'vertical', animation: 'slide'}" );

Adding the rotator to your site

To include the rotator in your theme include the 'slug' found from your function above ($rotators['homepage']) and add the following line to your template: if(function_exists('show_flexslider_rotator')) echo show_flexslider_rotator( 'homepage' ); You can also use the new shortcode [flexslider slug="homepage"] to include the rotator in certain posts, pages, widgets, etc.

Gallery of Attachments

New in version 1.3: If you want to display the image attachments for a give post or page simply add the shortcode [flexslider] and it will automatically grab the images. You can click the standard 'Add Media' button above the WordPress Content Editor and then reorder the images to the order you want them to display. Used to be called: Responsive Slider for Developers