The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
43 views

How to open the add media dialogue it in a certain state / tab?

I created a customized wp_view similar to embed (see wp-includes/js/mce-view.js, l. 868). I also have my own tab in the "add media" dialog. Naturally I want the edit button of my wp_view opening the ...
0
votes
1answer
49 views

How to customize WordPress Thickbox?

I've been able to do a certain amount of styling via CSS, but I'd like to add divs and more to the navigation elements - in other ords, I need to be able to somehow edit the actual js file, but ...
0
votes
1answer
24 views

Media button Thickbox content doesn't work everywhere

Please, understand that I'm new to wordpress and php. I added a media button to my media buttons in the admin by adding the following code to functions.php file: function add_custom_media_button() { ...
0
votes
1answer
173 views

How would I get this to work - send to post from thick box

I have the following javascript which talks to about 6 elements. The first three open a thickbox for media upload and what not upon clicking on a specified button, the last three target the input ...
0
votes
1answer
175 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() { ...
4
votes
0answers
681 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
347 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
6 views

Can you open a web page at a specific location with add_thickbox();?

I'm using thickbox to load a search form from another site. I'm trying to find a way to scroll the thickbox content so the search form is focused in the the box. <?php add_thickbox(); ?> <a ...
0
votes
0answers
54 views

Thickbox Opening IFrame instead of Featured Image

I am trying to open the featured image on the single post page in a WP Thickbox, but it's opening the entire post in an iframe. Here is my code: <?php if ( has_post_thumbnail()) : ?> ...
0
votes
0answers
31 views

Getting admin style sheets for custom ajax response page with thickbox

I'm trying to use thickbox to bring up a small option in the WordPress users page for adding credit to a user. This all works fine, user clicks on the link, it fires an ajax request to admin-ajax.php ...
0
votes
0answers
178 views

“window.send_to_editor” only called in Wordpress thickbox/media-uploader if “insert into post” is clicked, not “save” button

I am using WordPress's media uploader by using the javascript: function handleMediaUpload(button) { //Enables returning the URL to input window.send_to_editor = function(html) { //...
0
votes
0answers
147 views

window.send_to_editor from custom thickbox button

I am trying to append a shortcode to the editor from a custom thickbox window. Everything is working smoothly except that the content isn't being sent to the editor. Here is the thickbox HTML. <...
0
votes
0answers
189 views

wp media popup close all popup

I am having a problem, regarding wp media popup, I am using a thick box for some data insertion. Now from that thick box the media popup is callled. Now from media popup when I click on 'insert into ...
0
votes
0answers
194 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 ...
0
votes
0answers
100 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
269 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, ...