Using jQuery thickbox built in Wordpress
Рубрики: Javascript, PHP, Wordpress, jQuery on Oct.17, 2008
To cite an example of how to use the built-in thickbox wordpress when you write a plug-in.
First step: Create a folder “wp_plugin” in the folder “plugins”
Second step: Create a file with the following code ajax.php
<?php
define("VP","wp_plugin");
define("ABSPATH", str_replace("wp-content/plugins/".VP, "", dirname(__FILE__)));
//The inclusion of these files allows full use of [...]


