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.
Topic RSS
closed
6:54 pm
November 26, 2011
OfflineHi there,
I am making a simple error I think. I have tried to put the DCG code into my home php in my genesis theme, but it won't work. This is the code I am using
this is my home php
<?php genesis_before_content_sidebar_wrap(); ?>
<div id="content-sidebar-wrap">
<?php genesis_before_content(); ?>
<div id="content" class="hfeed">
<?php genesis_before_loop(); ?>
<?php if (!dynamic_sidebar('Homepage')) : ?>
<?php genesis_do_loop(); ?>
<?php endif; ?>
</div><!– end #content –>
<?php genesis_after_content(); ?>
</div><!– end #content-sidebar-wrap –>
<?php genesis_after_content_sidebar_wrap(); ?>
<?php get_footer(); ?>
I have tried to put the DCG code after
but it won't work. I am using a static home page.
8:07 pm
August 25, 2008
OfflineIf you are using a static home page, then the theme won't use home.php to display it. It will use page.php instead. Therefore, you will need to add the DCG using a Genesis hook. Bear in mind that the DCG must not be included within the Loop, so use something like genesis_before_loop, or equivalent hook.
Most Users Ever Online: 28
Currently Online: nloronacele
12 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
johnbroome: 13
speedyp: 12
sjpeaches: 12
CherylMcL: 10
gscorp: 8
lsnoei: 8
Member Stats:
Guest Posters: 770
Members: 1300
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 7
Topics: 980
Posts: 4299
Newest Members: jochris26, eva-aa, Tushar, chargers3, jwhetstone, robert
Moderators:
Administrators: Ade (2493)
Log In
Register
Home

Dynamic Content Gallery: Have you read the 