- Code: Select all
<?php
if(!is_paged())
{
gallery call
}
?>
How to get it to display on one page only!
25 posts • Page 3 of 3 • 1, 2, 3
Re: How to get it to display on one page only!
try to use this statement around the 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
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
-

admin - Site Admin
- Posts: 4738
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
- Thank you for using the Featured Content Gallery Forum
Re: How to get it to display on one page only!
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.
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!
open file content-gallery.php and find
this piece of code
embrace that line of code with whatever "if" statement suits your needs,
for example, like this
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
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
-

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!
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!
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
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
-

admin - Site Admin
- Posts: 4738
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
25 posts • Page 3 of 3 • 1, 2, 3
Return to Plugin Settings, Features, and Options
Who is online
Users browsing this forum: No registered users and 0 guests









