Support » Themes and Templates » Goran Theme – adding Revolution Slider

  • Resolved folkswaggin


    I have a test environment site at:

    I have created a very simple slider carousel that I would like to add to the front page somewhere underneath the top header image. Revolution Slider support says to add a slider to the homepage only I can alter page.php. (

    My slider’s alias is: front-page-carosel1

    Below is my page.php with the additional text I believe I correctly added. Wondering if I can get any guidance as to why the slider is not rendering? Thank you.

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    get_header(); ?>
            <?php while ( have_posts() ) : the_post(); ?>
                    <?php get_template_part( 'content', 'hero' ); ?>
            <?php endwhile; ?>
            <?php rewind_posts(); ?>
            <div class="content-wrapper clear">
                    <div id="primary" class="content-area">
                            <main id="main" class="site-main" role="main">
                                    <?php putRevSlider('front-page-carosel1', 'homepage'); ?>
                                    <?php while ( have_posts() ) : the_post(); ?>
                                            <?php get_template_part( 'content', 'page' ); ?>
                                                    // If comments are open or we have at least one comment, load up the comment template
                                                    if ( comments_open() || '0' != get_comments_number() ) {
                                    <?php endwhile; // end of the loop. ?>
                            </main><!-- #main -->
                    </div><!-- #primary -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    • This topic was modified 3 years ago by  Jan Dembowski. Reason: Fixed code block
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Goran Theme – adding Revolution Slider’ is closed to new replies.