The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to enqueue a modified version of Thickbox? (1 post)

  1. Elio Rivero
    Posted 7 years ago #

    I've my plugins using the wp_enqueue_script and wp_enqueue_style. However, I've modified the default Thickbox script by adding some transitions and fades and I would like to enqueue my own instead of the default WordPress script. Maybe it's possible to redefine the javascript function... the easiest way would be renaming thickbox.js to fancythickbox.js and adding a suffix to "tb_" but I would like to preserve integrity of the loaded scripts.

Topic Closed

This topic has been closed to new replies.

About this Topic