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)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.