WPblogger Goes on Camera

How to Use Dynamic Content Gallery

by Ben Cook on March 9, 2010

For those of you who have seen my Thesis skins, you’ve probably noticed the content slider section at the top of the home page on many of the designs. That slider is made possible by the Dynamic Content Gallery plugin, or DCG for short.

While I love the plugin, there are a ton of options and it can be kind of troublesome to set up and get going the first time around. So, I decided to throw together a quick video walking you through the process of getting ready to use this powerful plugin.

Just a few quick notes before we get started though:

  1. I need a better screen capture program that let’s me zoom in and make the content on my screen a bit clearer to see.
  2. I need to thank Raven SEO Tools (that’s an affiliate link because I seriously have a man-crush on this company) for giving me the Flip camera that I used to shoot the beginning of this video. I won it in their #RavenHunt Twitter contest and I really can’t say enough good things about their company. They recently announced a $19/mo option so there’s really no reason NOT to use them.
  3. Let me know in the comments below whether you find this useful or not. As I say in the video if people like this I’ll do more. If not, I’ll take my ugly mug back behind the screen 🙂

I think that’s it so enjoy the video!

image source: fensterbme

{ 12 comments… read them below or add one }

Luna March 11, 2010 at 10:10 am


Thanks for the video.

I have a 2 questions which I hope you can answer:
1. If I don’t place this code:
the gallery doesn’t show.
2. when I use this code or add the gallery as a sidebar widget I get a repetition of the posts with their images in all the posts pages.

Did you ever hear about these kind of problems? do you have any idea what to do with it?


Ben Cook March 11, 2010 at 10:40 am

I’m not sure what code you’re talking about but if you don’t include the call to the function, the gallery won’t show. That’s very normal behavior.

However, repetition of posts certainly is NOT normal. My guess is you might be including that code within the loop and it’s being called multiple times. That’s just a wild guess though since i don’t have a site or code to look at.

Also, if you’re using DCG as a sidebar widget, you can use Widget Logic to limit it’s appearance to only the home page and that sounds like it would take care of the issue for you.

I hope that helps and if you can provide a URL I can go more in depth.


Luna March 11, 2010 at 11:06 am

I figured it out at the end.
The gallery still only work if I manually place the include php code but I got read of the repetition of posts and images in the post pages:
I needed to check the box next to ‘other’ in the restrict script loading option.

Any way thanks for your help and have a great weekend.

Lori March 16, 2010 at 8:52 pm

Great video and I got it working as a widget on the side bar….(now if this is difficult and a lot of work ignore the question), but if easy…

is it possible to have that on top showing like the last 3 to 5 posts where the “featured” post is right now? Making it a slide show instead of static?

It really is a no biggie just curious.

Lori March 16, 2010 at 9:01 pm

never mind it did not behave it looked fine until I clicked on a post and it had error messages everywhere.

Ben Cook March 17, 2010 at 3:10 pm

Lori, yeah, I’ve not tried it as a widget. What kind of error messages?

Lori March 17, 2010 at 3:32 pm

Hey email me and I will show you a screen shot…thought you might ask so I took a screen shot.

Chris March 22, 2010 at 1:20 am

Hey Ben,

Just a note to say Thanks for the video. The plugin seems fairly straightforward. But having someone with experience walk me through it is always a big help.

Kind regards.

Dr. Lawrence Kindo April 21, 2010 at 11:00 am

This tutorial is a must read and view for every newbie to get a hands on into the belly of the gallery to get it to work. I had a tough time configuring it on my test site. Anyways, thanks for the tutorial!

Nic May 6, 2010 at 6:46 am

Thanks Ben.

Was doing my head in trying to work out why my images weren’t loading… then at 9 something minutes you showed us the DCG box on the right. I’d missed it till then.

Problem solved and off to bed very happy.

Thanks for a brilliant skin. Look forward to using it to further my Thesis education.



Dave June 3, 2010 at 3:41 pm

I’m with Luna. The gallery won’t show up at all without the include code in custom-functions.php, and I’m getting image repetition on the post pages. And the gallery is black anyway. Not using this on widget.

Luna June 9, 2010 at 2:02 am

Hi Dave,

mine actually works fine now.
You can see the result here: http://www.texas-holdem.hu
I placed it in the page.php code.
What exactly isn’t working for you?

Previous post:

Next post: