#55224 ACF – Custom fields from a specific post
BJ Flagg 2 years, 2 months ago
The objective is for my client to add 4 or so fields to a section on the page without having to use Elementor editor. The alternative I would like is for them to just go to a specific post in WP Admin (not using Elementor) and enter the fields setup using ACF. Its a series of numbers and dates — probably only 4 fields – that they will change from time to time. They would simply go in to the post, and add those numbers. Then publish. Then the newest field entries would show up on a pages section setup using Dynamic Fields.
I have already setup that section here: https://staging.hjsims.com/private-wealth-management/highlighted-offerings/
Its the section “Tax Exempt Municipal Bond” and if you see ‘afsff’ in that box, that is one of the custom fields I have setup.
So I have setup the post here https://staging.hjsims.com/highlighted-offerings-1/ and using just Editor you can see that I have added a Field Group consisting of 3 fields in ACF.
I am trying to figure out how it can pull the specific data from this particular post? i have the 3 fields on there using ACF as the Source. So its just not showing that particular posts data.Mohsin Al-Rabieai Support Team 2 years, 2 months ago
Actually, the ACF field will only work on the same page or post you are trying to. I guess what you need is more like defining some global variables and use them in some places. The best thing I can offer is to use such a plugin:
It allows you to define multiple global variables and instead of a simple text, use a shortcode and it shows that value. Using an ACF field on a post will not do the job as you wish or makes it very hard to achieve and it might be not worth comparing to the workload it causes.
Hope it helps 🙂