WP Manifestindependent plugin directory
manifest / utilities / acf-utility-shortcodes

ACF Utility Shortcodes

Utility WordPress plugin providing reusable ACF-based shortcodes using best practices.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/harshzavare/acf-utility-shortcodes/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight WordPress plugin that provides reusable, secure shortcodes for displaying Advanced Custom Fields (ACF) values using best practices.


Features

  • Display ACF image fields using shortcodes
  • Display ACF text, textarea, and number fields using shortcodes
  • Optional post_id support for cross-post usage
  • Clean, modular, and scalable architecture
  • Follows WordPress coding standards
  • Secure output with proper escaping

Requirements

  • WordPress 5.0 or higher
  • Advanced Custom Fields (ACF) plugin installed and active
  • PHP 7.4 or higher

Installation

  1. Download or clone this repository.
  2. Upload the acf-utility-shortcodes folder to your /wp-content/plugins/ directory.
  3. Activate the plugin from WordPress Admin → Plugins.
  4. Ensure Advanced Custom Fields (ACF) is active.

Usage

1️ Display ACF Image Field


[acf_image field="hero_image"]

---

### 2 Display an image from another post:
[acf_image field="banner_image" post_id="123"]