Linux 软件免费装
Banner图

Webcasata Filter Gallery

开发者 webcasata
更新时间 2026年6月27日 14:34
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPL-2.0+
版权网址: 版权信息

标签

gallery image gallery lightbox grid filter filterable gallery masonry dropdown filter

下载

详情介绍:

Webcasata Filter Gallery lets you build stunning, responsive image galleries where visitors can instantly filter images using custom dropdown menus — all without any page reload. Key Features Template Override System Copy templates to your active theme to customise the output: your-theme/webcasata-filter-gallery/image-card.php your-theme/webcasata-filter-gallery/gallery-template.php All image variables are available in image-card.php: $image, $title, $caption, $link_url, $link_new_tab, $filters, $lightbox, $show_title, $index, $gallery_id. Shortcode Parameters [wbfg_gallery id="X" columns="3" show_all="yes" per_page="6" loadmore="6" layout="grid" lightbox="yes" animation="slide" title="show"] | Parameter | Values | Default | |-------------|-----------------------|--------------| | id | Gallery post ID | (required) | | columns | 1–6 | 3 | | show_all | yes / no | yes | | per_page | number or -1 | 6 | | loadmore | number | 6 | | layout | grid / masonry | grid | | lightbox | yes / no | yes | | animation | slide / fade / none | slide | | title | show / hide | show | Credits Developed by Vishal Singh at Webcasata.

安装:

  1. Upload the webcasata-filter-gallery folder to /wp-content/plugins/.
  2. Activate the plugin through Plugins › Installed Plugins.
  3. Go to Filter Galleries › Add New to create your first gallery.
  4. Add filter groups and values, upload images, assign filter values, and publish.
  5. Copy the shortcode from the sidebar and paste it into any page or post.

屏幕截图:

  • Add New Gallery
  • Explained each fields
  • Copy the Shortcode
  • Create new page/post and paste the shortcode.
  • Front end view

升级注意事项:

2.1.0 Adds template override system. Existing galleries work without any changes. 2.0.0 Major upgrade: flat tags replaced by multi-group dropdown filters. Existing v1 galleries continue working automatically. 1.0.0 Initial release.

常见问题:

Can one image belong to multiple filter values?

Yes. Each image has a multi-select box per filter group. Hold Ctrl/Cmd to select multiple values — e.g. a cuisine image can be tagged as both India and USA.

How does the filtering logic work?

AND logic across groups, OR within a group. If you select Country=India and Room=Kitchen, only images assigned to India (or both India and USA) AND Kitchen are shown.

Can I customise the image card layout?

Yes — copy image-card.php from the plugin's templates/ folder to your-theme/webcasata-filter-gallery/image-card.php and edit freely. All image data is available as PHP variables.

How do I show all images without a Load More button?

Set per_page="-1" in the shortcode, or set "Images on Page Load" to -1 in the Settings page.

Does this plugin slow down my site?

CSS and JavaScript are only enqueued on pages that contain a gallery shortcode or block. Images use native loading="lazy".

更新日志:

2.1.0 2.0.0 1.0.0