*/ class ACT_Divi_Settings { /** * The ID of this plugin. * * @since 1.0.0 * @access private * @var string $ACT_Divi The ID of this plugin. */ private $plugin_name; /** * The version of this plugin. * * @since 1.0.0 * @access private * @var string $version The current version of this plugin. */ private $version; /** * Initialize the class and set its properties. * * @since 1.0.0 * @param string $ACT_Divi The name of this plugin. * @param string $version The version of this plugin. */ public function __construct( $plugin_name, $version ) { $this->plugin_name = $plugin_name; $this->version = $version; } function actd_register_general_settings() { add_settings_section( 'actd_settings_general_section', __( "", 'act-divi' ), array($this, 'actd_settings_general_callback'), 'actd_general_settings' ); add_settings_field( 'actd_settings_sample_data', __( "Sample data: ", 'act-divi' ), array($this, 'actd_settings_sample_data_callback'), 'actd_general_settings', 'actd_settings_general_section' ); add_settings_section( 'actd_settings_post_type_section', __( "", 'act-divi' ), array($this, 'actd_settings_post_type_callback'), 'actd_post_type_settings' ); add_settings_field( 'actd_settings_enable_post_type', __( "Sample data: ", 'act-divi' ), array($this, 'actd_settings_enable_post_type_callback'), 'actd_post_type_settings', 'actd_settings_post_type_section' ); register_setting( 'actd_general_settings_group', 'actd-general-settings', 'actd_sanitize_general_settings' ); register_setting( 'actd_post_type_settings_group', 'actd-post-type-settings', 'actd_sanitize_post_type_settings' ); } /** * Print HTML for General settings section. * * @since 1.0 * * @see actd_register_general_settings() */ function actd_settings_general_callback() { return; } /** * Print HTML for General settings section. * * @since 1.0 * * @see actd_register_general_settings() */ function actd_settings_post_type_callback() { return; } /** * Print HTML for load sample data. * * @since 1.0 * * @see actd_register_receipt_settings() */ function actd_settings_sample_data_callback() { $settings = get_option( 'actd-general-settings'); $license = isset($settings['license']) ? $settings['license'] : false; ?>
If you would like to use your own custom logo image click the Upload Image button.
By default the navigation bar stays on top of the screen at all times. We suggest to disable this option, if you need to use a logo taller than the default one.
Here you can choose Shop Page & Category Page Layout for WooCommerce.
The Maps module uses the Google Maps API and requires a valid Google API Key to function. Before using the map module, please make sure you have added your API key here. Learn more about how to create your Google API Key here.