Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

DCG in home page does not show

fixed
UserPost

6:56 pm
July 27, 2010


stardust

Guest

1

Post edited 6:57 pm – July 27, 2010 by stardust


Hi,

I used the DCG on a Studiopress theme and it worked fine.

I changed the theme and want to have the DCG plugin showing on the home page [home], which I selected in Settings -> Reading -> Static -> Front -> [Home] and it does not show at all.

In DCG settings I selected Home page only, and I tried Pages [id] – no success.

The Dynamic Content Gallery in a widget works fine, but I don’t like it there. Do I have to insert any code on the [home] page or the template?

I use WordPress 3.0.

8:21 pm
July 27, 2010


Ade

Admin

posts 2384

2

Hi,

Yes, you need to add the DCG template tag to your front page using a Studiopress hook. Which one to use depends on where exactly you want the DCG to appear. Then add this to your child theme's functions.php:

function load_dcg() {
if( is_front_page() ) {
dynamic_content_gallery();
}
}
add_action('studiopress_hook_name', 'load_dcg');

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

11:56 pm
July 27, 2010


stardust

Guest

3

Hello,

On [Home] I display a slider, on a [Gallery] page I like to integrate DCG (it will be a photo site).

I added your code in child's functions.php and in settings I selected Pages [id] – but still I don't see the DCG on the [Gallery] page.

I must say I switched back to Studiopress, but I like to have it work on different themes because of presentation purposes.

10:35 am
July 29, 2010


Ade

Admin

posts 2384

4

Hi,

Did you replace studiopress_hook_name with the actual hook name? You must do this.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

6:29 pm
July 29, 2010


stardust

Guest

5

Hello,

Sorry, I am a "Classic" user and new to "Genesis". I installed the Simple Hooks Plugin, but I don't know, which hook to choose and if I have to make changes there.

9:28 am
July 31, 2010


Ade

Admin

posts 2384

6

Hi,

So, you are using a Genesis child theme?

If so, decide where you want the DCG to appear, then add this code in the appropriate "hook" box in the Simple Hooks Plugin screen:

function load_dcg() {
if( is_front_page() ) {
dynamic_content_gallery();
}
}

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

6:20 pm
August 2, 2010


stardust

Guest

7

Thanks Ade, I was testing it on Classic, Child and a non Studiopress theme – worked on all of them.

7:59 pm
August 2, 2010


Ade

Admin

posts 2384

8

Great! So all is fine now?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

4:37 pm
August 3, 2010


stardust

Guest

9

Post edited 6:10 pm – August 3, 2010 by stardust


Thanks, I get used to hooks and functions in child themes. I decided putting dcg on home page and using a gallery plugin throughout pages and posts.

6:58 pm
August 3, 2010


Ade

Admin

posts 2384

10

Cool. Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

2:32 am
August 5, 2010


stardust

Guest

11

Hello,

When I select #5 JavaScript framework Mootools in DCG CSS errors appear right after DCG installation.

When I switch to jQuery they are gone. But the problem I have with jQuery option the arrows for next and previous image are gone too and when I click in these areas the post get activated and not the next or previous image shows up.

I did not activate any other plugin. Is there anything I can do?