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?
-
- 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.
-
- 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.
-
- 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.
-
- 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?
BTW, how can I replace this slider to one of slider plugins?
-
- 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">
-
- 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?
It can be used as text widget with shortcode [cadence_slider_pro id="1"] but how to put this into your php template?
-
- Junior Boarder
- Joshua M
- Sun Mar 19, 2017 9:53 pm
Try to use do_shortcode function:
https://developer.wordpress.org/referen ... shortcode/
https://developer.wordpress.org/referen ... shortcode/
- Code: Select all
echo do_shortcode( '[cadence_slider_pro id="1"]' );
-
- Moderator
8 posts
• Page 1 of 1