WordPress.org

Forums

  1. codecandid
    Member
    Posted 9 months ago #

  2. codecandid
    Member
    Posted 9 months ago #

    Here is the working version for V5 of ACF

    https://gist.github.com/bryanwillis/bbfdce5febd3db16c53c#file-acf-field-snitch-v5-js

    Pretty simple fix. I realized data attributes that you are using as selectors have been changed in V5 to work like the repeater field where data-field_name simply becomes data-name.

    Also here is the new field template for version 5. It lets you define different files based on the version.

  3. Little Boy Running
    Member
    Posted 8 months ago #

    Thanks for the fix! Works a treat.

  4. codecandid
    Member
    Posted 8 months ago #

    No problem.

    For anyone else if you don't know where the file goes just copy the js from the code and use it to replace the code in snitch.js (which is in the plugins root folder).

  5. influencebydesign
    Member
    Posted 2 days ago #

    Works great! Can we get this fix rolled into the plugin.

Reply

You must log in to post.

About this Plugin

  • Advanced Custom Fields: Field Snitch
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.