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
fixed
11:35 pm
Hi:
following your advice here : http://www.studiograsshopper.ch/forum/dynamic-cont…..how/#p2436
I've implemented the code into my functions.php file. Problem is the gallery shows fine on the front page AND on EVERY page / post on the site as well. Obviously not the desired outcome. What did I go wrong ? :)
theme : Genesis ( Lifestyle – child )
DCG Settings:
Load scripts ; Home page only ( Also, select this option if you use a Static Front Page defined in Dashboard > Settings > Reading and the gallery will only be shown on the home page.)
11:43 pm
August 25, 2008
OfflineCan you post the code that you have placed in functions.php?
12:20 am
August 25, 2008
OfflineThat will work – but there shouldn't be a closing bracket after the add_action line. In other words, the add_action should be outside the function, not inside it.
8:47 am
August 25, 2008
OfflineI think you misunderstood what I was trying to say. This is the code you should use in functions.php:
if( is_front_page() ) {
dynamic_content_gallery();
}
}
add_action('genesis_before_loop', 'load_dcg');
Most Users Ever Online: 28
Currently Online:
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: 4303
Newest Members: jochris26, eva-aa, Tushar, chargers3, jwhetstone, robert
Moderators:
Administrators: Ade (2497)
Log In
Register
Home

Dynamic Content Gallery: Have you read the
