Featured Content Gallery | WordPress Plugin | iePlexus

How to get it to display on one page only!

Customizing the FCG plugin and more

Re: How to get it to display on one page only!

PostBy admin on Thu Jul 01, 2010 1:18 pm

try to use this statement around the gallery call

Code: Select all
<?php
if(!is_paged())
{
gallery call
}
?>
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4738
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Re: How to get it to display on one page only!

Thank you for using the Featured Content Gallery Forum
 

Re: How to get it to display on one page only!

PostBy lisar on Sun Aug 22, 2010 4:02 am

How do you exclude the js from all other pages?

By using the code I do get the gallery on only one page, but the js files will still be loaded on all pages.
lisar
 
Posts: 7
Joined: Fri Mar 06, 2009 8:03 am

Re: How to get it to display on one page only!

PostBy admin on Mon Aug 23, 2010 8:47 am

open file content-gallery.php and find
this piece of code
Code: Select all
   
   echo($galleryscript);

embrace that line of code with whatever "if" statement suits your needs,
for example, like this
Code: Select all
   
if(is_home())
{
   echo($galleryscript);
}
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4738
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: How to get it to display on one page only!

PostBy lisar on Mon Aug 23, 2010 10:07 am

Thank you :) thank worked
lisar
 
Posts: 7
Joined: Fri Mar 06, 2009 8:03 am

Re: How to get it to display on one page only!

PostBy admin on Mon Aug 23, 2010 10:10 am

yw
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4738
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Previous

Return to Plugin Settings, Features, and Options

Who is online

Users browsing this forum: No registered users and 0 guests