Wordpress Feature Content Question

7 replies
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
#content #feature #question #wordpress
  • 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.
    {{ DiscussionBoard.errors[1472121].message }}
  • Profile picture of the author Lisa Gergets
    I don't have the answer to your question...but never apologize for being new! Everyone starts out new at some point!
    Signature
    Sign up to be notified when Success on Demand goes live, and receive a FREE mindmap that you can follow to create and launch your OWN IM PRODUCTS!
    {{ DiscussionBoard.errors[1472128].message }}
  • Profile picture of the author Fatimah Edris
    hope can help cos still looking for the answer, may have to outsourced soon.. cheers
    Signature

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

    {{ DiscussionBoard.errors[2936110].message }}
    • Profile picture of the author Roy Penrod
      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
      {{ DiscussionBoard.errors[2936217].message }}
      • Profile picture of the author Diana Lane
        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.
        Signature

        Plot short fiction, long fiction, even outline non-fiction * Edit the question prompts to suit your genre * Easily export text and image files for use with your word processor or Scrivener.
        {{ DiscussionBoard.errors[2936250].message }}
        • Profile picture of the author Roy Penrod
          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
          {{ DiscussionBoard.errors[2937559].message }}
  • Profile picture of the author Diana Lane
    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.
    Signature

    Plot short fiction, long fiction, even outline non-fiction * Edit the question prompts to suit your genre * Easily export text and image files for use with your word processor or Scrivener.
    {{ DiscussionBoard.errors[2936234].message }}

Trending Topics