Home › Forums › General Issues › Using select field to display different information › Reply To: Using select field to display different information
This isn’t really a question of ACF but rather your theme?
If you want a select dropdown in the frontend which will change the content of the company history you’ll need to code in a select dropdown yourself and probably hook it to an ajax function which alters the content!
If you want to be able to select between different layouts in admin when you create the post you can use the conditional logic to display different input fields in the admin depending on which choice you (or who ever is administrating the site) choose from a select created with ACF. Then it’s just a matter of doing a if statement with php in the theme where you change layout depending on which select value they chose in admin.
Either way this isn’t so much an ACF issue as it’s a regular theme dev issue.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.