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 Mar 04, 2010 3:40 pm

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
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 dot on Fri Mar 05, 2010 9:40 am

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!!!
dot
 
Posts: 5
Joined: Thu Mar 04, 2010 7:08 am

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

PostBy nedrob on Thu Mar 11, 2010 3:06 pm

What file do I add the php code to?

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!

PostBy admin on Thu Mar 11, 2010 3:07 pm

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
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 nedrob on Thu Mar 11, 2010 3:21 pm

Thanks!
nedrob
 
Posts: 5
Joined: Thu Mar 11, 2010 3:05 pm

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

PostBy admin on Thu Mar 11, 2010 4:46 pm

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

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

PostBy 0870sucks on Sun Mar 14, 2010 9:56 am

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.
0870sucks
 
Posts: 2
Joined: Sun Mar 14, 2010 9:28 am

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

PostBy GaryLNunn on Wed Jun 30, 2010 9:41 pm

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
GaryLNunn
 
Posts: 5
Joined: Thu May 07, 2009 11:08 am

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

PostBy admin on Thu Jul 01, 2010 9:18 am

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
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 GaryLNunn on Thu Jul 01, 2010 12:26 pm

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

PreviousNext

Return to Plugin Settings, Features, and Options

Who is online

Users browsing this forum: No registered users and 0 guests