Hi
I’m trying to move the sidebar widget to the right of the image.
I used the following
// adjust settings on init
add_action(‘init’,’ava534345953_init’, 50);
function ava534345953_init() {
add_action( ‘woocommerce_after_single_product_summary’, ‘avia_add_sidebar’, 25);
}
function avia_close_image_div() {
global $avia_config;
echo “</div>
“;
}
function avia_add_sidebar() {
if(is_product()) {
$avia_config[‘currently_viewing’] = “shop_single”;
get_sidebar();
}
}
but got
Fatal error: Cannot redeclare avia_close_image_div() (previously declared in /home/dh_w9ptc8/xxx.co.uk/wp-content/themes/enfold/config-woocommerce/config.php:1231) in /home/dh_w9ptc8/xxx.co.uk/wp-content/themes/enfold/functions-enfold.php on line 1908
Thanks
Hey info224,
Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
Sarah
Hi
Thanks for coming back. The details are below
I have since done a restore from the host so its not showing the error message any more
Hi
Any joy on this please?
Thanks
Hi
Please could someone come back to me I’m kind of stuck until this is sorted
Many thanks
Hey,
I am closing this thread. We will follow up here – https://kriesi.at/support/topic/single-image-problem/
Please do not create duplicated threads as it is making it harder for us and for other users to follow :)
Cheers!
Yigit