Home › Forums › General Issues › Help retrieving with ACF to define posts shown – Using a Shortcode › Reply To: Help retrieving with ACF to define posts shown – Using a Shortcode
When I take out the ACF bit, the shortcode works great John, so that category part has no problems. The issue seems to be 100% with how I am passing the ACF values to the shortcode.
The reason it’s blank is in creating the shortcode parameter itself to allow the option to specify a category if desired. When I leave that blank it just shows all posts 🙂
The problem is now I have added ACF, when I am trying to use the newly created parameter ‘metavalue’ in my shortcode, it doesn’t show any results.
I could use categories for this but it ‘seemed’ easier to use ACF and now I am keen to know why this isn’t working for future 🙂
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.