• Resolved endlesshc

    (@endlesshc)


    Is there a way to use acf fields within LIFTERLMS templates ?
    Example : i would like to create a field that allows me to choose a background for the header of the courses archive

Viewing 1 replies (of 1 total)
  • @endlesshc,

    Absolutely!

    LifterLMS Templates are templates like any other so anything from acf like get_field() for example will work just fine within them and courses/lessons/etc are simply custom post types so you can easily attach field groups to them.

    You’ll want to override templates in your theme using our template override guide: https://lifterlms.com/docs/lifterlms-templates/#template-overrides

    I see a lot of folks drop the ENTIRE templates directory into their theme. I caution against that (FROM EXPERIENCE!) it’s a lot easier to maintain what you’ve customized if you only override the files you’re actually customizing (as opposed to everything!)

    Hope that helps,

Viewing 1 replies (of 1 total)

The topic ‘ACF FIELDS’ is closed to new replies.