Horje
Need to create a link in admin that uses the WP thickbox - Wordpress Solution
I'm simply trying to link to a simple HTML file from my theme options page that will open in the thickbox that WordPress uses for the media upload on the edit post page. I could create my own but I think it makes more sense to just keep it consistent and use what's already there. What would a link like this...
<a rel="nofollow" href="my-page.html">My Page</a>
...look like to open my-page.html in the WP thickbox?

Solution - 1

try to add the thickbox class and see if it works:

<a rel="nofollow" href="my-page.html" class="thickbox">My Page</a>
This class already loaded in the admin panel





Wordpress

Related
Formatting my Word Document into an HTML E-mail! - Wordpress Solution Formatting my Word Document into an HTML E-mail! - Wordpress Solution
Can you convert my comments form to comment_form arrays? - Wordpress Solution Can you convert my comments form to comment_form arrays? - Wordpress Solution
CSS menu issue - Wordpress Solution CSS menu issue - Wordpress Solution
Pagination for list of posts by category? - Wordpress Solution Pagination for list of posts by category? - Wordpress Solution
WordPress MultiSite Migration from LocalHost to Server - Wordpress Solution WordPress MultiSite Migration from LocalHost to Server - Wordpress Solution

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9