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
12:44 am
I just installed and added code to use the Dynamic Content Gallery on Thesis and I got this error message…
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'featcc' was given in /home/travelj5/public_html/jackfussell/wp-includes/plugin.php on line 395
Any advice on how to fix it….
http://www.jackfussell.com
Thanks!
9:57 am
August 25, 2008
OfflineHi,
How have you added the DCG to Thesis? As a widget, or are you adding code somewhere? As I don't know how Thesis works, and this seems to be an issue with utilising Thesis, you may be better off asking this question on the Thesis forums…
2:20 pm
I added it as a plugin. I also added some code based on this tutorial
http://www.wolf-howl.com/blogging/visual-slider-thesis/
Jack
2:50 pm
August 25, 2008
OfflineJack,
That article is very out of date and refers to an old, old, old version of the DCG.
Please post the code that you have added to Thesis.
5:35 pm
Thanks for the info…
here is the code I added to custom functions file
//featured content
function featcc() {
if (is_home()){
global $post;
if( function_exists( 'dynamic_content_gallery' ) ) :
dynamic_content_gallery();
endif;
}
}
and
dynamic_content_gallery();
and
add_action('thesis_hook_feature_box', 'featcc');
6:16 pm
August 25, 2008
OfflineJack,
This is nothing to do with plugin support – you're just not calling it correctly as required for Thesis.
This is what you need:
//featured content
function featcc() {
if (is_home()){
if( function_exists( 'dynamic_content_gallery' ) ) {
dynamic_content_gallery();
}
}
}
add_action('thesis_hook_feature_box', 'featcc');If I come across as grumpy, I am. You paid Thesis' authors for theme support but I end up giving you free theme support instead. Go figure…
Most Users Ever Online: 28
Currently Online: nloronacele
13 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 