• great theme! love it! is it possible to use the image effect on more than one page? or can i set up categories and link the menu to categories?

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

    (@sonalsinha21)

    YOu will have to copy the script code we have used in index.php into some other template.

    But link those images from somewhere else.

    If you are a developer i am sure you will be able to do it.

    Thread Starter Stephan Griesel

    (@sgriesel)

    Can you please give me some information on this, not sure what part to copy exactly?

    <?php
    /**
     * The main template file.
     *
     * This is the most generic template file in a WordPress theme
     * and one of the two required files for a theme (the other being style.css).
     * It is used to display a page when nothing more specific matches a query.
     * E.g., it puts together the home page when no home.php file exists.
     * Learn more: https://codex.www.ads-software.com/Template_Hierarchy
     *
     * @package SKT Panaroma
     */
    
    get_header(); ?>
    
    <?php if( (get_option('page_for_posts')) ) { ?>
    
        <div id="primary" class="content-area">
            <div id="content" class="site-content container">
                <main id="main" class="site-main" role="main">
                    <header class="page"><h1 class="entry-title"><?php _e('Blog','panaroma'); ?></h1></header>
                    <div class="blog-post">
                        <?php if( have_posts() ) : ?>
                            <?php while( have_posts() ) : the_post(); ?>
                                <?php get_template_part( 'content', get_post_format() ); ?>
                            <?php endwhile; ?>
                            <?php panaroma_pagination(); ?>
                        <?php else : ?>
                            <?php get_template_part( 'no-results', 'index' ); ?>
                        <?php endif; ?>
                    </div><!-- blog-post -->
                    <div class="clear"></div>
               </main><!-- main -->
            	</div><!-- #content -->
            </div><!-- #primary -->
            <div id="secondary" class="widget-area" role="complementary">
            <?php get_sidebar(); ?>
           </div><!-- secondary --><div class="clear"></div>
        <?php get_footer(); ?>
    
    <?php } else { ?>
    			<div class="footer-bottom" style="position:absolute;bottom:0;">
    	  <div class="foot_col_container">
            <div class="bottom-left">
            	<?php
    			if ( (function_exists( 'of_get_option' ) && (of_get_option('footertext2', true) != 1) ) ) {
    			 	echo esc_html( of_get_option('footertext2', true) );
    			} ?>
            </div><!-- bottom-left -->
            <div class="bottom-right">
    			<?php do_action( 'panaroma_credits' ); ?>
    			<?php _e('Panaroma Theme by','panaroma'); ?> <a href="<?php echo esc_url( SKT_URL ); ?>" target="_blank"><?php _e('SKT Themes','panaroma'); ?></a>
    		</div><!-- bottom-right --><div class="clear"></div>
            </div><!-- footer-bottom -->
            </div>
    		</div>
    	</div>
    </body>
    </html>
    
    <?php } ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘image effect’ is closed to new replies.