• Resolved dadadmin

    (@dadadmin)


    Is there a way to use the plugin for sub fields? My gallery field is part of a repeater field type

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    We have not test it with repeater field. But I guess , It should not work with repeater field type.For gallery you need create unique gallery field.

    Thanks & Regards

    Thread Starter dadadmin

    (@dadadmin)

    For anyone else that is looking to do this I was able to achieve this by changing get_field to get_sub_field.

    frontend-gallery-slider-for-advanced-custom-field/includes/shortcodes/fagsfacf-slider.php

    on line 111 change

    
    $images = get_field($acf_field_value);
    

    to

    
    $images = get_sub_field($acf_field_value);

    I would much rather be able to hook into the plugin instead of overwriting plugin code, but I’m not sure how. The only other drawback is now it can ONLY be used on sub fields. In my case it is fine because I am only using it in one location

    • This reply was modified 7 years, 3 months ago by dadadmin.

    Hello,

    This plugin only created for ACF gallery field and not for ACF Repeater. Let us give an option where you can also use ACF Repeater.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gallery with repeater field’ is closed to new replies.