Support » Plugin: PDF Flipbook, 3D Flipbook WordPress - DearFlip » JS/CSS files for deaflip plugin are loaded when not needed.

  • Currently, the JS/CSS files for dearflip are loaded on pages that do not need them. This is because wp_enqueue_script and wp_enqueue_style are run upon initialization, when they should be run upon shortcode usage. Requesting that a change be made in future versions of dflip and dflip pro that only enqueues scripts and styles when they are actually needed.

    I can provide a diff file to the dflip team that makes this change.

Viewing 1 replies (of 1 total)
  • Plugin Author DearHive



    We had encountered such request before, but this can be problematic in scenarios where the content is loaded by Ajax and then the flipbooks wont work.

    Best regards,


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.