WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Elio Rivero
    Member
    Posted 5 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