How to get it to display on one page only!
25 posts • Page 2 of 3 • 1, 2, 3
Re: How to get it to display on one page only!
ohh, that's why...hooks, can you put it in the code of home.php or index.php file directly
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!
hey-i'm new to this stuff-but i fiddled around with the code and tried this and it seemed to work...for those who want fcg on their home page only (or any page only for that matter) and still wanna pull from their posts...
<?php global $post;
if ( is_home() || is_front_page())
{
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
}
?>
hope it helps...thanx again!!!
<?php global $post;
if ( is_home() || is_front_page())
{
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
}
?>
hope it helps...thanx again!!!
- dot
- Posts: 5
- Joined: Thu Mar 04, 2010 7:08 am
Re: How to get it to display on one page only!
What file do I add the php code to?
Thanks,
I am new to this...
Thanks,
I am new to this...
- nedrob
- Posts: 5
- Joined: Thu Mar 11, 2010 3:05 pm
Re: How to get it to display on one page only!
index.php or home.php
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!
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
Re: How to get it to display on one page only!
Danm, I wish i'd known about this earlier it would have saved me a little time.
But i got around it by creating a template from my page.php then created a new page using the new template and made that my home page. It's a bit more long winded that the answer given but it works a treat.
But i got around it by creating a template from my page.php then created a new page using the new template and made that my home page. It's a bit more long winded that the answer given but it works a treat.
- 0870sucks
- Posts: 2
- Joined: Sun Mar 14, 2010 9:28 am
Re: How to get it to display on one page only!
Hello,
After a year of resistance, I broke down and I'm learning how to create and build themes. On my test theme I've worked out every single functional issue, except one with the FCG plugin. As implied by this thread, i would like FCG to only appear on the first page. I've tried every variation of the option you posted in this thread, but have had no luck. I've even tried making a separate home.php and index.php. But no matter what I do, the FCG shows up an all pages.
I'm sure it's something simple that Ive missed.
The URL is: www.animeannie.com
Please keep in mind that this is my test site and my goal for this theme was functionality (translation: have not had time to make it prettier)
Thanks in advance
Gary
After a year of resistance, I broke down and I'm learning how to create and build themes. On my test theme I've worked out every single functional issue, except one with the FCG plugin. As implied by this thread, i would like FCG to only appear on the first page. I've tried every variation of the option you posted in this thread, but have had no luck. I've even tried making a separate home.php and index.php. But no matter what I do, the FCG shows up an all pages.
I'm sure it's something simple that Ive missed.
The URL is: www.animeannie.com
Please keep in mind that this is my test site and my goal for this theme was functionality (translation: have not had time to make it prettier)
Thanks in advance
Gary
- GaryLNunn
- Posts: 5
- Joined: Thu May 07, 2009 11:08 am
Re: How to get it to display on one page only!
looks like working now
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!
admin wrote:looks like working now
Yes, but when I click on 'Page 2", the FCG also still shows on the second page. Although, I was thinking about this earlier, if I'm clicking on a pagination link from the front page, does Wordpress still consider that to be the front page even if it's went to page 2?
- GaryLNunn
- Posts: 5
- Joined: Thu May 07, 2009 11:08 am
25 posts • Page 2 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









