$beautify_page_builder

$beautify_page_builder_details

FEATURES; function beautify_theme_page() { $title = esc_html(__('Beautify','beautify')); add_theme_page( esc_html(__( 'Upgrade To beautify Pro','beautify')), $title.'', 'edit_theme_options', 'beautify_upgrade', 'beautify_display_upgrade' ); } add_action('admin_menu','beautify_theme_page'); function beautify_display_upgrade() { $theme_data = wp_get_theme('beautify'); // Check for current viewing tab $tab = null; if ( isset( $_GET['tab'] ) ) { $tab = $_GET['tab']; } else { $tab = null; } $pro_theme_url = 'https://www.webulousthemes.com/theme/beautify-pro/'; $doc_url = 'https://www.webulousthemes.com/beautify-free'; $support_url = 'https://www.webulousthemes.com/free-support-request/'; $current_action_link = admin_url( 'themes.php?page=beautify_upgrade&tab=pro_features' ); ?>

Name ,$theme_data->Version ); ?>

%1$s
',__('Beautify is a beautiful and Flexible WordPress Free theme. Can be used for Interior,Photography,corporate business, Cafe and Restarutant.There is no theme options panel, instead uses Customizer, core feature of WordPress and comes with lots of options to customize. Has 3 Footer Widget Areas.','beautify') ); ?>

Name ); ?>

',__('Theme screenshot','beautify') ); ?>
%3$s', __('Install required plugin to import the demo content.','beautify'), admin_url('themes.php?page=tgmpa-install-plugins&plugin_status=install'), __('Begin Installing Plugin','beautify') ); } elseif ( is_plugin_active( 'one-click-demo-import/one-click-demo-import.php' ) ) { echo sprintf(' %2$s', admin_url('themes.php?page=pt-one-click-demo-import'), __('Click here to install the demo','beautify') ); } else { echo sprintf('%1$s %3$s', __('Kindly activate the Required plugin to Import the demo content.','beautify'), admin_url('themes.php?page=tgmpa-install-plugins&plugin_status=activate'), __('Begin Activating Plugin','beautify') ); } ?>
Name); ?> Lite Name); ?> PRO

