create_admin_page(); } public static function get_blocks_settings() { $arr = array( 'grid' => array( 'label' => __('Post Grid Blocks', 'ultimate-post'), 'attr' => array( 'post_grid_1' => array( 'label' => __('Post Grid #1', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-grid-1/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-grid-1.svg' ), 'post_grid_2' => array( 'label' => __('Post Grid #2', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-grid-2/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-grid-2.svg' ), 'post_grid_3' => array( 'label' => __('Post Grid #3', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-grid-3/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-grid-3.svg' ), 'post_grid_4' => array( 'label' => __('Post Grid #4', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-grid-4/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-grid-4.svg' ), 'post_grid_5' => array( 'label' => __('Post Grid #5', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-grid-5/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-grid-5.svg' ), 'post_grid_6' => array( 'label' => __('Post Grid #6', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-grid-6/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-grid-6.svg' ), 'post_grid_7' => array( 'label' => __('Post Grid #7', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-grid-7/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-grid-7.svg' ) ) ), 'list' => array( 'label' => __('Post List Blocks', 'ultimate-post'), 'attr' => array( 'post_list_1' => array( 'label' => __('Post List #1', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-list-1/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-list-1.svg' ), 'post_list_2' => array( 'label' => __('Post List #2', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-list-2/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-list-2.svg' ), 'post_list_3' => array( 'label' => __('Post List #3', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-list-3/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-list-3.svg' ), 'post_list_4' => array( 'label' => __('Post List #4', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-list-4/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'assets/img/blocks/post-list-4.svg' ), ) ), 'slider' => array( 'label' => __('Post Slider', 'ultimate-post'), 'attr' => array( 'post_slider_1' => array( 'label' => __('Post Slider #1', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-slide-1/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'/assets/img/blocks/post-slider-1.svg' ) ) ), 'other' => array( 'label' => __('Others Post Blocks', 'ultimate-post'), 'attr' => array( 'post_module_1' => array( 'label' => __('Post Module #1', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-module-1/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'/assets/img/blocks/post-module-1.svg' ), 'post_module_2' => array( 'label' => __('Post Module #2', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/post-module-2/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'/assets/img/blocks/post-module-2.svg' ), 'heading' => array( 'label' => __('Heading', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/heading/', 'docs' => 'https://docs.wpxpo.com/docs/postx/', 'icon' => ULTP_URL.'/assets/img/blocks/heading.svg' ), 'image' => array( 'label' => __('Image', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/image/', 'docs' => 'https://docs.wpxpo.com/docs/postx/all-blocks/image-blocks/', 'icon' => ULTP_URL.'/assets/img/blocks/image.svg' ), 'taxonomy' => array( 'label' => __('Taxonomy', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/taxonomy/', 'docs' => 'https://docs.wpxpo.com/docs/postx/all-blocks/taxonomy-style-1/', 'icon' => ULTP_URL.'/assets/img/blocks/taxonomy.svg' ), 'wrapper' => array( 'label' => __('Wrapper', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/wrapper/', 'docs' => 'https://docs.wpxpo.com/docs/postx/add-on/wrapper-blocks/', 'icon' => ULTP_URL.'/assets/img/blocks/wrapper.svg' ), 'archive_title' => array( 'label' => __('Archive Title', 'ultimate-post'), 'default' => true, 'icon' => ULTP_URL.'/assets/img/blocks/archive-title.svg' ), 'news_ticker' => array( 'label' => __('News Ticker', 'ultimate-post'), 'default' => true, 'live' => 'https://ultp.wpxpo.com/news-ticker/', 'docs' => 'https://docs.wpxpo.com/docs/postx/all-blocks/news-ticker-block/', 'icon' => ULTP_URL.'/assets/img/blocks/news-ticker.svg' ), ) ) ); return $arr; } public static function create_admin_page() { ?>
get_setting(); $blocks_settings = self::get_blocks_settings(); foreach ($blocks_settings as $blocks) { ?>

$val) { ?>
overview content
/>