Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 12-07-2009, 05:07 PM   #1
London Warrior
War Room Member
 
Melodican's Avatar
 
Join Date: Feb 2009
Location: London // Blackpool - UK
Posts: 241
Thanks: 47
Thanked 44 Times in 23 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Wordpress Feature Content Question

Hey Warriors

I have a really quick question regarding "Feature Content Gallery" Plugin in Wordpress. I'm using a pretty standard theme and want to put the FCG under my nav bar (which is under my header) i.e. at the top of my main body, which at the moment is displaying blog post updates.

Where do I put the code '<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>' which displays the FCG. Do I need to alter the css files (if so, which ones) on the my server or can I do it through the Wordpress admin dashboard ?

Many thanks, and apologies for such a newb Q

Ta

Melodican is offline   Reply With Quote
Old 12-07-2009, 06:01 PM   #2
Senior Warrior Member
 
Join Date: Apr 2007
Location: US of A
Posts: 2,190
Thanks: 47
Thanked 257 Times in 211 Posts
Default Re: Wordpress Feature Content Question

I'm not a fan of the Featured Content Gallery. But if you want tips on how to make it work go take a look at Brian Gardner's Themes at studiopress.

The click on the source code of one of his demos to see how they set it up.

InternetMarketingIQ is offline   Reply With Quote
Old 12-07-2009, 06:03 PM   #3
Your Anti-Guru Girl
War Room Member
 
Lisa Gergets's Avatar
 
Join Date: May 2009
Location: Iona Farm, Wisconsin
Posts: 2,056
Thanks: 1,334
Thanked 725 Times in 350 Posts
Default Re: Wordpress Feature Content Question

I don't have the answer to your question...but never apologize for being new! Everyone starts out new at some point!

WP Amaz-One total revamp - coming SOON!

"See A Need, Fill A Need!" ~~Bigweld

Lisa Gergets is offline   Reply With Quote
Old 11-29-2010, 10:30 AM   #4
Fatimah Edris
 
Join Date: Aug 2007
Location: , , .
Posts: 26
Thanks: 20
Thanked 3 Times in 3 Posts
Default Re: Wordpress Feature Content Question

hope can help cos still looking for the answer, may have to outsourced soon.. cheers

<B>Looking for niche plr? You don't have to pay the incurring monthly fee to get the plr articles that you need. It should be simple, don't you think? Plr site will be available soon <B>
Fatimah Edris is offline   Reply With Quote
Old 11-29-2010, 10:51 AM   #5
HyperActive Warrior
War Room Member
 
Roy Penrod's Avatar
 
Join Date: Nov 2010
Location: Arkansas
Posts: 116
Thanks: 67
Thanked 50 Times in 40 Posts
Default Re: Wordpress Feature Content Question

Melodican,

If your theme doesn't give you a widget area for that section, you'll probably want to take a look at the header.php file in your theme folder.

Just make sure you make a backup copy before you change anything so you can quickly restore it if something gets messed up.

If you update your theme, it will write over that change and you'll have to make it again.

Roy
Roy Penrod is offline   Reply With Quote
Old 11-29-2010, 10:54 AM   #6
The Beer Hunter
War Room Member
 
Join Date: Dec 2007
Location: United Kingdom.
Posts: 1,220
Thanks: 186
Thanked 408 Times in 224 Posts
Default Re: Wordpress Feature Content Question

I'm not a great fan of the Featured Content Gallery either, but I've had enough clients who are set on it to have become familiar with it. You need to put it in your front page php file (probably called index.php but sometimes called home.php too). Edit using Notepad and then upload via FTP using FileZilla or something similar. Don't use the file editor in the WordPress dashboard as thee results can sometimes be screwy.
Diana Lane is offline   Reply With Quote
Old 11-29-2010, 10:56 AM   #7
The Beer Hunter
War Room Member
 
Join Date: Dec 2007
Location: United Kingdom.
Posts: 1,220
Thanks: 186
Thanked 408 Times in 224 Posts
Default Re: Wordpress Feature Content Question

Quote:
Originally Posted by Roy Penrod View Post
If your theme doesn't give you a widget area for that section, you'll probably want to take a look at the header.php file in your theme folder.
That would give you the Featured Content Gallery on every page, which would be a bit extreme.
Diana Lane is offline   Reply With Quote
Old 11-29-2010, 03:51 PM   #8
HyperActive Warrior
War Room Member
 
Roy Penrod's Avatar
 
Join Date: Nov 2010
Location: Arkansas
Posts: 116
Thanks: 67
Thanked 50 Times in 40 Posts
Default Re: Wordpress Feature Content Question

True, Diana. It's not something I would want, but to each his own.

If you only want it to appear on the home page, you can wrap it in an "if" statement using the Wordpress function "is_home".

Code:
<?php
if ( is_home() ) {
    // This is a homepage
} else {
    // This is not a homepage
}
?>
And here's the "is_home" function reference in the Wordpress Codex.

Roy
Roy Penrod is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
content, feature, question, wordpress

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 05:35 PM.