HOME › WordPress Support › Mikmag WordPress theme › Mikmag - Multisite Slider not working

This topic contains 1 reply, has 1 voice, and was last updated by  moya 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8859

    moya
    Participant

    I can’t get the slider to work on wordpress multisite install, it only works on the regular single site.

    #8860

    moya
    Participant

    I fixed it

    —————

    I had to edit a lot of theme files i changed
    get_option to get_site_option
    update_option to update_site_option
    delete_option to delete_site_option

    then I had to make sure that the posts from the caterories i used in the slider had a featured post linked to it.

    ——————————-
    Mikmag\core\slider\slider-registry.php (28): $settings = get_site_option(‘core_slider_’ . $slug, null);
    Mikmag\comments.php (53): $req = get_site_option(‘require_name_email’);
    Mikmag\functions.php (83): if (is_singular() && get_site_option(‘thread_comments’))
    Mikmag\functions.php (568): if ( ‘page’ != get_site_option( ‘show_on_front’ ) )
    Mikmag\functions.php (571): return apply_filters( ‘core_buddypress_page_on_front’, get_site_option( ‘page_on_front’ ) );
    Mikmag\core\core-utils.php (52): $width = get_site_option(‘thumbnail_size_w’);
    Mikmag\core\core-utils.php (54): $height = get_site_option(‘thumbnail_size_h’);
    Mikmag\core\core-utils.php (56): $crop = get_site_option(‘thumbnail_crop’);
    Mikmag\core\options\options-classes.php (230): $value = get_site_option($this->key, $this->default);
    Mikmag\includes\woocommerce.php (155): if (get_site_option(‘js_prices_include_tax’) == ‘yes’)
    Mikmag\includes\woocommerce.php (259): return get_site_option(‘core_woocommerce_product_count’);
    Mikmag\core\slider\slider-builder.php (67): $slider_settings = get_site_option(‘core_slider_’ .$slider_slug, ‘{}’);
    —————————-

    Mikmag\core\slider\slider-registry.php (64): update_site_option(‘core_slider_’ . $_POST['slug'], $_POST['settings']);
    Mikmag\core\options\options-theme.php (30): update_site_option($key, $value);
    Mikmag\core\options\options-theme.php (35): update_site_option($key, $value);

    ——————————-
    Mikmag\core\options\options-theme.php (37): delete_site_option($key);

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

You must be logged in to reply to this topic.

Close
WANNA KNOW WHAT'S COOKING?
Stay tunend, we'll keep you posted!

Twitter

Facebook

Google+