跳到内容

NoEmpty Image for Advanced Custom Fields

v1.0

abdulrehmanirfan · 2026年11月2日 上架

Easily set a fallback default image for Advanced Custom Fields (ACF) image fields when no image is selected.

正在使用
10 以下
评分
暂无
累计下载
109
最近更新
2026年11月2日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+

截图

The "Default Image" setting inside an ACF Image field.
The "Default Image" setting inside an ACF Image field.

NoEmpty Image for Advanced Custom Fields allows WordPress developers and content creators to set a default fallback image directly within Advanced Custom Fields (ACF) Image field settings.

When editing a post, page, or custom post type where an ACF Image field is left empty, the plugin automatically provides the specified default image. This prevents broken layouts, eliminates the need for repeated fallback conditional checks in template files, and ensures a seamless display across your entire WordPress site.

Developed and maintained by Abdul Rehman.

Key Features

  • Native ACF Field Setting: Adds a “Default Image” uploader directly inside any ACF Image field settings.
  • Automatic Fallback: Returns the default image whenever a post or page has no image selected.
  • Full ACF Return Format Compatibility: Works seamlessly with all ACF return formats:
    • Image Array
    • Image URL
    • Image ID
  • Lightweight & Fast: Zero frontend overhead; hooks directly into ACF’s native value loading pipeline.
  • Extensible for Developers: Provides the noempty_image_for_acf_value filter hook for dynamic conditional fallbacks.
  • ACF PRO & Secure Custom Fields (SCF) Compatible: Supports Advanced Custom Fields (Free & PRO) as well as Secure Custom Fields.
  • Fully Compatible with PHP 8.x and Latest WordPress: Clean, secure, and compliant with WordPress coding standards.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums