Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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 03:31 PM.


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