Home › Forums › General Issues › Category values to containing posts › Reply To: Category values to containing posts
Hey John, thanks for your support. I read a lot about this topic, but can’t make it work. So maybe some general questions would help.
It is possible to pass the values of a category to the posts in this category, right? Would be nice if e.g. the category has a company logo, the posts in this category could also have the company logo.
Thing is I built the site with a theme which has the funcionality to add the values of a custom field to templates, posts, categorys etc., but it only finds an shows the values if you for example put a “post-custom-field” in a post or post-template. You can put a custom field of it’s category in the post, but the field will be empty then. So I have to somehow make the system be able to hand the values from category to the posts in this category.
Do you think this would be possbile through functions.php or do I have to built custom theme files anyway?
Would be nice to clear up things in my head a little bit. 🙂
Thanks for your help!
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.