• Hi There,

    on my website, I have used the revive (free) theme and it works great with exception of slideshow. It is being shown on all posts.

    I want to show the slideshow on homepage only.

    Any input to restrict will be greatly appreciated!

    website url is https://www.culture.photography

    The code for header.php is also included , should you require it.

    <?php
    /**
     * The header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="content">
     *
     * @package revive
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="profile" href="https://gmpg.org/xfn/11">
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    <div id="page" class="hfeed site">
    	<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'revive' ); ?></a>
    	<div id="jumbosearch">
    		<span class="fa fa-remove closeicon"></span>
    		<div class="form">
    			<?php get_search_form(); ?>
    		</div>
    	</div>	
    
    	<div id="top-bar">
    		<div class="container">
    			<div id="top-menu">
    				<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
    			</div>
    		</div>
    	</div>
    
    	<header id="masthead" class="site-header" role="banner">
    		<div class="container">
    			<div class="site-branding">
    				<?php if ( get_theme_mod('revive_logo') != "" ) : ?>
    				<div id="site-logo">
    					<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( get_theme_mod('revive_logo') ); ?>"></a>
    				</div>
    				<?php endif; ?>
    				<div id="text-title-desc">
    				<h1 class="site-title title-font"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    				<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    				</div>
    			</div>
    		</div>	
    
    		<div id="search-icon">
    			<a id="searchicon">
    				<span class="fa fa-search"></span>
    			</a>
    		</div>	
    
    	</header><!-- #masthead -->
    
    	<div id="social-icons">
    		<?php get_template_part('social', 'fa'); ?>
    	</div>
    
    	<div class="mega-container">
    
    		<?php get_template_part('featured', 'area1'); ?>
    		<?php get_template_part('featured', 'area2'); ?>
    
        <?php get_template_part('slider', 'nivo' ); ?>
    
    		<div id="content" class="site-content container">
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Revive Theme: Slideshow required on Hompage only’ is closed to new replies.