Inline ajax page wordpress hosting

Description

WordPress makes use of a modified version of the ThickBox jQuery library originally created by Cody Lindley.

ThickBox powers the modal lightboxes used in the WordPress admin, including the post editor's "Media" button (prior to WordPress 3.5 only) and the "Details" links on the Plugin "Search Results" screen.

Note: As of WordPress 3.5. the "Media" button for WordPress's post editor no longer utilizes ThickBox, but instead uses a custom Javascript modal. ThickBox is still used for other WordPress components and may still be used by developers.

Inline ajax page wordpress hosting you will need to craft

Development

ThickBox can be leveraged by plugin and theme developers who are in need of modals and want to maintain consistency with the rest of the WordPress admin.

Limitations

WordPress does not provide a way of creating "empty" admin pages for use in a ThickBox. When using ThickBox's iframe feature ( ?TB_iframe=true ), you will need to craft a complete page from scratch, without relying on WordPress core.

When using ThickBox's inline content feature, your content must be nested inside another element within your inline container.

For example, this will work:

This will give you an empty or blank Thickbox modal:

In order to use ThickBox in your own admin customizations, you need to do two things:

  • Ensure that ThickBox is loaded by calling
    Fatal error: Call to undefined function add_thickbox() in /home/usaweb/web/english.topgoodhosting.com/public_html/wordpress/inline-ajax-page-wordpress-hosting.php on line 57