To clarify – this is for a newspaper. The homepage has sections where the editor can pick where different articles go. The articles displayed on homepage reference posts that are articles. The front page education section has a custom field ($front_page_eductation_section_related_post) where the editor can pick which article (post) he would like to choose to highlight for that section. There is another page in the site that is entirely dedicated to Education related articles. It would be great if the main article displayed on the Education page reflected what was chosen for the Education section on the homepage (ID=8).
I think you have a relationship or a post object field that is on the home page. On the home page you get the relationship or post object field and then show a custom field that is on the post indicated in the relationship or post object field?
Do I have that right?
If not, please explain in more detail.
An options page would be a good way to do this if you want to show the same thing in multiple pages, but if I understand what you want to do (see above) it can be done without using an options page.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Last but not least, we built a 100% PHP based Gutenberg Block API designed specifically for theme developers in the real world creating bespoke and maintainable blocks for future driven projects!https://t.co/bx8HrCwkjF