<?php $instance = FooGallery_Plugin::get_instance(); $api = new FooGallery_Extensions_API(); $extensions = $api->get_all(); $has_errors = $api->has_extension_loading_errors(); $categories = $api->get_all_categories(); $show_message = safe_get_from_request('show_message'); if ('yes' === $show_message) { $result = get_transient(FOOGALLERY_EXTENSIONS_MESSAGE_TRANSIENT_KEY); } $tagline = apply_filters('foogallery_admin_extensions_tagline', sprintf(__('Extensions make %s even more awesome, without bloating the core plugin.', 'foogallery'), foogallery_plugin_name())); $show_foobot = apply_filters('foogallery_admin_show_foobot', true); ?> <style> .foogallery-badge-foobot { position: absolute; top: 5px; right: 0; background: url(<?php echo FOOGALLERY_URL; ?> assets/foobot_small.png) no-repeat; width: 82px; height: 150px; z-index: 100; } .foogallery-text { font-size: 18px; margin: 10px 0; }