|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Free |
Premium |
|
5 |
16 |
|
|
|
|
|
|
|
|
|
|
Basic |
Extended |
|
|
|
|
|
|
|
|
|
|
5 |
9 |
esc_html__( 'Theme Features', 'botiga' ),
'type' => 'features',
'visible' => array( 'free', 'pro' ),
'data' => array(
array(
'name' => esc_html__( 'Change Site Title or Logo', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=title_tagline' ),
),
array(
'name' => esc_html__( 'Typography', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[panel]=botiga_panel_typography' ),
),
array(
'name' => esc_html__( 'Color Options', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=colors' ),
),
array(
'name' => esc_html__( 'Main Header', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_main_header' ),
),
array(
'name' => esc_html__( 'Mobile Header', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_mobile_header' ),
),
array(
'name' => esc_html__( 'Footer Copyright', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_footer_credits' ),
),
array(
'name' => esc_html__( 'Blog Archives', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_blog_archives' ),
),
array(
'name' => esc_html__( 'Single Posts', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_blog_singles' ),
),
array(
'name' => esc_html__( 'Button Options', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_buttons' ),
),
array(
'name' => esc_html__( 'Product Catalog', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=woocommerce_product_catalog' ),
),
array(
'name' => esc_html__( 'Single Products', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_single_product' ),
),
array(
'name' => esc_html__( 'Cart Layout', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_shop_cart' ),
),
array(
'name' => esc_html__( 'Checkout Options', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=woocommerce_checkout' ),
),
array(
'name' => esc_html__( 'Scroll to Top', 'botiga' ),
'type' => 'free',
'customize_uri' => admin_url( '/customize.php?autofocus[section]=botiga_section_scrolltotop' ),
),
),
),
array(
'name' => esc_html__( 'Free vs PRO', 'botiga' ),
'type' => 'html',
'visible' => array( 'free' ),
'data' => botiga_free_vs_pro_html(),
),
array(
'name' => esc_html__( 'Performance', 'botiga' ),
'type' => 'performance',
'visible' => array( 'free', 'pro' ),
),
);
// Documentation.
$settings['documentation_link'] = 'https://docs.athemes.com/collection/318-botiga';
// Promo.
$settings['promo_title'] = esc_html__( 'Upgrade to Pro', 'botiga' );
$settings['promo_desc'] = esc_html__( 'Take Botiga to a whole other level by upgrading to the Pro version.', 'botiga' );
$settings['promo_button'] = esc_html__( 'Discover Botiga Pro', 'botiga' );
$settings['promo_link'] = 'https://athemes.com/theme/botiga-pro/?utm_source=theme_info&utm_medium=link&utm_campaign=Botiga';
// Review.
$settings['review_link'] = 'https://wordpress.org/support/theme/botiga/reviews/';
$settings['suggest_idea_link'] = 'https://athemes.circle.so/c/give-feedback';
// Support.
$settings['support_link'] = 'https://forums.athemes.com/';
$settings['support_pro_link'] = 'https://athemes.com/theme/botiga-pro/?utm_source=theme_info&utm_medium=link&utm_campaign=Botiga';
// Community.
$settings['community_link'] = 'https://community.athemes.com/';
$theme = wp_get_theme();
// Changelog.
$settings['changelog_version'] = $theme->version;
$settings['changelog_link'] = 'https://athemes.com/changelog/botiga/';
//Has pro
$settings['has_pro'] = false;
return $settings;
}
add_filter( 'thd_register_settings', 'botiga_dashboard_settings' );
/**
* Starter Settings
*
* @param array $settings The settings.
*/
function botiga_demos_settings( $settings ) {
$settings['categories'] = array(
'business' => 'Business',
'portfolio' => 'Portfolio',
'ecommerce' => 'eCommerce',
'event' => 'Events',
);
$settings['builders'] = array(
'elementor' => 'Elementor',
);
// Pro.
$settings['pro_label'] = esc_html__( 'Get Botiga Pro', 'botiga' );
$settings['pro_link'] = 'https://athemes.com/theme/botiga-pro/?utm_source=theme_table&utm_medium=button&utm_campaign=Botiga';
return $settings;
}
add_filter( 'atss_register_demos_settings', 'botiga_demos_settings' );