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

Wanna Isotope

描述

A plugin to easily build Isotope/Masonry layouts with any content (posts, pages or custom post types). Responsive grids, filterable content.

Shortode parameters

type

  • example: type=”portfolio”
  • default: post
  • Display content based on posts, pages or custom post types.

items

  • example: items=”12″
  • default: 4
  • Number of items to show.

tax

  • example: tax=”category”
  • default: none
  • Show a filter based on taxonomy parameter.

term

  • example: term=”category-slug”
  • default: none
  • Show a filter based on a term parameter and only show items based on the term.
  • REQUIRED: use the tax parameter.

order_by

  • example: order_by=”slug”
  • default: menu_order
  • Sort retrieved posts by parameter.

order

  • example: order=”DESC”
  • default: ASC
  • Designates the ascending or descending order of the ‘orderby’ parameter.

id

  • example: id=”my_custom_grid”
  • default: none
  • set a custom id so you can style or target better.

屏幕截图

  • Wanna Isotope Grid

安装

  1. Upload wanna-isotope folder to the /wp-content/plugins/ directory.
  2. 通过 WordPress 的“插件”菜单以激活本插件。
  3. Place [isotope] shortcode in your content.

常见问题

How can I insert a grid in my content?

You just need to use the shortcode [isotope] in your content, with some parameters you will find in the documentation you will be able to select how your grid works, what content will be displayed, etc.

Will the plugin be updated?

Of course, we are keen to upgrade the plugin, introduce new features. So if you want to make suggestions or want to contribute you are welcome.

评价

2016 年 9 月 3 日
Perfect when you don't have the time/money for a job to develop this functionality yourself.
2016 年 9 月 3 日
Woah! With the last update, it's really easy play with the elements of the isotope grid. Even for a newby. It's a really good plugin witha smooth design a completely responsive in every device. And the support is good too. I would be awesome if for a future update, can add the possibility to expand and collapse the thumbnails in the same page to show a new content, because that was the only work that i could not do easily.
2016 年 9 月 3 日 1 回复
This is a really nice, simple to use plugin! Thank you! I would love to be able to add additional elements via shortcode like post title, publish date, and excerpt, as well as the option to show the post thumbnail or not. Will these features likely be implemented in future versions?
2016 年 9 月 3 日
Thank god. Finally something really smart and simple. Please don't add more option ;o) A shortcode attribute for inserting the post title would be great, though...
阅读所有7条评价

贡献者及开发者

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

贡献者

「Wanna Isotope」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Wanna Isotope”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0.0

  • Initial Realease.

1.0.1

  • PHP Notices fixed.

1.0.2

  • Imagesloaded Added

1.0.3

  • Term parameter Added

1.0.4

  • Re-structured some code.
  • Sanitized outputs added.
  • Templating system added.