Feature Content Gallery shows everywhere
I am using WP 2.8.1 and Atahualpa 3.4.2
I inserted the Feature Content Gallery code in the theme's index.php: <code><?php /* get all options: */ include (TEMPLATEPATH . '/functions/bfa_get_options.php'); get_header(); ?> <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?></code> It displays perfectly in the home page, but it also shows in every post and page. How can I avoid this ? |
Change the code to
<?php if ( is_front_page() ) { include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); } ?> |
All times are GMT -6. The time now is 09:55 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.