WordPress.org

Forums

  1. Bryan Willis
    Member
    Posted 1 year ago #

  2. Bryan Willis
    Member
    Posted 1 year 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 1 year ago #

    Thanks for the fix! Works a treat.

  4. Bryan Willis
    Member
    Posted 1 year 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 1 year ago #

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

  6. Bryan Willis
    Member
    Posted 1 year ago #

    @ influencebydesign Doesn't look like the author has been active for about a year now unfortunately...

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.