• Hello!

    I’d like to know if there is a general way to bring the “data” (fields) to the posts/pages in this category?

    I added some fields like email, adress etc. to categorys and can display them on the category pages, but the posts in this category don’t get the data. Would be really great it the categories could somehow hand the data over.

    Perfect solution would be somehow through functions.php or settings?

    Thanks for your help!

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Your question seems to be related to ACF, and not really to the ACF Extended plugin tho.

    You can retrieve a field value from a category, by passing its ID in the get_field() function (See documentation). For example, to display a field fro mthe “Category ID 4”, you can use the following code: get_field('my_field', 'category_4').

    You will find some topics about that question on the ACF Support Forum, here and here for example.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘Category “data” to its containing posts/pages’ is closed to new replies.