* @copyright 2014 ThemePunch * @since 1.0.6 */ if (!defined('ABSPATH')) { exit; } ?> <h2 class="topheader"><?php _e('Custom Widgets', EG_TEXTDOMAIN); ?> </h2> <div id="eg-grid-widget-areas-wrapper"> <?php $wa = new Essential_Grid_Widget_Areas(); $sidebars = $wa->get_all_sidebars(); if (is_array($sidebars) && !empty($sidebars)) { foreach ($sidebars as $handle => $name) { ?> <div class="postbox eg-postbox" style="width:100%;min-width:500px"> <h3 class="box-closed"><span style="font-weight:400"><?php _e('Handle:', EG_TEXTDOMAIN); ?> </span><span>eg-<?php echo $handle; ?> </span><div class="postbox-arrow"></div></h3> <div class="inside" style="display:none;padding:0px !important;margin:0px !important;height:100%;position:relative;background:#ebebeb"> <input type="hidden" name="esg-widget-area-handle[]" value="<?php echo $handle; ?>