The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
25 views

Thickbox / image upload empty on library

Uploading images on WordPress using metaboxes is always a pain. Plugins desactivated, I have an empty media library using an upload button in a metabox. The count is good though. Scripts are ...
0
votes
0answers
63 views

Is it possible to load an admin page inside a thickbox?

I'm currently trying to load a custom made admin page inside a thickbox. It's for creating new users with loads of extra custom data and none of the stuff I don't care about. Administrators can ...
2
votes
0answers
304 views

Custom media upload content for inserting custom post shortcode

I’m working on a plugin that creates custom post type “portfolio” along with shortcode to insert in any page or post. The shortcode is: [portfolio option1=“1” option2=“0” option3=“1” ] And it works ...
0
votes
0answers
41 views

Make plugin page follow standard enqueueing procedures

I am writing an administrator plugin that helps a user write some simple shortcodes. When the user clicks on a new button in the TinyMCE editor a ThickBox window appears and loads a PHP template I ...
0
votes
0answers
66 views

Is it possible to upload multiple images via Media Library tab in Thickbox I've created?

I have a meta box upload button and I want to upload multiple images using that button. Firstly I enqueue required scripts: add_action( 'admin_print_scripts-post-new.php', 'mycpt_admin_script', 11 ...
9
votes
1answer
264 views

ThickBox replacement

I'm searching, unsuccessfully unfortunately, for a ThickBox replacement used in Media Uploader. Any search fails on how to leverage Media Uploader and nothing about a script used for modal windows. ...
0
votes
1answer
403 views

Thickbox in Plugin settings page?

I adding the default wordpress thickbox in the admin page to show some information inside the div. Everything seems ok when i click that link it appear in popup now <a class="thickbox" ...
1
vote
1answer
487 views

Loading WP core Thickbox through frontend

Looking through some of the top Google results, this question has been answered a number of times, but the answers given don't seem to be working in my WP 3.6 install. One solution given is this: ...
2
votes
2answers
1k views

ThickBox width can't be changed in admin

I'm trying to make pop up in admin area (in post edit screen) and i can't make my thickbox wider then 670px (width: 670px). Here's my thickbox code that shows thickbox: tb_show( ...
0
votes
1answer
263 views

Thickbox doesn't respect dimensions when used in admin [duplicate]

I'm writing an admin plugin which produces a pop up to give the user a preview of content. I tried to use thickbox as suggested here - http://codex.wordpress.org/ThickBox but it does not respect ...
0
votes
0answers
167 views

Thickbox not displaying just the image, instead showing full page in lightbox

I have implemented Thickbox into my wordpress theme. I have a regular Wordpress gallery that now has the lightbox when you click on any of the images. When clicked the lightbox shows up. However, ...
2
votes
1answer
1k views

Issues creating a tinyMCE plugin that creates a custom link

I'm working on a plugin that works similar to the "link" button on tinyMCE: The user highlights text -> presses a button -> enters text into a box in a thickbox popup -> submits the form -> the user ...
2
votes
1answer
7k views

Lightbox popup on WooCommerce add_to_cart action

I would like to create a modal 'pop-up' window in WooCommerce to appear when the "Add to cart" button has been clicked. This has to occur after the WC actions that actually add the product to the cart ...
0
votes
1answer
141 views

where does my function output from load-* go?

I've got a function hooked into load-edit.php that prints out print content: add_action('load-edit.php', array($this, 'generate_bulk_print_content')); public function generate_bulk_print_content() { ...
0
votes
1answer
92 views

Hide the 'Gallery Settings' section of the Gallery tab of the media Thickbox

When I invoke the media uploader from a certain page, I'm looking for a way to hide all of the 'Gallery Settings' options at the bottom of the Gallery tab. I have set a referrer (dd-options-footer), ...
0
votes
1answer
1k views

How do I make Contact Form 7 pop up in thickbox? [closed]

I am trying to make contact form 7 pop up in a thickbox modal window. I can either use do_shortcode or the shortcode but I'm not sure how to set it up. Can someone push me in the right direction? ...
0
votes
1answer
209 views

Thickbox 'tb_unload' function being called twice

When closing the Thickbox (by clicking on the cross), I am invoking the following function, by hooking it to the tb_unload action. However, the action is being called twice for some reason, and I ...
0
votes
2answers
107 views

Only make custom image size if uploaded via Thickbox and attached to certain page

I am trying to make it so that WP will create another size image for me, but only when the image is uploaded via the Thickbox, and only when it will be attached to a certain ID. Does anybody know how ...
2
votes
1answer
2k views

how to use thickbox in admin?

I would like to show my retrieved content form my classes method in thickbox. How could I do this? I have been adding the proper id to my desired hyperlink but all of the admin body is getting parsed ...
1
vote
1answer
763 views

How to Add Custom CSS to the Media Thickbox?

I've added a couple of custom fields to the Edit Media screen, but when these are displayed in the WP Media Thickbox (when adding images from the Edit Post screen, for example), the styling is gone. ...
2
votes
2answers
198 views

Wordpress native thickbox language

Is there any clean way (not overwriting wp-includes\js\thickbox\thickbox.js file) to translate english next/ prev/ image # of # and Close tooltip in Wordpress native Thickbox script?
1
vote
0answers
223 views

Show/hide button in thickbox depending on from which page it is opened

I use the Taxonomy Images plugin and it generates a button in the thickbox for associating an image with a term (see screenshot). Due to the fact that I can only associate terms with images in a ...
0
votes
2answers
260 views

Getting RID of thickbox!

I want to get rid of the complete thickbox css js and loading gif. Can anybody give me the correct way to get rid of it all via functions.php ? Cheers, Alex
3
votes
1answer
628 views

Error with Custom Admin Screen in iframe Thickbox

I have a plugin that adds a new admin screen in an iframe. I created a PHP file in my plugin, and I put a link with a class of Thickbox to that. Everything works just fine, but it produces a PHP error ...
0
votes
2answers
363 views

include shortcode values in Thickbox form

I have a shortcode that is built using a Thickbox form with various inputs that return the values. This works fine. However, I would like the existing values (if present) to re-populate the form if ...
0
votes
1answer
430 views

Custom Text in Media Uploader in a Theme Options Page

I want to replace the media uploader thickbox text only if it's used in the theme options page. If it is used in the Post then I don't want to make any changes. I am trying the following code, but ...
2
votes
1answer
479 views

Access tinymce from thickbox

Basically, I have a custom tinymce button which opens a thickbox window in iframe mode. Is there a way to access the tinymce from the iframe? Wordpress media uploader seems to do it somehow. Stuff ...
0
votes
1answer
332 views

Custom Jquery in admin breaks media-upload script

I have this part of code which loads custom version of jquery wp_deregister_script('jquery'); wp_register_script('jquery', ("http://code.jquery.com/jquery-latest.min.js"), false, ''); ...
2
votes
1answer
2k views

How to enlarge thickbox media library iframe?

The iframe in thickbox media library is not big enough to display my custom tab. I tried to add "width=900&height=600" at the end of the link that pointing to the library, but no luck. How can I ...
0
votes
2answers
467 views

Add text to metabox input text field from Thickbox

I have a custom post type with a metabox text input area that I want to have a shortcode inserted into from a thickbox when a link is clicked on from the modal window. Using the code below right now ...
2
votes
1answer
956 views

Image uploader with “Set Featured Image” link on front end

I am loading upload-media.php file using thickbox on front end where user can upload images to the post. Question: How to I trigger the upload-media.php so the link "set featured image" shows up on ...
0
votes
2answers
458 views

thickbox never gets called (weird behavior)

I have the exact same files (except for wp-config) running on a local server and a test server, and in my functions.php I have this: function len_scripts() { if (!is_admin()): ...
0
votes
1answer
437 views

How to use images uploaded with custom implementation of thickbox like the_post_thumbnail() functionality

I have create a custom post type with meta boxes. In metaboxes I have create some fealds that the use can use the WordPress ThickBox Media Dialog to upload his/her images for each post seperatly. ...
4
votes
1answer
829 views

Thickbox hacking - removing fields

Default (big and ugly) Thickbox I don't like how this Thickbox's page looks at all, I almost never use all these settings fields so decided to get rid off them, at least on pages where I'm uploading ...
4
votes
2answers
565 views

Is there a hook to put stylesheet and/or JS inside iframes (thickbox or tinyMCE) in admin area

I'm working on my admin area theme and I wanted to make some modifications on the way the thickbox and tinyMCE looks. I could make most of the changes through adding custom stylesheets and JS to my ...
0
votes
3answers
2k views

Adding URL of PDF from Thickbox in a Meta Box

I have created some meta boxes of pages on the theme i'm working on. The idea is to have a input field, then a button to upload files. The meta box is working properly. When I click on the button, ...
1
vote
1answer
588 views

How to hook into wordpress admin upload iframe?

I have written a plugin which lets the user upload file attachments for using wordpress as a download site. So I have added a meta box which shows the user the files he has uploaded for every post. ...
0
votes
1answer
1k views

How to modify iFrame content in an admin thickbox

I have a link in a metabox that brings up a Thickbox iFrame of another page on my site. It works fine, except that I can't seem to affect the DOM of the page in the iFrame. What do I have to do to ...
3
votes
3answers
3k views

Adding jquery and thickbox to WordPress theme

I would like to add thickbox for the template which I develop to WordPress. At this time I'm trying with a clean template that have only header.php, footer.php,index.php, and functions.php. I've ...
6
votes
2answers
1k views

Media upload finished hook

I'm developing a plugin which uses wordpress's thickbox media library to handle media upload and selection. All is well but for the fact that I would like to automatically 'redirect' to the 'media ...
0
votes
1answer
38 views

*box for images displayed as a post's [gallery] [duplicate]

I can remember that (at some time) there was a box display (LightBox? GrayBox? ThickBox?) for displaying images when clicking on them. Example: ...
0
votes
2answers
870 views

Thickbox no longer working on front end, did code change in WP3.3 beta 3?

Prior to the 3.3 beta 3 I used thickbox on the front end with the below script. Since beta 3 the lightbox has stopped working. Is there an error in my code or did the function change? function ...
0
votes
1answer
4k views

Howto use WP built in Thickbox for images?

I've been searching for a better way to utilize the built in Thickbox function for images. I've been using my method for a few months, but I don't think it's the best way to do it. Here is the code ...
5
votes
2answers
3k views

Using the WordPress Media Library and returning the Attachment ID rather than URL?

I'm currently using some JS to pop open the WordPress Media Library in a thickbox container and return the URL of a selected image, then display it. window.send_to_editor = function(html) { ...
4
votes
2answers
1k views

Using media-upload.php to upload mp3 via custom fields

I'm trying to use the Thickbox file upload dialogue with a custom field to allow the user to upload an mp3. What I want to do is to grab the URL of the uploaded mp3 and save it as postmeta (saving the ...
3
votes
1answer
738 views

Manipulating Media uploader

Ok. Going to try and explain this as best as I can, so bare with me. Anyway, I'm trying to include the default media uploader as a part of my plugin. Currently, I've successfully managed to use the ...
0
votes
1answer
366 views

How to fix broken admin Thickbox?

I have an installation of wordpress with the core wordpress files in a sub-directory as described here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. I've also changed wp-content to ...
7
votes
2answers
4k views

Open a Thickbox with content trough AJAX

I added a custom button to the TinyMCE editor, and I want to open WP's Thickbox when I click on it. How can I make it so that the tb_show() function loads the content I want with ajax? // the ajax ...
0
votes
1answer
669 views

send information from the thickbox image uploader second tab

in this question i've found how to create a custom tab at the image uploader. this is the code: add_filter('media_upload_tabs', 'my_media_upload_tabs_filter'); function ...
2
votes
1answer
2k views

custom tabs in media uploader

I've managed to add a custom tab to the media uploader, but for some reason it doesn't come with the same layout - it doesn't load the media-uploader-header that contain all the other tabs: ...