Support

Account

Home Forums Front-end Issues Adding ACF add-on plugin CSS to front-end

Solved

Adding ACF add-on plugin CSS to front-end

  • Hello all!

    I’m working on a ACF add-on for a client’s project and I came across a little trouble trying to hook the new add-on’s CSS file into the wp_head.

    I tried hooking into it, within the init function and it seemed to work but I can’t get the correct path, using dirname. Front-end crashes right away.

    Can anyone shed some light on this? What am I missing?

    Appreciate it!

  • EDIT: I figured it out!

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Adding ACF add-on plugin CSS to front-end’ is closed to new replies.