Support » Theme: NARGA » slider images

  • Resolved julesjunction

    (@julesjunction)


    Hi,

    in the NARGA theme, does the slider work on a static home page?

    I can get the slider to work when I set the Reading settings to Your Latest Posts but not when it is set to a Static Home page.

    How do I get a slider to work on this theme when a static home page is set?

    Thanks,
    Jules

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author narga

    (@narga)

    NARGA is using ZURB Foundation CSS as style framework. Orbit Slider is one of its components but it was discontinued and I’m planning remove it in next version.
    To manual set slider work on static page,you can create a custom template and include the codes below in it:

    <?php
    /**
     * Template Name: Custom Template with Slider
     *
     * @package WordPress
     * @subpackage NARGA
     * @since NARGA 1.0
     */
    <?php get_header(); ?>
    <!-- Row for main content area -->
    <div id="page-content-wrapper" class="large-8 medium-8 small-12 columns" role="content">
    <?php
    if (is_front_page() && !is_paged() && narga_options('featured_category') != '-1') :
        echo '<div id="orbit-slider">';
        narga_orbit_slider();
        echo '</div>';
    endif;
    ?>
    <?php #Breadcrumb Control
    if (narga_options('breadcrumb') == 1) :
        narga_breadcrumb();
    endif;
    ?>
    <?php get_template_part('content', 'page'); ?>
    
    <?php # Display comment list when it opened
    if ( comments_open() ) :
        comments_template( '', true );
    endif;
    ?>
    </div>
    <!-- End Content row -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    julesjunction

    (@julesjunction)

    Thank you for the response.

    In the meantime I have installed the responsive slider plugin which is working well by putting the [responsive_slider] short code into the home page.

    I will however, look into creating a custom template and using the code as you advise above.

    Thanks,
    Jules

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘slider images’ is closed to new replies.