Tagged: Dynamic Content Gallery
April 16, 2013 at 3:17 pm #35830
No matter what I do, I can’t get the DCG code to appear in my home.php or functions.php file. The DCG does not appear on the site.
What am I doing wrong?
The posts on the site are just test posts with featured images to see if the DCG was working.
site is http://www.ezratachim.com
GaryApril 16, 2013 at 3:42 pm #35831
Why not use the native WordPress gallery?
You could also add a carousel or install Jetpack which includes one.
April 16, 2013 at 4:01 pm #35834
I’m looking for something to put on the home page and not widget. When I used the lifestyle theme a while back I didn’t have a problem with it. http://www.great-marriages.net
Can Jetpack do that on the home page?April 16, 2013 at 4:13 pm #35836
Where exactly on the home page? Do you want a gallery of images or carousel?
You can paste a shortcode for the gallery anywhere and if you have Jetpack installed, you can enable the carousel so all images in all galleries display in the carousel.
April 16, 2013 at 4:15 pm #35837
Carousel. I put the DCG into the widget and it seems to come up now.
I never used jetpack but I did install it now. I guess I would put the carousel in the widget?April 16, 2013 at 4:50 pm #35846
Activate the carousel in the Jetpack settings. It works with the native gallery images and won’t work with other gallery plugins.
You can paste the gallery shortcode into a widget as long as you have added support for shortcodes to parse in widgets.
April 16, 2013 at 11:32 pm #35896
1) I don’t see the ‘carousel’ listed anywhere. It is activated. The only thing I see in my widgets is jetpack ‘image’ with the option to show an image in the widget.
2) the add_filter( code goes in the functions.php?
Thanks for your help.April 17, 2013 at 1:24 am #35902
The carousel works with the native WordPress gallery.
Simply create a gallery and they will display in a Carousel when you click and view them.
Paste the PHP code at the end of your child themes functions.php file. Then you can use shortcodes in a text widget.
April 17, 2013 at 9:23 am #35945
Last question – I hope – Where do you find the shortcode for the gallery?
ThanksApril 17, 2013 at 3:44 pm #36011
WordPress will generate it after you create the gallery. When you go to insert the gallery, the shortcode will be generated.
You must be logged in to reply to this topic.