Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1192325

    Hey folks. Please bear with me as I’m very basic with PHP and this is my first foray into using ACF. 🙏

    I have a custom post type called vaare_ansatte (‘our employees’ in Norwegian), and in the child theme’s root folder I have single-vaare_ansatte.php. I’ve not really changed anything here, just added an extra class to a container and changed the default blog $title to Ansatte.

    On this custom post type I have a couple of ACF fields for job title (ag_jobrole) and email address (ag_email), and want to display these on those posts.

    The thing is, I can’t figure out where to put this stuff! I’ve put a copied loop-index.php into includes/loop.index.php, and have had a look through that file to try to make sense of it, and tried a couple things, but I’m not competent in PHP and haven’t been able to get what I want.

    I also obviously only want these ACF fields showing up on this vaare_ansatte post type.

    Almost the main reason I use this theme on the project I do is the abundance of resources and support posted here over the years – Hope this isn’t any different. 🙂

    #1192534

    Just a little bit of a bump, down on the 4th page already and see that there’s a whole heap of other threads that have been seen to.

    #1192740

    Hi chiliharstad,

    Could you please attach some screenshots of the issue?

    Could you please give us a link to your website, we need more context to be able to help you.

    Could you please attach a mockup of what you’re trying to achieve?

    Best regards,
    Victoria

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.