magic976
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] [BUG] Advanced Link Sub FieldsThat worked! Thank you so much for your quick responses and continued work on the awesome package!
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] [BUG] Advanced Link Sub FieldsLooking at your video, two things stand out. It looks like you might be using the classic editor? We are using the Gutenberg editor. And then did you give the page a hard refresh once updated?
Here is our code we use:
add_filter( 'acfe/fields/advanced_link/sub_fields', array( RegisterAcf::class, 'add_advanced_link_fields' ), 10, 3 ); ------ public static function add_advanced_link_fields( $sub_fields, $field, $value ) { $sub_fields = array_merge( $sub_fields, array( array( 'name' => 'tn_element', 'label' => 'Turnstile Element Name', 'type' => 'text', 'instructions' => 'Add a name here to show as the data-tn-element.', ), array( 'name' => 'aria_label', 'label' => 'Aria Label', 'type' => 'text', 'instructions' => 'Please provide a descriptive Aria Label.', ), ), ); return $sub_fields; }Thanks!
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] [BUG] ACF field typeJohann,
Thanks so much for the quick response! Confirming this has fixed the issue.Thanks again!
Viewing 3 replies - 1 through 3 (of 3 total)