Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #830001

    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

    #830044

    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

    #830095

    Hi

    Thanks for coming back. The details are below

    #830097

    I have since done a restore from the host so its not showing the error message any more

    #830402

    Hi

    Any joy on this please?

    Thanks

    #830503

    Hi

    Please could someone come back to me I’m kind of stuck until this is sorted

    Many thanks

    #831063

    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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Moving Sidebar to the right of the image’ is closed to new replies.