Forums

Won't let me modify the default Thickbox. (4 posts)

  1. aimeeish
    Member
    Posted 9 months ago #

    Hello.

    I went into the Thickbox files through wp-includes/js/thickbox/ and manually edited the thickbox files to my liking.

    Unfortunately, the modifications won't show because WordPress automatically has Thickbox set to this:
    /wp-includes/js/thickbox/thickbox.js?ver=3.1-20090123
    /wp-includes/js/thickbox/thickbox.css?ver=20081210

    The problem is the bolded letters...I do NOT want WordPress to automatically call the last updated Thickbox. I want the system to call ONLY these files:
    /wp-includes/js/thickbox/thickbox.js
    /wp-includes/js/thickbox/thickbox.css

    Is there a solution to this? Thanks.

  2. aimeeish
    Member
    Posted 9 months ago #

    This SUCKS. Bump....

  3. mattoid
    Member
    Posted 3 months ago #

    Agreed, this sucks.

  4. kichu
    Member
    Posted 3 months ago #

    The file /wp-includes/script-loader.php (around line no.167) shows thus:

    $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20090123');

    You may change the array suitably.

    S.K

Reply

You must log in to post.

About this Topic

Tags