| 开发者 | webcasata |
|---|---|
| 更新时间 | 2026年6月27日 14:34 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0+ |
| 版权网址: | 版权信息 |
[wbfg_gallery id="X"] with full inline attribute overrides.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.
webcasata-filter-gallery folder to /wp-content/plugins/.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.
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.
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.
Set per_page="-1" in the shortcode, or set "Images on Page Load" to -1 in the Settings page.
CSS and JavaScript are only enqueued on pages that contain a gallery shortcode or block. Images use native loading="lazy".
FIG_Template class with locate(), load(), is_overridden() methods.render_item() now delegates to template system; fallback inline renderer kept.wp_add_inline_style() instead of inline <style> tag.wp_add_inline_style().