Create a WordPress Suggested Posts Plugin Using ACF + Shortcode

Veröffentlicht am: 20 März 2026
auf dem Kanal: CodeWithShourya
14
1

In this video, I’ll show you how to build a WordPress suggested posts plugin using ACF (Advanced Custom Fields) and display the selected posts anywhere using a shortcode.

This solution comes from a real client requirement where editors needed full control over which posts appear as suggested content inside an article.

Instead of relying on automatic related posts, we’ll allow editors to manually select posts using an ACF Relationship field and render them dynamically on the frontend.

🔹 What you’ll learn:

How to create an ACF Relationship field

How to fetch ACF data in a plugin

How to build a custom shortcode in WordPress

Looping through selected posts properly

Displaying posts with title, image, and excerpt

🔹 Who this is for:

WordPress developers

PHP developers

Anyone building custom WordPress plugins

Freelancers working on client projects

👋 About the channel

On CodeWithShourya, I share practical WordPress development tutorials, including plugins, APIs, and real-world solutions.

🔔 Subscribe for more tutorials

New videos every week.

#WordPress #ACF #plugindevelopment


Auf dieser Seite können Sie das Online-Video Create a WordPress Suggested Posts Plugin Using ACF + Shortcode mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer CodeWithShourya 20 März 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 14 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!