• Resolved olgamm

    (@olgamm)


    Hello again,

    I’m coming from the following thread https://bit.ly/3xhvc2k

    I’m using the the photo_gallery function in order to append data to a div in an ajax call.
    When I’m using the photo_gallery function with an argument the id of the gallery(photo_gallery($ID_of_gallery) ), the gallery appear in the frontend with a spinning icon and never loads normaly.

    I have tested the code in a localhost without plugins and with different themes and nothing works, i really need your help.

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dear @olgamm,
    Thank you for starting a new thread.
    You should create a new function in plugin’s main file where BWG()->shortcode must receive TRUE on second argument(for ajax calls),
    then call new function where you want : https://nimb.ws/i06lBr

    Sincerely,

    Thread Starter olgamm

    (@olgamm)

    @asyag Thanks for the reply.

    I used a fully different approach on this matter but i will keep your solution in mind because I’m still using the plugin in other pages and loops.

    Many thanks, keep the good work. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Gallery loading forever’ is closed to new replies.