Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

[SOLVED] Version 3.4.2 and Featured Content Gallery

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Sep 21, 2009, 08:26 AM
1 posts · Jul 2009
I've tried everything, Javascript set to external, PHP editing, featuring more than 2 items. I can't get the gallery to show up. Does anyone know of any alternative content sliders or can give me a step by step to make FCG work?
Old Sep 24, 2009, 04:58 PM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
Try these changes to the FCG code:

In FCG's jd.gallery.js.php


fadeDuration: <?=$fcg_fade_duration ?>,
fadeDuration: <?php echo $fcg_fade_duration ?>,


delay: <?=$fcg_delay ?>,
delay: <?php echo $fcg_delay ?>,


defaultTransition: '<?=$fcg_default_transaction ?>',
defaultTransition: '<?php echo $fcg_default_transaction ?>',


textShowCarousel: '<?=$fcg_button ?>',
textShowCarousel: '<?php echo $fcg_button ?>',

Also, you'd have to put the

PHP Code:
<?php include (ABSPATH '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
code directly into one of the theme files, e.g. into index.php right below

PHP Code:
get_header(); ?> 
Putting the FCG code into one of the Atahualpa theme option text areas messes up the LOOP. The FCG display works, but the remaining content, e.g. page content or posts on the page doesn't get displayed.

If all this doesn't help, try replacing in FCG's gallery.php, all

$post->ID with get_the_ID()

Old Oct 27, 2009, 03:21 PM
94 posts · Feb 2009
Hello! I followed these directions, but when I load the updated index.php file suddenly my blog posts show on every page.



Last edited by blueprairie; Oct 27, 2009 at 03:33 PM.
Old Oct 30, 2009, 08:08 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
Is this still happening? I don't see it on your site
Old Oct 30, 2009, 11:35 AM
94 posts · Feb 2009
Thanks for responding. I did get it figured out. Have a great day!
Old Jan 24, 2010, 05:01 AM
71 posts · Jun 2009
Santa Monica, CA
Send a message via Skype™ to sweeper240
Hi Flynn,

I am attempting to make Featured Content Gallery work. www.pauloberle.com/stltheta.org/

but i want the gallery in a php sidebar widget. Does that break the loop?

Apparently its doing something bad because if I have that php widget active I can't see a sticky post that should be at the top of the homepage.


Old Jan 24, 2010, 11:40 PM
71 posts · Jun 2009
Santa Monica, CA
Send a message via Skype™ to sweeper240
I switched over to dynamic content gallery, had a few issues, but got it working

Old Jan 28, 2010, 12:29 PM
60 posts · Aug 2009
Grayson County, TX
I think because I have a newer version of Featured Content Gallery, Flynn's code doesn't match up to the files that are there now. I posted about not being able to get this to work here-

I have
Version 3.2.0 of the plugin,
Or maybe I am just being dense.

The file jd.gallery.js.php is said to be inactive, and the code doesn't look the same. It has-
$fcg_button = get_option('gallery-fcg-button') != '' ? get_option('gallery-fcg-button') : "Featured Content";
$fcg_fade_duration = get_option('gallery-fade-duration') != '' ? get_option('gallery-fade-duration') : 500;
$fcg_delay = get_option('gallery-delay') != '' ? get_option('gallery-delay') : 9000;
$fcg_default_transaction = get_option('gallery-default-transaction') != '' ? get_option('gallery-default-transaction') : "fade";


Last edited by lucy; Jan 28, 2010 at 01:13 PM.
Old Apr 14, 2010, 03:48 PM
94 posts · Feb 2009
I tried hard to make FCG work and eventually got frustrated. Then I tried Dynmanic Content Gallery and it worked perfectly for me, right after activation. http://www.studiograsshopper.ch/dyna...ntent-gallery/. You may want to try it and see if it does what you want. You can see it on my ATA site at www.mercyemsdsm.com.

Good luck!
Old May 26, 2010, 11:14 AM
19 posts · Dec 2008
california & canada
I'm trying to do the same with Dynamic Content Gallery, I've followed the setup instructions here: http://www.studiograsshopper.ch/dyna...uration-guide/ - but I can't determine where I should place the php to call the plugin - index.php? bfa_hor_pages.php? Can I not add the php to the css inserts area so that I am not hacking Flynn's theme files?

I only want the featured posts to appear on a single static page called 'portfolio' that has the ID '801' per:

<?php if( is_page('801') ) {
} ?>

When I dropped this into the index.php, the gallery showed up, but in a weird left corner under the footer. Any help would be greatly appreciated...

I'm trying to replace autoviewer on this page with dcg: http://plusplus.ca/portfolio/

BTW - it also works well in a PHP widget - but can I get a widget to appear in the body of a page somehow? (using widget logic to exclude all but the desired page)

Last edited by andyro; May 26, 2010 at 12:16 PM.
Old May 26, 2010, 12:19 PM
19 posts · Dec 2008
california & canada
OK - solved - as above (first reply by Flynn in this thread), paste:

<?php if( is_page('801') ) {
} ?>

Directly under: 'get header' at top of index.php - and it shows up in the right place!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured Content Gallery and 3.4.2 mattalter Plugins & Atahualpa 6 Dec 10, 2009 03:47 PM
Featured Content Gallery strangelove Plugins & Atahualpa 43 Oct 24, 2009 02:05 PM
Featured Posts plugin evripidis Plugins & Atahualpa 1 Aug 5, 2009 09:31 PM
Feature Content Gallery shows everywhere majofa Page & Category Menu Bars 1 Jul 22, 2009 11:07 AM
[SOLVED] Can't upload the latest version to my Dashboard because I have older version rhymes New Versions, & Updating 2 Apr 25, 2009 10:22 PM

All times are GMT -6. The time now is 06:50 AM.

Powered by vBulletin® Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.