I'm quite new at this so don't really know. But as far as my knowledge goes, I can't understand why the code you posted above isn't working for you. The only thing I can think of:
In 'WP-Admin -> Settings -> Featured Content Gallery', have you chosen "Select here to use category selection" or "Select here to use individual post or page IDs"? If you chose the latter, then that would be the problem.
More than one...
14 posts • Page 2 of 2 • 1, 2
Re: More than one...
Sure this will work, but only if you are thinking on use just 1 gallery at the time. I explain, i needed to insert multiple FCG in the same page, but on different positions, won't work. I assume (not for sure) that the second (and so on..) gallery rendered on the site uses the same CSS ID's that can't be duplicated, so it breaks..
Now i wonder if the css could be changed for just using classes - not id's, so my goal can be accomplished.
It's a really cool plugin, so it called my attention that this need is getting very common for many developers.. user "luke" said he had another solution.
cheers
Now i wonder if the css could be changed for just using classes - not id's, so my goal can be accomplished.
It's a really cool plugin, so it called my attention that this need is getting very common for many developers.. user "luke" said he had another solution.
cheers
gerardmclean wrote:Actually, while not a "real feature" and not entirely a "duplicate gallery" but if you are looking to run multiple galleries that all feel and act the same way on the blog, but just with a different selection of photos, it can be done. Doing it now on a site that I can't show you, but it is happening.
AT YOUR OWN RISK, please don't ask me to support this. I am just sharing how I hacked it for my purposes. (multiple featured content galleries in the same blog is probably going to be added at some time in the future anyway)
1. duplicate the file gallery.php and call it something else, like gallery2.php
2. edit this line:
<?php query_posts('category_name=' . get_option('gallery-category') . '&showposts=' . get_option('gallery-items')); ?> ...
- niconectado
- Posts: 2
- Joined: Thu Oct 15, 2009 6:30 am
Re: More than one...
Well, as i thought before there was a problem with duplicated Div ID's, so i hard coded the second "gallery.php" replacing the ID's "featured" and "myGallery", with the ID names "featured2" and "myGallery2".
Then, on the file jd.gallery.css (under folder '/wp-content/plugins/featured-content-gallery/css') i just duplicated every attribute of "myGallery" to the class "myGallery2".
Basically i created duplicated id's to avoid the conflict described above.
This allowed me to put multiple FCG's on the same page simultaneously... but at last it still something broken with the CSS because the ".carousel" element (with the thumbnails) and the div with the text are out of their position... and no idea yet to place it correctly. (Watch the second Tab, on the Blue area for an Example)
if anyone interested on find a solution, you can contact me
niconectado (skype)
regards
Then, on the file jd.gallery.css (under folder '/wp-content/plugins/featured-content-gallery/css') i just duplicated every attribute of "myGallery" to the class "myGallery2".
Basically i created duplicated id's to avoid the conflict described above.
This allowed me to put multiple FCG's on the same page simultaneously... but at last it still something broken with the CSS because the ".carousel" element (with the thumbnails) and the div with the text are out of their position... and no idea yet to place it correctly. (Watch the second Tab, on the Blue area for an Example)
if anyone interested on find a solution, you can contact me
niconectado (skype)
regards
- niconectado
- Posts: 2
- Joined: Thu Oct 15, 2009 6:30 am
Re: More than one...
Hello!
I realy like this plugin and I'm happy to able using it. But I wonder, if it's possible to make more tabs where you have "Featured Content" one. Like, if you want to have "Featured Content #1" and "Featured Content #2"... any more...
This is very useful if you have more diferrent categories to show in this gallery. I don't really like the idea of duplicating the whole gallery.
Any idea?
I realy like this plugin and I'm happy to able using it. But I wonder, if it's possible to make more tabs where you have "Featured Content" one. Like, if you want to have "Featured Content #1" and "Featured Content #2"... any more...
This is very useful if you have more diferrent categories to show in this gallery. I don't really like the idea of duplicating the whole gallery.
Any idea?
- DjJuvan
- Posts: 3
- Joined: Wed Oct 14, 2009 12:45 am
14 posts • Page 2 of 2 • 1, 2
Return to Plugin Settings, Features, and Options
Who is online
Users browsing this forum: No registered users and 0 guests