Name ); ?>
10, 'type' => 'theme_mod', 'panels' => apply_filters( 'beautify_customizer_options', array( 'beautify' => array( 'priority' => 9, 'title' => __('Theme Options', 'beautify'), 'description' => __('Theme Options', 'beautify'), 'sections' => array( 'general' => array( 'title' => __('General', 'beautify'), 'description' => __('General settings that affects overall site', 'beautify'), 'fields' => array( 'breadcrumb' => array( 'type' => 'checkbox', 'label' => __('Enable Breadcrumb', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'breadcrumb_char' => array( 'type' => 'select', 'label' => __('Select Breadcrumb Character', 'beautify'), 'choices' => array( '1' => '»', '2' => '/', '3' => '>' ), 'sanitize_callback' => 'beautify_breadcrumb_char_choices', 'default' => '1', ), 'numeric_pagination' => array( 'type' => 'checkbox', 'label' => __('Enable Numeric Page Navigation', 'beautify'), 'description' => __('Check to display numeric page navigation, instead of Previous Posts / Next Posts links.', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'sidebar_position' => array( 'type' => 'radio', 'label' => __('Website Layout Options', 'beautify'), 'description' => __('Select main content and sidebar alignment.', 'beautify'), 'choices' => array( 'left' => __('Sidebar Left', 'beautify'), 'right' => __('Sidebar Right', 'beautify'), 'fullwidth' => __('Full Width', 'beautify'), 'no-sidebar' => __('No Sidebar', 'beautify'), ), 'default' => 'right', 'sanitize_callback' => 'sanitize_text_field', ), ), ), 'header' => array( 'title' => __('Header', 'beautify'), 'description' => __('Header options', 'beautify'), 'fields' => array( 'logo_title' => array( 'type' => 'checkbox', 'label' => __('Logo as Title', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'tagline' => array( 'type' => 'checkbox', 'label' => __('Show site Tagline', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), ), ), 'footer' => array( 'title' => __('Footer', 'beautify'), 'description' => __('Footer related options', 'beautify'), 'fields' => array( 'footer_widgets' => array( 'type' => 'checkbox', 'label' => __('Footer Widget Area', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'scroll_to_top' => array( 'type' => 'checkbox', 'label' => __('Enable Scroll To Top', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'copyright' => array( 'type' => 'textarea', 'label' => __('Footer Copyright Text (Validated that it\'s HTML Allowed)', 'beautify'), 'description' => __('HTML Allowed. This field is even HTML validated! ', 'beautify'), 'sanitize_callback' => 'beautify_footer_copyright', ), ), ), 'blog' => array( 'title' => __('Blog', 'beautify'), 'description' => __('Blog Related Posts options', 'beautify'), 'fields' => array( 'featured_image' => array( 'type' => 'checkbox', 'label' => __('Enable Featured Image', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'featured_image_size' => array( 'type' => 'radio', 'label' => __('Choose the featured image display type for Blog Page ', 'beautify'), 'choices' => array( '1' => __('Large Featured Image', 'beautify'), '2' => __('Small Featured Image', 'beautify'), ), 'default' => '1', 'sanitize_callback' => 'absint', ), ), ), 'single_blog' => array( 'title' => __('Single Blog', 'beautify'), 'description' => __('Single Blog page Related Posts options', 'beautify'), 'fields' => array( 'single_featured_image' => array( 'type' => 'checkbox', 'label' => __('Enable Single Post Featured Image', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'single_featured_image_size' => array( 'type' => 'radio', 'label' => __('Choose the featured image display type for Single Page ', 'beautify'), 'choices' => array( '1' => __('Large Featured Image', 'beautify'), '2' => __('Small Featured Image', 'beautify'), ), 'default' => '1', 'sanitize_callback' => 'absint', ), 'social_sharing_box' => array( 'type' => 'checkbox', 'label' => __(' Enable Social Sharing Box below single post', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'facebook_sb' => array( 'type' => 'checkbox', 'label' => __(' Enable Facebook Sharing option below single post', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'twitter_sb' => array( 'type' => 'checkbox', 'label' => __(' Enable Twitter Sharing option below single post', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'linkedin_sb' => array( 'type' => 'checkbox', 'label' => __(' Enable Linkedin Sharing option below single post', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'google-plus_sb' => array( 'type' => 'checkbox', 'label' => __(' Enable Google Plus Sharing option below single post', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'email_sb' => array( 'type' => 'checkbox', 'label' => __(' Enable Email Sharing option below single post', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'author_bio_box' => array( 'type' => 'checkbox', 'label' => __(' Enable Author Bio Box below single post', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'related_posts' => array( 'type' => 'checkbox', 'label' => __('Show Related posts', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), 'related_posts_hierarchy' => array( 'type' => 'radio', 'label' => __('Related Posts Must Be Shown As:', 'beautify'), 'choices' => array( '1' => __('Related Posts By Tags', 'beautify'), '2' => __('Related Posts By Categories', 'beautify'), ), 'default' => '1', 'sanitize_callback' => 'absint', ), ), ), ) ), 'home-beautify' => array( 'priority' => 9, 'title' => __(' Home Options', 'beautify'), 'description' => __(' Select Front page display as a static front page in order to visible the following sections', 'beautify'), 'sections' => array( 'slider-section' => array( 'title' => __('Section: Slider', 'beautify'), 'fields' => array( 'slider_field' => array( 'type' => 'checkbox', 'label' => __('Enable Home Page Slider Section', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'slider_cat' => array( 'type' => 'category', 'label' => __('Slider Posts Category', 'beautify'), 'sanitize_callback' => 'absint', ), 'slider_count' => array( 'type' => 'text', 'label' => __('No. of Sliders', 'beautify'), 'sanitize_callback' => 'absint', 'default' => 3, ), ), ), 'service-section' => array( 'title' => __('Section: Service', 'beautify'), 'description' => __(' Select Front page display as a static front page in order to visible this section, Service related options', 'beautify'), 'fields' => array( 'service_field' => array( 'type' => 'checkbox', 'label' => __('Enable Home Page Service Section', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'service_section_title' => array( 'type' => 'dropdown-pages', 'label' => __('Section Title & Description', 'beautify'), ), 'service_1' => array( 'type' => 'dropdown-pages', 'label' => __('Service Section #1', 'beautify'), 'sanitize_callback' => 'absint', ), 'service_2' => array( 'type' => 'dropdown-pages', 'label' => __('Service Section #2', 'beautify'), 'sanitize_callback' => 'absint', ), 'service_3' => array( 'type' => 'dropdown-pages', 'label' => __('Service Section #3', 'beautify'), 'sanitize_callback' => 'absint', ), ), ), 'recent-blog-section' => array( 'title' => __('Recent Blog', 'beautify'), 'description' => __('Recent Posts related option', 'beautify'), 'fields' => array( 'enable_recent_post_service' => array( 'type' => 'checkbox', 'label' => __('Enable Home Page Recent Post Section', 'beautify'), 'description' => __('Enable recent post section in home page', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'recent_post_section_title' => array( 'type' => 'dropdown-pages', 'label' => __('Section Title & Description', 'beautify'), ), 'recent_posts_count' => array( 'type' => 'text', 'label' => __('No. of Recent Posts', 'beautify'), 'sanitize_callback' => 'absint', 'default' => 2, ), 'recent_posts_exclude' => array( 'type' => 'text', 'label' => __('Exclude the Posts from Home Page. Post IDs, separated by commas.', 'beautify'), 'sanitize_callback' => 'sanitize_text_field', ), ), ), 'carousel-section' => array( 'title' => __('Flex Carousel', 'beautify'), 'description' => __('Enable this option for Displaying client logos', 'beautify'), 'fields' => array( 'client_field' => array( 'type' => 'checkbox', 'label' => __('Enable Home Page Carousel Section', 'beautify'), 'default' => 1, 'sanitize_callback' => 'beautify_boolean', ), 'client_cat' => array( 'type' => 'category', 'label' => __('Slider Posts Category', 'beautify'), 'sanitize_callback' => 'absint', ), ), ), 'page-content-section' => array( 'title' => __('Page Content', 'beautify'), 'description' => __('Default Page content related option', 'beautify'), 'fields' => array( 'enable_home_default_content' => array( 'type' => 'checkbox', 'label' => __('Enable Home Page Default Content', 'beautify'), 'description' => __('Enable home page default content', 'beautify'), 'default' => 0, 'sanitize_callback' => 'beautify_boolean', ), ), ), ) ) ) ) ); function beautify_boolean($value) { if(is_bool($value)) { return $value; } else { return false; } } function beautify_breadcrumb_char_choices($value='') { $choices = array('1','2','3'); if( in_array($value, $choices)) { return $value; } else { return '1'; } } if ( ! function_exists( 'beautify_footer_copyright' ) ) { function beautify_footer_copyright($string) { $allowed_tags = array( 'a' => array( 'href' => array(), 'title' => array(), 'target' => array(), ), 'img' => array( 'src' => array(), 'alt' => array(), ), 'p' => array(), 'br' => array(), 'em' => array(), 'strong' => array(), ); return wp_kses( $string,$allowed_tags); } }