StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Changing from Featured Content Gallery to Dynamic Content Gallery (http://www.studiopress.com/support/showthread.php?t=75334)

doverturf 09-22-2011 11:46 AM

Changing from Featured Content Gallery to Dynamic Content Gallery
 
Hello,

I have had numerous conflicts with featured content gallery and on the advice of Daisy I am making the switch over to the Dynamic Content Gallery plugin but I can't get it to display the images.

I am not sure if this is the problem but I do see a message at the top of the plugins page that my theme needs to support the WP Post Thumbnails feature. What do I need to do to get the theme to support the WP Post Thumbnails feature?

I replaced this code
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>

on home.php page in the editor with this code

<?php dynamic_content_gallery(); ?>

as instructed in the setup info...

After setting it up I was seeing the gallery box blank with the loader showing it was searching for the images. I deactivated all plugins to see if there was a conflict with something else as this is exactly what used to happen with the featured content gallery quite often. After deactivating the gallery box disappeared all together. I reactivated everything I had activated prior and it is still missing now.

Here's the website

http://osamountainadventures.com

I have already input all the data for the gallery on each page of the site in the DCG metabox and I selected the ID Method as the Gallery method.

What do I need to do next to get this switched over and working correctly?

Thanks,

Duane

Debra 09-22-2011 11:59 AM

enabling post thumb support is as easy as adding this to your functions.php

PHP Code:

add_theme_support'post-thumbnails' ); 

to switch your theme to use post thumbs see this post
http://www.studiopress.com/tips/usin...sic-themes.htm

doverturf 09-22-2011 12:17 PM

I have added the code to the functions page directly under the opening <?php

It looks like I did it correctly because the message is gone now.

Unfortunately, the gallery box is still not showing up at all.

What next?

I can see the java script on the page source for the home page and I see no error messages in the script ( i have error message turned on.

I also tried using the jquery option instead of the mootools option in the Java script settings page.

doverturf 09-22-2011 12:42 PM

Just figured it out. I needed to add some additional code to the home page that I found on this page...
http://www.studiograsshopper.ch/dyna...t-gallery/faq/

Debra 09-22-2011 12:48 PM

Great! Glad it worked out.

resolved, closing thread


All times are GMT -5. The time now is 01:26 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.