![]() |
Featured Content Gallery
Can anyone give me an example of the container code used to install the Featured Content Gallery?
Thank you, Michael |
Bump.
yeh it would be great to put it somewhere in the header area. |
Actually maybe it like adding flash:
Turn the header image off at Atahualpa Theme Options -> Header -> Configure Header area and edit header.php which might translate to: <!-- Header --> <td id="header" colspan="<?php echo $cols; ?>"> <?php bfa_header_config($bfa_ata['configure_header']); ?> <div><?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?></div> </td> <!-- / Header --> gonna test it out... |
ahh well can't get it to work.
the box area comes up but it's a no show for content. Seems to be quite a few plugin conflicts too - eg with lightbox dang. |
Featured Content Gallery and WP e-Commerce do not work together either.
|
Anyone know of an alternative?
|
You might try D13 Slideshow. I couldn't get it to work for me, even with WP e-Commerce deactivated. This guy has it working though .
|
http://wp27.bytesforall.com/
In header.php, replace PHP Code:
PHP Code:
PHP Code:
PHP Code:
It's well known that jQuery and mootools (which Featured Gallery Script uses) don't play well with each other, but I was including jQuery in a specific way for that very reason to allow Mootools to work, too. Appears that jQuery needs to do its stuff first regardless. I'll be adding jQuery in this rather manual way again as shown above. If Wordpress adds a new jQuery version then this wouldn't work anymore. Alternatively jQuery could be added fully manually, through the jQuery file included in Atahualpa, but that would mean that it gets loaded twice if a plugin loads it as well. That wouldn't cause an error, but unnecessarily add 50KB to the first page load of every visitor. |
Hey Flynn,
I downloaded a custom widget program and put the content gallery into the widget. Do you know how I would change the code so that Featured Content Gallery works it in the sidebar? I tried the method you wrote, but I guess it's only for the header. Other than that I'm loving the theme. Thanks! -Chris |
Post #8 is required to make it work as such
You should be able to put the actual Gallery code into a sidebar too, i.e. with the http://wordpress.org/extend/plugins/php-code-widget/ by putting this into the widget <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> |
Hi Flynn,
I tried that, but I got this as an error when I loaded the page: Fatal error: Call to undefined function php echo get_option() in /home/maximum5/public_html/wp-content/themes/atahualpa332/header.php on line 25 |
What WP version do you have? Replace the word get_option in the code above with the older function get_settings
|
Hey Flynn,
I have 2.7.1. I changed get_option('siteurl') to get_option('home'), and I don't get the fatal error anymore, but the widget still doesn't work. It appears, but stays on the loading screen. Any ideas? Thanks for helping me out by the way. |
So the featured content gallery works if I put it in the header.php file. If there isn't a way to get it to work in the widget, is there a way to get it to only appear on my main page (and not on the individual post pages)?
Thanks! |
To put it in a widget use the PHP code widget. To display only on the homepage use
<?php if ( is_front_page() ) { include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); } ?> |
Alright, this is driving me crazy.
I guess it's just not working for me. First I got that get_option wasn't defined. Then I finally got it to work (kind of) and it said that wp_head() wasn't defined. Then I started over with the original header folder and none of it worked. I appreciate all your help, but I just don't know what could be wrong. It looks like you got it to work fine on yours. Are those the only changes you made to it? Thanks |
I just downloaded the updated theme and it works perfectly on the front page!
So is there a way now, to put the featured content gallery on the sidebar? I try it with the php code widget, but I get a gallery that's stuck in loading mode. Help! Thanks! |
Can you help me understand how to place the Featured Content Gallery on my "Greetings" page (static homepage)? I am looking for detailed directions, because much of this above I don't understand. In what file specifically and where in that specifically would I place the...
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> Thank you. |
Put the code from post #15 into index.php, right after get_header(); ?> in line 3
|
http://www.twobackpackers.com/
It looks like I'm making some progress...It's working in Firefox but not IE6. Any suggestions? |
Quote:
http://jt4breakfast.com/test/ It should appear right before the first post. |
I viewed your website on Firefox 3.0 and it works perfectly.
|
^Hmmmm . . . . I could never see it. I just gave up and used another plugin called CBFeatured and it works amazingly.
|
Hi all,
I just moved from 3.4 to 3.4.2 and the Featured Content Gallery has gone from working well to just a white box with a black border. Any suggestions? Cheers guys. |
Have you changed the web host too? I just tried and couldn't get it running on a server with Nginx but it worked on Apache. Still investigating...
What are your Javascript internal/external settings? |
Hi Flynn,
No, host is still the same. JS is external at the moment - changing it to external was actually what got it working again (to my knowledge at least). See this post: http://forum.bytesforall.com/showpos...31&postcount=4 I actually intended to make that post in this thread, apologies for that. Cheers Flynn, Lynn & Justin. |
After the setup of the plugin i'm always redirecting on a "null" page. I can't see the content of my site anymore? Any ideas?
|
I have a question regarding the use of D13slideshow and having it display only on the homepage. I tried to adapt the code in post #15 to fit D13slideshow.
My code looks like this: Code:
<?php if ( is_front_page() ) { Code:
Warning: include() [function.include]: Filename cannot be empty in /home/rightmi/public_html/richquickreview.com/wp-content/themes/atahualpa/functions.php(478) : eval()'d code on line 2 Do I have some syntax error in my code? Any other solutions? As for the featured content-gallery, it seems that the codes provided in #8 only applies if the gallery is placed in the header? What can be done to use the gallery in the page contents? Thanks! |
you use an 'include' to insert code, you use 'xxx()' to call a function - try removing the 'include'
|
Thanks!
Didn't realize that "include" wasn't needed here. Thanks for the tip! |
BUMP
Hello. I'm new to the forum. I'm in love with the theme currently. I'm using it to build a site for a organization here. I'm running the latest version of the theme and the latest version of WordPress and I can't seem to figure out how to get this plug-in to work for me. I've tried all of the tricks mentioned here and even went over to the featured content site to check their forums. Has anyone figured this out or can anyone help me with the code? |
If you click on Featured Content Gallery in the Settings area, you'll see a bunch of info, including the fact that you need to add this to the index.php file:
Code:
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> HTML Code:
<?php /* get all options: */ And are you sure you're adding the articleimg and URL of the image in the custom fields area of the post? |
Thanks Paulae, for your quick reply.
I'm going to try this. But first, I've completely taken out all of the code that was suggested be added/taken out in this thread and reverted everything back to normal. Should I go back and do this stuff and what you suggested as well? |
Ignore anything added to make the D13 plugin work. You shouldn't have to make any special revisions other than what's mandated by the FCG plugin. I have it running on one of my sites:
http://www.larchmontgazette.com |
Okay, so I've been fiddling around with this for quite some time now and I just can't seem to get it to work.
I followed your advice. I didn't make any of the changes this thread suggested to any of my files. I added this code to index.php: Quote:
I went through and added articleimg and URL to all of the test posts I have on the site. Absolutely nothing has changed. I'm not sure what I'm doing wrong. I even switched back to the default template and still nothing. I'm going to try installing a fresh copy of Atahualpa and see if that changes anything. Other than that, I have no idea what could be wrong. Any suggestions are definitely welcome! ah: I loaded the site in IE8 and got this: Quote:
|
Did you configure the plugin too? You have to tell it what size it should be, which post IDs to draw from, how many posts, etc.
I suggest you watch this excellent tutorial video: http://www.featuredcontentgallery.com/ It helped me understand how FCG works. |
2 Attachment(s)
Yep. I watched the video and configured the plug-in basically just as told. Screen shots below.
I then went over to my index.php file and added this code: Quote:
Quote:
I also deactivated the header just in case there was something happening there, and still nothing. This is quite frustrating. Nevertheless, thank you for helping me out so much. If anyone wants to take a look at the page source, the test site is: www.activistdork.org. I'd appreciate any and all help I can get. |
I could get neither D13 Slideshow or Featured Content Gallery working
but I could 'Featurific' ... however it's only for posts and I was trying for Page excerpts ... and it has a LOGO to upgrade |
Yeah. I looked into the Featurific plug-in, and while it is nice, it's just not as feature rich and "clean" as the Featured Content Gallery plug-in. When you can get it to work, it does pay off quite a bit.
I'm hoping that with some assistance hear from people who have gotten it runing, that I can get it up on my site as well. I just don't know where I'm going wrong. |
I am not a WP programmer or JQuery expert. I do notice that this is in your header:
Code:
<script type="text/javascript"> Juggledad or Flynn might have some ideas when they come back. Feel free to look at my source code and see if you can spot some obvious difference: http://www.larchmontgazette.com I know it's very frustrating when you can't get something important to work. |
All times are GMT -6. The time now is 09:46 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.