Hi Merv,
How are you mate? We have a slight issue again with the slider. We hadn’t set up a child theme so the changes you made to the theme before were done to the parent theme which now needs updating. I have set up a child theme and update the parent and all is well but the slider is not appearing. Restoring to the backup version of the theme works to set it up again but I’d rather have the parent up to date and put those changes into the child theme.
So my question is what changes to the parent theme do you think we will need to bring across to the child theme?
I have tried to bring this action across but it doesn’t seem to be enough to make it work.
function rec_replace_epl_featured_image() {
$post_id = get_the_id();
soliloquy_dynamic( array( 'id' => $post_id, 'width' => '1600', 'height' => '500', 'size' => 'full' ) );
}
// Adds the soliloquy slider to the image hook
//add_action( 'epl_property_featured_image' , 'rec_replace_epl_featured_image' , 1 );
add_action( 'epl_temp_single_featured_image' , 'rec_replace_epl_featured_image' , 1 );
// Removes the default featured image else you will have a slider and featured image
remove_action( 'epl_property_featured_image' , 'epl_property_featured_image' , 1);
remove_action( 'epl_temp_single_featured_image' , 'epl_temp_featured_image_setting' , 1);