category image
in Blog
Hello,
I would like to retrieve the image associated with a category using PHP.
What is the function that allows me to retrieve the image of a category (ideally by its ID)?
Also, is there a list of all mfn-XXX functions? :)
Thank you!
Comments
Hi,
We do not provide help with file customization, so I am unable to help you with that. Also, there is no list of functions.
Anyway, please explain in more detail what you want to achieve, as I believe there could no need of using PHP.
Best regards
Hello and thank you for your reply.
So what should I do?
I have an ACF field linked to the user profile.
The field will allow me to add a child category of a parent category to the article.
When I display the article, I want to display the name of the child category (there are several, only the selected one should be displayed) with... the category image!
But I imagine that this can only be done with custom code and not via the builder?
Thank you,
Please see the following video tutorial:
https://support.muffingroup.com/video-tutorials/advanced-custom-fields-in-action-with-bebuilder/
Best regards