Alexis

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Events for courses #1135847
    Alexis
    Participant

    Hi Andras, Thanks. It worked. I guess it was a question of the code language. In the e-mail it was <? instead of <?. That solves the issue of the editor. However, when I actually see the calendar on my website it still shows every single lesson as an individual event.

    The problem is that it treats the courses as a recurring event…but it’s actually one event that goes on for a long period of time but doesn’t happen every day…if that makes sense…

    in reply to: Events for courses #1135307
    Alexis
    Participant

    Hi, I copied the Functions.php file into my childs theme then added the code you gave me. But it showed me an error…
    Could you please show me how to add the code to the following?

    <?php
    /**
    * @package WordPress
    * @subpackage Language School
    * @version 1.0.0
    *
    * Main Theme Functions File
    * Created by CMSMasters
    *
    */

    // Current Theme Constants
    if (!defined(‘CMSMASTERS_SHORTNAME’)) {
    define(‘CMSMASTERS_SHORTNAME’, ‘language-school’);
    }

    if (!defined(‘CMSMASTERS_FULLNAME’)) {
    define(‘CMSMASTERS_FULLNAME’, ‘Language School’);
    }

    /*** START EDIT THEME PARAMETERS HERE ***/

    // Theme Settings System Fonts List
    if (!function_exists(‘language_school_system_fonts_list’)) {
    function language_school_system_fonts_list() {
    $fonts = array(
    “Arial, Helvetica, ‘Nimbus Sans L’, sans-serif” => ‘Arial’,
    “Calibri, ‘AppleGothic’, ‘MgOpen Modata’, sans-serif” => ‘Calibri’,
    “‘Trebuchet MS’, Helvetica, Garuda, sans-serif” => ‘Trebuchet MS’,
    “‘Comic Sans MS’, Monaco, ‘TSCu_Comic’, cursive” => ‘Comic Sans MS’,
    “Georgia, Times, ‘Century Schoolbook L’, serif” => ‘Georgia’,
    “Verdana, Geneva, ‘DejaVu Sans’, sans-serif” => ‘Verdana’,
    “Tahoma, Geneva, Kalimati, sans-serif” => ‘Tahoma’,
    “‘Lucida Sans Unicode’, ‘Lucida Grande’, Garuda, sans-serif” => ‘Lucida Sans’,
    “‘Times New Roman’, Times, ‘Nimbus Roman No9 L’, serif” => ‘Times New Roman’,
    “‘Courier New’, Courier, ‘Nimbus Mono L’, monospace” => ‘Courier New’,
    );

    return $fonts;
    }
    }

    // Theme Settings Google Fonts List
    if (!function_exists(‘language_school_get_google_fonts_list’)) {
    function language_school_get_google_fonts_list() {
    $fonts = array(
    ” => esc_html__(‘None’, ‘language-school’),
    ‘Titillium+Web:300,300italic,400,400italic,600,600italic,700,700italic’ => ‘Titillium Web’,
    ‘Roboto:300,300italic,400,400italic,500,500italic,700,700italic’ => ‘Roboto’,
    ‘Roboto+Condensed:400,400italic,700,700italic’ => ‘Roboto Condensed’,
    ‘Open+Sans:300,300italic,400,400italic,700,700italic’ => ‘Open Sans’,
    ‘Open+Sans+Condensed:300,300italic,700’ => ‘Open Sans Condensed’,
    ‘Droid+Sans:400,700’ => ‘Droid Sans’,
    ‘Droid+Serif:400,400italic,700,700italic’ => ‘Droid Serif’,
    ‘Poppins:300,400,500,600,700’ => ‘Poppins’,
    ‘PT+Sans:400,400italic,700,700italic’ => ‘PT Sans’,
    ‘PT+Sans+Caption:400,700’ => ‘PT Sans Caption’,
    ‘PT+Sans+Narrow:400,700’ => ‘PT Sans Narrow’,
    ‘PT+Serif:400,400italic,700,700italic’ => ‘PT Serif’,
    ‘Ubuntu:400,400italic,700,700italic’ => ‘Ubuntu’,
    ‘Ubuntu+Condensed’ => ‘Ubuntu Condensed’,
    ‘Headland+One’ => ‘Headland One’,
    ‘Source+Sans+Pro:300,300italic,400,400italic,700,700italic’ => ‘Source Sans Pro’,
    ‘Lato:400,400italic,700,700italic’ => ‘Lato’,
    ‘Cuprum:400,400italic,700,700italic’ => ‘Cuprum’,
    ‘Oswald:300,400,700’ => ‘Oswald’,
    ‘Yanone+Kaffeesatz:300,400,700’ => ‘Yanone Kaffeesatz’,
    ‘Lobster’ => ‘Lobster’,
    ‘Lobster+Two:400,400italic,700,700italic’ => ‘Lobster Two’,
    ‘Questrial’ => ‘Questrial’,
    ‘Raleway:300,400,500,600,700’ => ‘Raleway’,
    ‘Dosis:300,400,500,700’ => ‘Dosis’,
    ‘Cutive+Mono’ => ‘Cutive Mono’,
    ‘Quicksand:300,400,700’ => ‘Quicksand’,
    ‘Montserrat:400,700’ => ‘Montserrat’,
    ‘Cookie’ => ‘Cookie’,
    );

    return $fonts;
    }
    }

    // Theme Settings Text Transforms List
    if (!function_exists(‘language_school_text_transform_list’)) {
    function language_school_text_transform_list() {
    $list = array(
    ‘none’ => ‘none’,
    ‘uppercase’ => ‘uppercase’,
    ‘lowercase’ => ‘lowercase’,
    ‘capitalize’ => ‘capitalize’,
    );

    return $list;
    }
    }

    // Theme Settings Text Decorations List
    if (!function_exists(‘language_school_text_decoration_list’)) {
    function language_school_text_decoration_list() {
    $list = array(
    ‘none’ => ‘none’,
    ‘underline’ => ‘underline’,
    ‘overline’ => ‘overline’,
    ‘line-through’ => ‘line-through’,
    );

    return $list;
    }
    }

    // Theme Settings Custom Color Schemes
    if (!function_exists(‘language_school_custom_color_schemes_list’)) {
    function language_school_custom_color_schemes_list() {
    $list = array(
    ‘first’ => esc_html__(‘Custom 1’, ‘language-school’),
    ‘second’ => esc_html__(‘Custom 2’, ‘language-school’),
    ‘third’ => esc_html__(‘Custom 3’, ‘language-school’),
    ‘fourth’ => esc_html__(‘Custom 4’, ‘language-school’)
    );

    return $list;
    }
    }

    /*** STOP EDIT THEME PARAMETERS HERE ***/

    // Theme Plugin Support Constants
    if (!defined(‘CMSMASTERS_WOOCOMMERCE’) && class_exists(‘woocommerce’)) {
    define(‘CMSMASTERS_WOOCOMMERCE’, true);
    } elseif (!defined(‘CMSMASTERS_WOOCOMMERCE’)) {
    define(‘CMSMASTERS_WOOCOMMERCE’, false);
    }

    if (!defined(‘CMSMASTERS_EVENTS_CALENDAR’) && class_exists(‘Tribe__Events__Main’)) {
    define(‘CMSMASTERS_EVENTS_CALENDAR’, true);
    } elseif (!defined(‘CMSMASTERS_EVENTS_CALENDAR’)) {
    define(‘CMSMASTERS_EVENTS_CALENDAR’, false);
    }

    if (!defined(‘CMSMASTERS_PAYPALDONATIONS’) && class_exists(‘PayPalDonations’)) {
    define(‘CMSMASTERS_PAYPALDONATIONS’, true);
    } elseif (!defined(‘CMSMASTERS_PAYPALDONATIONS’)) {
    define(‘CMSMASTERS_PAYPALDONATIONS’, false);
    }

    if (!defined(‘CMSMASTERS_DONATIONS’) && class_exists(‘Cmsmasters_Donations’)) {
    define(‘CMSMASTERS_DONATIONS’, false);
    } elseif (!defined(‘CMSMASTERS_DONATIONS’)) {
    define(‘CMSMASTERS_DONATIONS’, false);
    }

    if (!defined(‘CMSMASTERS_TIMETABLE’) && function_exists(‘timetable_events_init’)) {
    define(‘CMSMASTERS_TIMETABLE’, true);
    } elseif (!defined(‘CMSMASTERS_TIMETABLE’)) {
    define(‘CMSMASTERS_TIMETABLE’, false);
    }

    if (!defined(‘CMSMASTERS_LEARNPRESS’) && class_exists(‘LearnPress’)) {
    define(‘CMSMASTERS_LEARNPRESS’, true);
    } elseif (!defined(‘CMSMASTERS_LEARNPRESS’)) {
    define(‘CMSMASTERS_LEARNPRESS’, false);
    }

    // Theme Colored Categories Constant
    if (!defined(‘CMSMASTERS_COLORED_CATEGORIES’)) {
    define(‘CMSMASTERS_COLORED_CATEGORIES’, false);
    }

    // Theme Projects Compatible
    if (!defined(‘CMSMASTERS_PROJECT_COMPATIBLE’)) {
    define(‘CMSMASTERS_PROJECT_COMPATIBLE’, true);
    }

    // Theme Profiles Compatible
    if (!defined(‘CMSMASTERS_PROFILE_COMPATIBLE’)) {
    define(‘CMSMASTERS_PROFILE_COMPATIBLE’, true);
    }

    // Theme Image Thumbnails Size
    if (!function_exists(‘language_school_get_image_thumbnail_list’)) {
    function language_school_get_image_thumbnail_list() {
    $list = array(
    ‘cmsmasters-small-thumb’ => array(
    ‘width’ => 60,
    ‘height’ => 60,
    ‘crop’ => true
    ),
    ‘cmsmasters-square-thumb’ => array(
    ‘width’ => 300,
    ‘height’ => 300,
    ‘crop’ => true,
    ‘title’ => esc_attr__(‘Square’, ‘language-school’)
    ),
    ‘cmsmasters-blog-masonry-thumb’ => array(
    ‘width’ => 580,
    ‘height’ => 350,
    ‘crop’ => true,
    ‘title’ => esc_attr__(‘Masonry Blog’, ‘language-school’)
    ),
    ‘cmsmasters-project-thumb’ => array(
    ‘width’ => 580,
    ‘height’ => 580,
    ‘crop’ => true,
    ‘title’ => esc_attr__(‘Project’, ‘language-school’)
    ),
    ‘cmsmasters-project-masonry-thumb’ => array(
    ‘width’ => 580,
    ‘height’ => 9999,
    ‘title’ => esc_attr__(‘Masonry Project’, ‘language-school’)
    ),
    ‘post-thumbnail’ => array(
    ‘width’ => 860,
    ‘height’ => 500,
    ‘crop’ => true,
    ‘title’ => esc_attr__(‘Featured’, ‘language-school’)
    ),
    ‘cmsmasters-masonry-thumb’ => array(
    ‘width’ => 860,
    ‘height’ => 9999,
    ‘title’ => esc_attr__(‘Masonry’, ‘language-school’)
    ),
    ‘cmsmasters-full-thumb’ => array(
    ‘width’ => 1160,
    ‘height’ => 650,
    ‘crop’ => true,
    ‘title’ => esc_attr__(‘Full’, ‘language-school’)
    ),
    ‘cmsmasters-project-full-thumb’ => array(
    ‘width’ => 1160,
    ‘height’ => 750,
    ‘crop’ => true,
    ‘title’ => esc_attr__(‘Project Full’, ‘language-school’)
    ),
    ‘cmsmasters-full-masonry-thumb’ => array(
    ‘width’ => 1160,
    ‘height’ => 9999,
    ‘title’ => esc_attr__(‘Masonry Full’, ‘language-school’)
    )
    );

    if (CMSMASTERS_EVENTS_CALENDAR) {
    $list[‘cmsmasters-event-thumb’] = array(
    ‘width’ => 580,
    ‘height’ => 420,
    ‘crop’ => true,
    ‘title’ => esc_attr__(‘Event’, ‘language-school’)
    );
    }

    return $list;
    }
    }

    // Theme Settings All Color Schemes List
    if (!function_exists(‘language_school_all_color_schemes_list’)) {
    function language_school_all_color_schemes_list() {
    $list = array(
    ‘default’ => esc_html__(‘Default’, ‘language-school’),
    ‘header’ => esc_html__(‘Header’, ‘language-school’),
    ‘navigation’ => esc_html__(‘Navigation’, ‘language-school’),
    ‘header_top’ => esc_html__(‘Header Top’, ‘language-school’),
    ‘bottom’ => esc_html__(‘Bottom’, ‘language-school’),
    ‘footer’ => esc_html__(‘Footer’, ‘language-school’)
    );

    $out = array_merge($list, language_school_custom_color_schemes_list());

    return apply_filters(‘cmsmasters_all_color_schemes_list_filter’, $out);
    }
    }

    // Theme Settings Color Schemes Default Colors
    if (!function_exists(‘language_school_color_schemes_defaults’)) {
    function language_school_color_schemes_defaults() {
    $list = array(
    ‘default’ => array( // content default color scheme
    ‘color’ => ‘#909195’,
    ‘link’ => ‘#01a2a6’,
    ‘hover’ => ‘#bcbec1’,
    ‘heading’ => ‘#3d3d47’,
    ‘bg’ => ‘#ffffff’,
    ‘alternate’ => ‘#fcfcfc’,
    ‘border’ => ‘#e0e0e0’,
    ‘secondary’ => ‘#fe5969’
    ),
    ‘header’ => array( // Header color scheme
    ‘mid_color’ => ‘#9f9fa7’,
    ‘mid_link’ => ‘#3d3d47’,
    ‘mid_hover’ => ‘#01a2a6’,
    ‘mid_bg’ => ‘#ffffff’,
    ‘mid_bg_scroll’ => ‘rgba(255,255,255,0.9)’,
    ‘mid_border’ => ‘#e4e4e4’,
    ‘bot_color’ => ‘#9f9fa7’,
    ‘bot_link’ => ‘#3d3d47’,
    ‘bot_hover’ => ‘#01a2a6’,
    ‘bot_bg’ => ‘#ffffff’,
    ‘bot_bg_scroll’ => ‘rgba(255,255,255,0.9)’,
    ‘bot_border’ => ‘#e4e4e4’
    ),
    ‘navigation’ => array( // Navigation color scheme
    ‘title_link’ => ‘#3d3d47’,
    ‘title_link_hover’ => ‘#01a2a6’,
    ‘title_link_current’ => ‘#01a2a6’,
    ‘title_link_subtitle’ => ‘#9f9fa7’,
    ‘title_link_bg’ => ‘rgba(255,255,255,0)’,
    ‘title_link_bg_hover’ => ‘rgba(255,255,255,0)’,
    ‘title_link_bg_current’ => ‘rgba(255,255,255,0)’,
    ‘title_link_border’ => ‘rgba(255,255,255,0)’,
    ‘dropdown_text’ => ‘#9f9fa7’,
    ‘dropdown_bg’ => ‘#ffffff’,
    ‘dropdown_border’ => ‘#e4e4e4’,
    ‘dropdown_link’ => ‘#3d3d47’,
    ‘dropdown_link_hover’ => ‘#fe5969’,
    ‘dropdown_link_subtitle’ => ‘#9f9fa7’,
    ‘dropdown_link_highlight’ => ‘#fe5969’,
    ‘dropdown_link_border’ => ‘#e4e4e4’
    ),
    ‘header_top’ => array( // Header Top color scheme
    ‘color’ => ‘#9f9fa7’,
    ‘link’ => ‘#9f9fa7’,
    ‘hover’ => ‘#01a2a6’,
    ‘bg’ => ‘#ffffff’,
    ‘border’ => ‘#e0e0e0’,
    ‘title_link’ => ‘#3d3d47’,
    ‘title_link_hover’ => ‘#01a2a6’,
    ‘title_link_bg’ => ‘rgba(255,255,255,0)’,
    ‘title_link_bg_hover’ => ‘rgba(255,255,255,0)’,
    ‘title_link_border’ => ‘rgba(255,255,255,0)’,
    ‘dropdown_bg’ => ‘#ffffff’,
    ‘dropdown_border’ => ‘#dcdcdc’,
    ‘dropdown_link’ => ‘#3d3d47’,
    ‘dropdown_link_hover’ => ‘#fe5969’,
    ‘dropdown_link_highlight’ => ‘rgba(255,255,255,0)’,
    ‘dropdown_link_border’ => ‘rgba(255,255,255,0)’
    ),
    ‘bottom’ => array( // Bottom sidebar color scheme
    ‘color’ => ‘rgba(255,255,255,0.3)’,
    ‘link’ => ‘rgba(255,255,255,0.3)’,
    ‘hover’ => ‘#ffffff’,
    ‘heading’ => ‘#ffffff’,
    ‘bg’ => ‘#3d3d47’,
    ‘alternate’ => ‘#43434d’,
    ‘border’ => ‘#4b4b54’,
    ‘secondary’ => ‘#01a2a6’
    ),
    ‘footer’ => array( // Footer color scheme
    ‘color’ => ‘rgba(255,255,255,0.3)’,
    ‘link’ => ‘rgba(255,255,255,0.3)’,
    ‘hover’ => ‘#ffffff’,
    ‘heading’ => ‘#ffffff’,
    ‘bg’ => ‘#3d3d47’,
    ‘alternate’ => ‘#01a2a6’,
    ‘border’ => ‘#4b4b54’,
    ‘secondary’ => ‘#fe5969’
    ),
    ‘first’ => array( // custom color scheme 1
    ‘color’ => ‘#ffffff’,
    ‘link’ => ‘rgba(255,255,255,0.8)’,
    ‘hover’ => ‘#ffffff’,
    ‘heading’ => ‘#ffffff’,
    ‘bg’ => ‘#01a2a6’,
    ‘alternate’ => ‘rgba(255,255,255,0.1)’,
    ‘border’ => ‘rgba(255,255,255,0.25)’,
    ‘secondary’ => ‘#fe5969’
    ),
    ‘second’ => array( // custom color scheme 2
    ‘color’ => ‘#ffffff’,
    ‘link’ => ‘#ffffff’,
    ‘hover’ => ‘#ffffff’,
    ‘heading’ => ‘#ffffff’,
    ‘bg’ => ‘#17aaae’,
    ‘alternate’ => ‘rgba(255,255,255,0.1)’,
    ‘border’ => ‘rgba(255,255,255,0.25)’,
    ‘secondary’ => ‘#fe5969’
    ),
    ‘third’ => array( // custom color scheme 3
    ‘color’ => ‘#909195’,
    ‘link’ => ‘#01a2a6’,
    ‘hover’ => ‘#bcbec1’,
    ‘heading’ => ‘#3d3d47’,
    ‘bg’ => ‘#fcfcfc’,
    ‘alternate’ => ‘#ffffff’,
    ‘border’ => ‘#e0e0e0’,
    ‘secondary’ => ‘#fe5969’
    ),
    ‘fourth’ => array( // custom color scheme 4
    ‘color’ => ‘#ffffff’,
    ‘link’ => ‘#ffffff’,
    ‘hover’ => ‘#ffffff’,
    ‘heading’ => ‘rgba(255,255,255,0.4)’,
    ‘bg’ => ‘#f9b639’,
    ‘alternate’ => ‘rgba(255,255,255,0.1)’,
    ‘border’ => ‘rgba(255,255,255,0.25)’,
    ‘secondary’ => ‘#ffffff’
    )
    );

    return $list;
    }
    }

    // CMSMasters Framework Directories Constants
    if (!defined(‘CMSMASTERS_FRAMEWORK’)) {
    define(‘CMSMASTERS_FRAMEWORK’, get_template_directory() . ‘/framework’);
    }

    if (!defined(‘CMSMASTERS_ADMIN’)) {
    define(‘CMSMASTERS_ADMIN’, CMSMASTERS_FRAMEWORK . ‘/admin’);
    }

    if (!defined(‘CMSMASTERS_SETTINGS’)) {
    define(‘CMSMASTERS_SETTINGS’, CMSMASTERS_ADMIN . ‘/settings’);
    }

    if (!defined(‘CMSMASTERS_OPTIONS’)) {
    define(‘CMSMASTERS_OPTIONS’, CMSMASTERS_ADMIN . ‘/options’);
    }

    if (!defined(‘CMSMASTERS_ADMIN_INC’)) {
    define(‘CMSMASTERS_ADMIN_INC’, CMSMASTERS_ADMIN . ‘/inc’);
    }

    if (!defined(‘CMSMASTERS_CLASS’)) {
    define(‘CMSMASTERS_CLASS’, CMSMASTERS_FRAMEWORK . ‘/class’);
    }

    if (!defined(‘CMSMASTERS_FUNCTION’)) {
    define(‘CMSMASTERS_FUNCTION’, CMSMASTERS_FRAMEWORK . ‘/function’);
    }

    if (!defined(‘CMSMASTERS_COMPOSER’)) {
    define(‘CMSMASTERS_COMPOSER’, get_template_directory() . ‘/cmsmasters-c-c’);
    }

    // Load Framework Parts
    require_once(CMSMASTERS_ADMIN_INC . ‘/config-functions.php’);

    require_once(CMSMASTERS_SETTINGS . ‘/cmsmasters-theme-settings.php’);

    require_once(CMSMASTERS_OPTIONS . ‘/cmsmasters-theme-options.php’);

    require_once(CMSMASTERS_ADMIN_INC . ‘/admin-scripts.php’);

    require_once(CMSMASTERS_ADMIN_INC . ‘/plugin-activator.php’);

    require_once(CMSMASTERS_CLASS . ‘/likes-posttype.php’);

    require_once(CMSMASTERS_CLASS . ‘/twitteroauth.php’);

    require_once(CMSMASTERS_CLASS . ‘/widgets.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/breadcrumbs.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/likes.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/pagination.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/single-comment.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/theme-functions.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/theme-fonts.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/theme-colors-primary.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/theme-colors-secondary.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/template-functions.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/template-functions-post.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/template-functions-project.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/template-functions-profile.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/template-functions-shortcodes.php’);

    require_once(CMSMASTERS_FUNCTION . ‘/template-functions-widgets.php’);

    // Theme Colored Categories Functions
    if (CMSMASTERS_COLORED_CATEGORIES) {
    require_once(CMSMASTERS_FUNCTION . ‘/theme-colored-categories.php’);
    }

    if (class_exists(‘Cmsmasters_Content_Composer’)) {
    require_once(CMSMASTERS_COMPOSER . ‘/filters/cmsmasters-c-c-atts-filters.php’);

    require_once(CMSMASTERS_COMPOSER . ‘/shortcodes/theme-shortcodes.php’);
    }

    // Events functions
    if (CMSMASTERS_EVENTS_CALENDAR) {
    require_once(get_template_directory() . ‘/tribe-events/cmsmasters-events-functions.php’);
    }

    // Load Theme Local File
    if (!function_exists(‘language_school_load_theme_textdomain’)) {
    function language_school_load_theme_textdomain() {
    load_theme_textdomain(‘language-school’, CMSMASTERS_FRAMEWORK . ‘/languages’);
    }
    }

    // Load Theme Local File Action
    if (!has_action(‘after_setup_theme’, ‘language_school_load_theme_textdomain’)) {
    add_action(‘after_setup_theme’, ‘language_school_load_theme_textdomain’);
    }

    // Framework Activation & Data Import
    if (!function_exists(‘language_school_theme_activation’)) {
    function language_school_theme_activation() {
    if (get_option(‘cmsmasters_active_theme’) != CMSMASTERS_SHORTNAME) {
    add_option(‘cmsmasters_active_theme’, CMSMASTERS_SHORTNAME, ”, ‘yes’);

    language_school_add_global_options();

    language_school_regenerate_styles();

    language_school_add_global_icons();

    flush_rewrite_rules();

    wp_redirect(esc_url(admin_url(‘admin.php?page=cmsmasters-settings&upgraded=true’)));
    }
    }
    }

    add_action(‘after_switch_theme’, ‘language_school_theme_activation’);

    // Framework Deactivation
    if (!function_exists(‘language_school_theme_deactivation’)) {
    function language_school_theme_deactivation() {
    delete_option(‘cmsmasters_active_theme’);
    }
    }

    // Framework Deactivation Action
    if (!has_action(‘switch_theme’, ‘language_school_theme_deactivation’)) {
    add_action(‘switch_theme’, ‘language_school_theme_deactivation’);
    }

    in reply to: Events for courses #1134892
    Alexis
    Participant

    Hi Andras,
    That’s quite problematic for me as I have 15 different types of trainings that can take place simultaneously over the course of 10 weeks, several times per week. I don’t see this as being manageable for what I need. Is it possible to obtain a refund as I just purchased the plugin last night? Thanks, Victoria

Viewing 3 posts - 1 through 3 (of 3 total)