XStore is so slow - by ermia - on WordPress WooCommerce support

This topic has 6 replies, 2 voices, and was last updated 8 years, 4 months ago ago by 8theme

  • Avatar: ermia
    ermia
    Participant
    August 23, 2016 at 14:12

    Dear Sir or Madam,
    I installed XStore theme after that i installed required plugins but backend and frontend both are so slow after installation i didn’t installed third party plugins could you please check what is the problem or cause of slow loading

    Thank you
    Ermia

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: 8theme
    8theme
    Support staff
    August 23, 2016 at 15:27

    Hello,

    Thank you for contacting us.

    We just investigated your web-site and see that it may be caused by some kind of resources of optimization from the server. Try to add the following code to the functions.php of the child theme to fix logo image performance glitch for frontend

        function etheme_get_logo_data() {
            $return = array(
                'logo' => array(),
                'fixed_logo' => array()
            );
    
            $logo_fixed = etheme_get_option('logo_fixed');
            if(!is_array($logo_fixed)) {
                $logo_fixed = array('url' => $logo_fixed);
            }
    
            $logoimg = etheme_get_option('logo');
    
            if(empty($logo_fixed['url'])) {
                $logo_fixed = $logoimg;
            }
    
            $page = etheme_get_page_id();
    
            $custom_logo = etheme_get_custom_field('custom_logo', $page['id'] );
    
            if($custom_logo != '') {
                $logoimg['url'] = $custom_logo;
            }
    
            $return['logo']['src'] = (!empty($logoimg['url'])) ? $logoimg['url'] : ETHEME_BASE_URI.'theme/assets/images/logo.png';
            $return['fixed_logo']['src'] = (!empty($logo_fixed['url'])) ? $logo_fixed['url'] : ETHEME_BASE_URI.'theme/assets/images/logo-fixed.png';
    
            $return['logo']['size'] = 100;//@getimagesize($return['logo']['src']);
            $return['fixed_logo']['size'] = 20;//@getimagesize($return['fixed_logo']['src']);
    
            return $return;
        }

    Regards

    Avatar: ermia
    ermia
    Participant
    August 23, 2016 at 15:43

    Thank you, now its fast

    Avatar: 8theme
    8theme
    Support staff
    August 23, 2016 at 15:44

    You are welcome! If you like our theme your good comment and 5 stars rating would be much appreciated. You can do it in your Downloads area https://themeforest.net/downloads

    Feel free to contact us if you need any other help.
    Thanks!

    Regards

    Avatar: ermia
    ermia
    Participant
    August 23, 2016 at 16:01

    sure i will, i will another problem some header contents are in order and footer is not in order as well. i just saw it when i installed child theme

    Avatar: 8theme
    8theme
    Support staff
    August 24, 2016 at 07:41

    Just add your widgets to rights places in Appearance -> Widgets.

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.