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.
I recently upgraded WordPress to its newest version. I also updated to PHP 7. Now on my website the top left social icons show “?” and does not work. This is what my code looks like.
All of my blog posts are being truncated and no linked title or “read more” button is showing up to read more of the post.
I turned off the theme and loaded another one, and the posts worked fine. Any idea how to fix this?
Here’s a sample: https://cybersecurityassociationofmichigan.org/index.php/news/
And replace <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
1. The button on the slider not showing?
Answer:
When you add new slide instead of default so first removed all three slides field data Slide Image, Slide Title, Slide Link, Slide Button than add your new slides data.
Regards,
Chris
Author
Search Results
Viewing 15 results - 691 through 705 (of 2,000 total)