add_theme_support( 'woocommerce' );
this function below add this function
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
Kindly use compressjpeg.com or tinypng.com to reduce sizes and compress all your images and reupload them.
Lastly kindly use WP Fastest Cache plugin and ask hosting to have Zend Op Cache and PHP Server cache applied to your site or if they have NGINX available get them to use that.
With all the above steps i am sure your site will be faster. Theme is just part of the entire WordPress website ecosystem and our themes are coded to be faster.
Hi, can you help me, I have a old site with the SKT Desing Agency WordPress theme, but now I like to remove the link Read more in section 2 (whychooseus), I try to remove it from the Php function, but I can not do it, please can you help me. Thank you
Hello, we have fixed the issue. All sections responded to the same code in front-data.php except for the section 3) If I added the id=”section3″ in the same line as the rest of the sections, it wouldn’t work at all. So I added it in the div. It works, but the sections jumps too high.
Here are the code and screenshot:
This is the working code for section 2 you can see where I added id=”section2″
—- `<!– Home Section 2 –>
<?php if($complete[‘hide_boxes_section2’] ==”){?>
<section class=”home2_section_area <?php if($complete[‘section2_bg_image’]){ ?>home2_section_area_bg<?php } ?>” <?php if(!empty($complete[‘section2_bg_video’])){ ?>data-vidbg-bg=”mp4: <?php $sec2bgvideo = $complete[‘section2_bg_video’]; echo do_shortcode($sec2bgvideo); ?>” data-vidbg-options=”loop: true, muted: true, overlay: false”<?php } ?> id=”section2″>
<div class=”center”>
<div class=”home_section2_content”>
<?php …`
—–
Here is the code for section 3. every time i added in the same spot it wouldn’t work in front end. You can see where I added the id because it doesn’t work if I add it to the same place.
• Change the “Welcome to Griffin Solutions” font colour on section 1 to #000000?
• Have the slider banner text not show on mobile version, only the logo
• Change the mobile top menu from grey to white please
• Code for the Client Logo Carousel does not work, please assist on section 10
I found it myself. In case someone else need this. There are 2 options, first is fast, second is preferable:
1. you an edit the code in wp-content/themes/skt-gardening/sktframe/core-functions.php like this:
function clientbox($atts){
extract( shortcode_atts(array(
‘url’ => ‘url’,
‘image’ => ‘image’,
‘alt’ => ‘alt’
), $atts));
return ‘
<div class=”clientbox”> `
2. You can make a plugin for it (looks safer) where you can add other things as well. Create a folder eg: ‘my-thing’, put there a file in and name it ‘my-thing.php’, then put the following in that file:
<?php
/*
Plugin Name: My Thing
Description: some description
Author: your name
Version: 1.0
Author URI: http://your site
*/
// Shortcode MyClient
/*[myclient url="#" image="image" alt="alt"]*/
function myclientbox($atts){
extract( shortcode_atts(array(
'url' => 'url',
'image' => 'image',
'alt' => 'alt'
), $atts));
return '
<div class="clientbox">
<a href="'.$url.'" target="_blank"><img src="'.$image.'" alt="'.$alt.'" title="'.$alt.'" /></a>
</div>
';
}
add_shortcode('myclient','myclientbox');
Then use the shortcode [myclient] instead of [client].
Of course if someone knows other / better options the please share 😉
I don’t have any SVG plugins. This problem occurred after I updated my wordpress to latest version, changed to PHP 7 and added a simple SSL plug in to make my website https:// … deactivating the Simple SSL plugin does not fix the problem.