Home › Forums › General Issues › Insert Page Title Within Shortcode › Reply To: Insert Page Title Within Shortcode
Hi, @markbloomfield and James.
Apologies if I didn’t explain it well enough.
So in my pages I want to use a shortcode from a WordPress plugin and the shortcode gives you the option to make each specific instance of the shortcode unique by adding ‘=”UniqueName”‘ to it. I want each instance if the shortcode to be unique. So the way I want to do this is by making the unique name of the instance of the shortcode the name of the page.
So in my template I want to have the shortcode in their but I want it to use a unique name each for each page.
I hope this is has made things clearer.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.