Linux 软件免费装

Rockon Owl Slider

开发者 devikas301
更新时间 2026年8月11日 02:04
PHP版本: 7.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

slider responsive slider carousel owl carousel touch slider

下载

2.0 2.1.0

详情介绍:

Rockon Owl Slider is a simple, responsive WordPress slider plugin built on Owl Carousel 2, a touch-enabled jQuery plugin. Slides are a custom post type, so you create them the same way you create any post. Each slide uses its featured image as the background, its title and excerpt as the caption, and can carry an optional link that opens in the same tab or a new one. Add the slider anywhere with the [ROCKON_OWL] shortcode. Features Usage
  1. Go to Rockon Owl Slider > Add New Slide in the admin menu.
  2. Give the slide a title, set a featured image, and add an excerpt for the caption.
  3. Optionally add a link in the Slide Link box below the editor.
  4. Publish, and repeat for as many slides as you need.
  5. Add the shortcode [ROCKON_OWL] to any post or page.
To output the slider directly in a theme template file: <?php echo do_shortcode( '[ROCKON_OWL]' ); ?>

安装:

  1. Log in to your site's administration panel.
  2. Go to Plugins > Add New.
  3. Search for "Rockon Owl Slider", or upload the plugin archive.
  4. Click Install Now, then Activate.
  5. Create slides under Rockon Owl Slider, then add [ROCKON_OWL] where you want the slider to appear.

屏幕截图:

  • The shortcode shown on the plugin screen in the admin.
  • Setting the slider width in the Customizer.
  • Adding a slide in the admin.

升级注意事项:

2.1.0 Security release, please update. Also fixes the slider appearing at the top of the page instead of where the shortcode is, and fixes autoplay and the navigation arrows, neither of which worked. Slide markup and slide order have changed, so check any custom CSS after updating.

常见问题:

How do I add the slider to a page?

Add the shortcode [ROCKON_OWL] to the page content. The lowercase form [rockon_owl] works too.

How do I add the slider directly in a theme template?

Use <?php echo do_shortcode( '[ROCKON_OWL]' ); ?> in your template file.

In what order do the slides appear?

By page order first, then by date, oldest first.

What image size should I use?

Around 1920x1080 for a full-width slider. Smaller images are stretched to fill the slide and will look soft.

Can I change the slider width?

Yes. Go to Appearance > Customize > Rockon Slider Customizer and enter a maximum width in pixels, without the unit. Leave it empty for full width.

The slider used to appear at the top of my page instead of where I put the shortcode.

That was a bug and it is fixed in 2.1.0. The slider now renders exactly where the shortcode sits.

Does it need jQuery?

Yes. Owl Carousel is a jQuery plugin, and the plugin now loads jQuery for you. Earlier versions did not declare it, which is why the slider failed to start on block themes.

更新日志:

2.1.0 Security and stability release. Updating is strongly recommended. 2.0