该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Post Slides

描述

Post Slides allows you to use the shortcode [post-slides] on any page or post and displays a grid of posts in a slides format. (Live Preview)

Post Slides offers additional shortcode attributes which override global attributes and allow for in page control. Here are some example shortcode attributes.

Example: [post-slides excerpt_length=’18’ posts=”5″ skin=”single”]

Here are a list of the available shortcode attributes and example values.

Post Slide Attributes

  • categories=”1,2,5″
  • posts=”6″
  • excerpt_length=”16″
  • excerpt_tail=”…”
  • skin=”default”
  • thumbnails=”true/false”
  • icons=”true/false”

Owl Carousel Attributes

  • loop=”true/false”
  • center=”true/false”
  • margin=”15″
  • stage_padding=”15″
  • nav=”true/false”
  • dots=”true/false”
  • autoplay=”true/false”
  • stage_padding=”15″
  • autoplay_timeout=”5000″
  • autoplay_hover_pause=”true/false”

Skins

Post Slides currently ships with two available skins. Default shows multiple smaller slides and Single displays one large slider.

Shortcodes in Themes

You can also use the WordPress do_shortcode function directly in your theme rather than puting it in the page copy. (do_shortcode Documentation)

Version 1.0.1

Arbitrary section

Enjoy it 😀

屏幕截图

  • Full Width slides

  • Medium Width slides

  • Mobile Width Titles

  • Color and layout customization

安装

  1. Upload the post-slides folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Under Settings – Post Slides configure colors, sizes and excerpt lengths
  4. Place [post-slides] into your pages

常见问题

Owl Carousel 2.0

Post Slides is a powerful plugin that generates a carousel built on (Owl Carousel 2.0). Check their website for indepth details on the functionality and dependencies in the Owl Carousel.

评价

2016 年 9 月 3 日
This is a greatly needed plugin and I’m happy to see it uses Owl Slider. The ONLY thing that would make this a “5 out of 5” for me is a just a *few* more options. I’d love to be able to chang e the colour of the title and have the ability to hide the title all together since I have the title in my featured images. Great Job! Mel
阅读所有9条评价

贡献者及开发者

“Post Slides” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Post Slides”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Created the plugin