Home › Forums › General Issues › How to display the value from the latest post id in the widget › Reply To: How to display the value from the latest post id in the widget
@James @acf-support
My shortcode in widget is:
[acf field=p1 post_id=1277]
And i have to change 1277 to the new post id every day.
I would like to remove them and it will be like:
[acf field=p1]
For get the latest post id, then i will not change the new post id every day.
But it not show anything.
Thank you.
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.