Okay
  Public Ticket #300229
use normal slider like flex slider or revulotion slider Instead post slider
Closed

Comments

  • Mohsen started the conversation

    Hi,

    Could you please tell me how can i disable default slider and use revolution slider or any normal slider.

    Cause as you know current slider is just to slide my post.

    Best Regards

    Sam

  •  93
    djwd replied

    Hi there,

    Being a magazine theme the native slider is meant to showcase posts. To remove the slider you would need to customize the file header.php, precisely by removing/commenting out this part (from line 172):

    <?php //Get Slider and Grid for Homepage templates
    $slider = get_post_meta(get_the_ID(), 'mgm_hp_slider', true);
    $is_shop = mgm_is_really_woocommerce();
    $home_1 = is_page_template('home-widgetized-1.php');
    $home_2 = is_page_template('home-widgetized-2.php');
    $home_3 = is_page_template('home-widgetized-3.php');
    $home_4 = is_page_template('home-widgetized-4.php');
    $home_5 = is_page_template('home-widgetized-5.php');
    $home_6 = is_page_template('home-widgetized-6.php');
    $home_7 = is_page_template('home-widgetized-7.php');
    
    if ( $slider != 'slider_none' AND $home_1 || $home_2 || $home_3 || $home_4 || $home_5 || $home_6 || $home_7 ) {
    
    get_template_part ('partials/part', 'sliders');
    
    } elseif ( $is_shop ) {
    
    get_template_part ('partials/part', 'shop-cat');
    
    }
    
    

    Please refer to the other slider's documentation to see how to implement it in themes as I don't know about Revolution slider specifically.

    Regards
    djwd

    Regards
    djwd