Using jQuery thickbox built in WordPress
Рубрики: Javascript, jQuery, PHP, Wordpress 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 12345678910111213<?php define("VP","wp_plugin"); define("ABSPATH", str_replace("wp-content/plugins/".VP, "", dirname(__FILE__))); //The inclusion of these [...]
