WordPress.org

Support

Support » Plugins and Hacks » [Resolved] SFC conflict with Advanced Custom Fields?

[Resolved] SFC conflict with Advanced Custom Fields?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    There is no get_field function in WordPress. So whatever it’s doing in ACF is something specific to ACF.

    Figured it out. I have some get_field calls in header.php that depends on $post->ID to get the right values…. mostly needed for the homepage. But SFC has a hook for wp_head that sets $post to one of my recent posts being display on the home page.

    I just have to be more explicit with what page id I want or make rework how I go about it.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] SFC conflict with Advanced Custom Fields?’ is closed to new replies.