home page is too slow

May 2014 WordPress Theme
GK User
Thu Mar 09, 2017 12:48 pm
My homepage is about 1MB but it takes about 8seconds to for open it. I installed total cache but it's still too slow. What could be the problem?
User avatar
Junior Boarder

GK User
Thu Mar 09, 2017 2:17 pm
Weird that all pages except homepage work okay. My provider said servers work fine. Looks like homepage issue. But I'm not sure.
User avatar
Junior Boarder

GK User
Thu Mar 09, 2017 3:01 pm
Haha. Sorry. I found the cause of problem. Caching was disabled for authenticated users. When I log off, page loads immediately.
User avatar
Junior Boarder

Joshua M
Thu Mar 09, 2017 7:59 pm
Great to hear that the issue is solved, make sure that you've optimized your slider images.
User avatar
Moderator

GK User
Thu Mar 09, 2017 8:11 pm
Looks like they all loaded when homepage loads. Not before show slide. Right?

BTW, how can I replace this slider to one of slider plugins?
User avatar
Junior Boarder

Joshua M
Thu Mar 09, 2017 9:52 pm
If you want to replace the slider, you have to edit template.frontpage.php file and change the content of this container:
Code: Select all
<div id="gk-header-mod">
User avatar
Moderator

GK User
Fri Mar 17, 2017 4:43 pm
Can I use shortcodes here? I am using this plugin: https://www.kadencethemes.com/slider-comparisons/

It can be used as text widget with shortcode [cadence_slider_pro id="1"] but how to put this into your php template?
User avatar
Junior Boarder

Joshua M
Sun Mar 19, 2017 9:53 pm
Try to use do_shortcode function:
https://developer.wordpress.org/referen ... shortcode/
Code: Select all
echo do_shortcode( '[cadence_slider_pro id="1"]' );
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.