Home › Forums › Front-end Issues › Custom Field Not Displaying in Front End › Reply To: Custom Field Not Displaying in Front End
This works great for the Category Pages. Now I’m trying to implement a header background image for the product pages. The product pages are only going to use ONE image per category. So say a product that is under the Fan category would need to use a background image and all of the other products under that same category would use the same image.
A different product under a different category would use a different image and all other products under that same category would use the same image.
Is there any way to do this type of condition for product pages and post the code in the ‘single-product.php’ page?:
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.