![]() | | ||||||||
| | #1 |
| London Warrior War Room Member Join Date: Feb 2009 Location: London // Blackpool - UK
Posts: 241
Thanks: 47
Thanked 44 Times in 23 Posts
|
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 |
| | |
| | |
| | #2 |
| Senior Warrior Member Join Date: Apr 2007 Location: US of A
Posts: 2,190
Thanks: 47
Thanked 257 Times in 211 Posts
|
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. |
| | |
| | |
| | #3 |
| Your Anti-Guru Girl War Room Member Join Date: May 2009 Location: Iona Farm, Wisconsin
Posts: 2,056
Thanks: 1,334
Thanked 725 Times in 350 Posts
|
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 | |
| | |
| | #4 |
| Fatimah Edris Join Date: Aug 2007 Location: , , .
Posts: 26
Thanks: 20
Thanked 3 Times in 3 Posts
|
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>
| |
| | |
| | #5 |
| HyperActive Warrior War Room Member Join Date: Nov 2010 Location: Arkansas
Posts: 116
Thanks: 67
Thanked 50 Times in 40 Posts
|
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 |
| | |
| | #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
|
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.
|
| | |
| | #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
| |
| | |
| | #8 |
| HyperActive Warrior War Room Member Join Date: Nov 2010 Location: Arkansas
Posts: 116
Thanks: 67
Thanked 50 Times in 40 Posts
|
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
}
?> Roy |
| | |
![]() |
|
| Tags |
| content, feature, question, wordpress |
| Thread Tools | |
| |
![]() |