跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Petruth Smart Gallery

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Petruth Smart Gallery

作者:Nastin MG
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Petruth Smart Gallery is an intelligent gallery plugin that transforms how you manage visual content in WordPress.
Using local heuristics or AI, it automatically extracts meaningful titles, detects categories, generates smart keywords, and writes short, SEO-friendly descriptions, all directly from your image files.

No more manual metadata entry. Just upload your images, and let Petruth Smart Gallery do the rest.

Key Features:
– 🧠 Automatically extract image titles from filenames.
– 🏷️ Detect categories and generate relevant keywords.
– ✍️ Write short, human-like descriptions using AI or local logic.
– 📸 Custom post type for managing gallery items.
– 🎨 Works seamlessly with Elementor and any modern theme.
– ⚙️ Lightweight, fast, and fully WordPress-native.

Ideal for photographers, designers, agencies, and creators who want to save time and enhance SEO visibility through intelligent image management.

Shortcode Usage

To display your gallery anywhere on your site, use the following shortcode:

[petruth_smart_gallery]

This default shortcode will render the gallery using all the settings (columns, color, and visibility of the search/filter) defined in the plugin’s Admin settings page.

Custom Attributes (Overriding Admin Settings)

You can override the default Admin settings for specific instances of the gallery using the following optional attributes:

Homepage Gallery (4 columns, limited to 8 items, no filters/search): [petruth_smart_gallery columns=”4″ qty=”8″ show_filter=”no”]

You can insert the shortcode into:

Gutenberg blocks (Shortcode block)

Classic Editor

Elementor (Shortcode widget)

Or directly inside PHP templates using: echo do_shortcode(‘[petruth_smart_gallery]’);

External Services

Petruth Smart Gallery uses AI to generate intelligent image tittles, categories and description when set in the plugin settings. The plugin can still work without any AI API key.

License

This plugin is licensed under the GPLv2 or later.
You are free to modify and redistribute it under the same license.

屏幕截图

  • Gallery overview on frontend with filters and search bar
  • Gallery overview on frontend in light mode
  • Plugin settings in the WP admin dashboard
  • Frontend gallery lightbox when image is clicked on
  • Adding gallery images or items in the admin dashboard
  • Petruth Smart Gallery on mobile view. Fully responsive
  • Gallery without filters an search bar shown. This is possible using shortcode.
  • Setings page showing columns, color picker, filters and search bar control.

安装

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Go to Petruth Smart Gallery → Settings to configure AI or heuristic mode.
  4. Start uploading your images under the Petruth Smart Gallery post type.
  5. Enjoy automatically generated titles, descriptions, and categories!

常见问题

Does this plugin require an external AI API key?

You can use either local heuristic mode (no API key required) or connect to an AI API if you want more advanced metadata generation.

Will it work with Elementor or Gutenberg?

Yes. Petruth Smart Gallery enqueues styles and scripts that work seamlessly with Elementor and the block editor.

Does it affect my existing media library?

No. It manages its own gallery post type, so your media library remains untouched.

Can I customize the generated text?

Yes. You can override or edit titles, descriptions, and keywords anytime from the gallery item editor.

评价

此插件暂无评价。

贡献者及开发者

「Petruth Smart Gallery」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Nastin MG

帮助将「Petruth Smart Gallery」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.4

  • Major feature upgrade. Admin can now set theme colors, choose whether to show titles or search bar.

1.3

  • Gallery columns added to utter display columns on frontend. Users can set in settings.

1.2

  • Fixed naming issues and other functions
  • Auto-title, keyword, and description generation
  • AI/local mode support
  • Elementor-compatible gallery display

额外信息

  • 版本 1.4
  • 最后更新:5 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.6 或更高版本
  • 已测试的最高版本为 6.9.4
  • 语言
    English (US)
  • 标签
    AIcaptionsgalleryimagesmetadata
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • Nastin MG

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.