Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Feature Content Gallery shows everywhere


  #1  
Old Jul 19, 2009, 07:19 AM
majofa
 
13 posts · Jul 2009
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 ?
  #2  
Old Jul 22, 2009, 11:07 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Change the code to

<?php if ( is_front_page() ) { include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); } ?>

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured Content Gallery strangelove Plugins & Atahualpa 43 Oct 24, 2009 02:05 PM
Only Part Of The Header Shows In IE mal1986 Header configuration & styling 1 Jun 9, 2009 05:38 AM
Comments Are Closed still shows... Suzie Comments, trackbacks & pings 1 Apr 9, 2009 06:02 AM
Google Translate widget shows way to right of sidebar in Firefox daisy24 Sidebars & Widgets 2 Mar 24, 2009 05:14 PM
comment form shows on pages but not posts - why? Lisa Comments, trackbacks & pings 2 Mar 4, 2009 05:14 AM


All times are GMT -6. The time now is 01:50 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.