Neo Slider on Posts Page

  • Anonymous

    #10649

    Hello,

    In an old thread, @Syahir Hakim offered to give someone instructions on how to get the Slider on the Posts page, but the person declined the offer.

    I would like to take him up on that offer! I understand I will need to create a child theme for Neo, that’s no problem. But what do I do after that?

    Thanks very much, this will be an incredible enhancement.

    Admin

    Syahir Hakim

    #46574

    After creating the child theme for Neo, add the following code in the child theme’s functions.php file:

    /**
    * Hook the slider to be displayed
    */
    function gmneochild_display_slider(){
    global $gmneo_settings;
    if ( ! $gmneo_settings['slider_disable'] && is_home() && ! is_front_page() ) gmneo_slider();
    }
    add_action( 'gmneo_main_top', 'gmneochild_display_slider' );

    Anonymous

    #46575

    Thanks for your help with this.

    I added the child theme (of Graphene Mobile Neo,) and I added the code to the child theme’s functions.php.

    However, the slider still does not appear in my mobile blog page, for some reason.

    Do I need to do anything specific in the Graphene Mobile Neo settings?

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

  • You must be logged in to reply to this topic.