Please Read First
Troubleshooting Tips
Frequently Asked Questions
Before Posting Please Disable Wp Super Cache Plugin
When Posting Please Include Your URL.
Search Forum Using Google Search Box Above
Forum Video

Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2010
    Posts
    40
    Rep Power
    0

    Default Featured Content Gallery

    Hi,,

    I installed the Featured Content Gallery Plugin and I don't know where should I add the following code

    <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>


    I want it to show only in the home page.

    Thank you very much!!!

    Gabriel

  2. #2
    Join Date
    Jun 2010
    Location
    Spain
    Posts
    328
    Rep Power
    5

    Default

    There are a couple of ways of doing this.

    One is to edit the Socrates header.php file and add this code manually, and then remember to update it when you change or update the theme.

    The second, which would be my preferred method, is to install the Header-Footer plugin and add the code to the relevant section in the plugin admin area.
    Phil Horsepool
    Creative Web Design
    Web Design and SEO Services
    for Marketers and Small Businesses

    Video Brander Software - Free Trial Copy

    Create Explosive Backlinks - Free Download

  3. #3
    Join Date
    Aug 2010
    Posts
    40
    Rep Power
    0

    Default

    Hi,

    Thanks for the tip on the plugin unfortunately it didn't work.

    I also try adding the code <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> in the header and it messed up all the website.

    I also tried adding the code into the index.php file and it worked, but it shows the gallery on all the pages not only in my home page and I only want it to be in my home page.

    Any suggestions?

    Thanks!!!!

  4. #4
    Join Date
    Jun 2010
    Location
    Spain
    Posts
    328
    Rep Power
    5

    Default

    If the code is added correctly in the header there is hardly any way that it can mess up the site as it ir purely a php include, unless when the code was copied and pasted extra characters were added by your system which somtimes happens.

    If you want to PM me a temporary login for your WP admin and FTP I can take a look for you.
    Phil Horsepool
    Creative Web Design
    Web Design and SEO Services
    for Marketers and Small Businesses

    Video Brander Software - Free Trial Copy

    Create Explosive Backlinks - Free Download

  5. #5
    Join Date
    Jun 2010
    Age
    49
    Posts
    59
    Rep Power
    5

    Default Featured Content Gallery

    Compusol, I tried using the header-footer plugin as well...didn't work. I did paste the code into the header.php...but now the featured content gallery shows on every page.

    Any advice on how I can get this plugin to work on ONLY the home page?

    Appreciate any advice.

    Thanks,

  6. #6
    Join Date
    Jun 2010
    Location
    Spain
    Posts
    328
    Rep Power
    5

    Default

    Post the site URL so that we can take a look and see what the problem might be
    Phil Horsepool
    Creative Web Design
    Web Design and SEO Services
    for Marketers and Small Businesses

    Video Brander Software - Free Trial Copy

    Create Explosive Backlinks - Free Download

  7. #7
    Join Date
    Jun 2010
    Age
    49
    Posts
    59
    Rep Power
    5

    Default Featured Content Gallery

    Just a new site I'm working on for a friend....

    http://www.workingwithburt.com/

    This is what I have pasted into the header.php

    <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>

    As you can see...it's not lined up right...
    How do I fix that...and how do I get it to show up only
    on the home page?

    Thanks,

Similar Threads

  1. New Premium Header Gallery
    By jag66 in forum Graphics and Design
    Replies: 2
    Last Post: 01-13-2011, 03:56 PM
  2. Gallery theme
    By fadzlyengan in forum Feature Requests
    Replies: 0
    Last Post: 07-13-2010, 08:11 AM
  3. How To Put Content On different pages
    By gigiswealth in forum Official Support 3.0
    Replies: 5
    Last Post: 07-06-2010, 09:36 PM
  4. No Header Images and Plugin conflict Lightbox Gallery
    By digital in forum Official Support 3.0
    Replies: 1
    Last Post: 07-02-2010, 11:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •