Hi there,
Since the upgrade to both the above, I am getting the following error at http://www.beverleygrammar.co.uk
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘graphene_scrollable’ not found or invalid function name in /home/beverle2/public_html/news/wp-includes/plugin.php on line 406
I think this relates to the following customisation to my child theme to display the slider on multiple pages.
<?
function graphene_display_slider(){
if (is_page('Home') || is_page('Student Bulletins') || is_page('Staff Bulletins')){
graphene_slider();
add_action('wp_footer', 'graphene_scrollable');}
}
and subsequently (may or may not be related, but this is the rest of my functions.php)
function custom_enqueue_scripts(){
if ( ! is_admin() ) { // Front-end only
wp_enqueue_script( 'graphene-jquery-tools' ); // jQuery Tools, required for slider
}
}
add_action( 'wp_enqueue_scripts', 'custom_enqueue_scripts' );
function move_graphene_slider_student_portal() {
if ( is_page('Student Bulletins') || is_page('Staff Bulletins') ) {
remove_action( 'graphene_top_content', 'graphene_display_slider' );
add_action( 'graphene_bottom_content', 'graphene_display_slider' );
}
}
add_action( 'template_redirect', 'move_graphene_slider_student_portal' );
?>
Everything seems to be working ok so I’m not suce what ‘graphene_scrollable’ is, and what I need to do from here?
Any help appreciated.