The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
724 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 ...
1
vote
1answer
360 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( ...
1
vote
1answer
1k 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 ...
0
votes
1answer
122 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
78 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), ...
3
votes
0answers
60 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. ...
2
votes
0answers
104 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 ...
1
vote
0answers
155 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
0answers
33 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
40 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 ...
0
votes
0answers
108 views

Fixed width and height for the thickbox

How can I set a fixed width and height for the WordPress thickbox? I am trying following code, it opens the thickbox but it does not respect the height and width. I am using this code in a plugin. ...
0
votes
0answers
101 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, ...
0
votes
0answers
27 views

How can I create an edit media thickbox link?

After uploading an image to a page or post, you can click an icon/link in the top left corner to open a thickbox editor and edit its properties at any time. I have a a situation where I am uploading ...
0
votes
0answers
71 views

Editing with thickbox in wp-admin - Endless loading

I have a plugin with images inside wp-admin. Works fine without thickbox When clicking on an image I can edit them with this URL: ...