This topic has 12 replies, 3 voices, and was last updated 8 years, 3 months ago ago by Robert Hall
hello, how they fit remove the buttons of social networks and email? because I put the shortcode “[share] but do not understand where it operates …
I also want to enlarge them in the home, is it possible?
Hello,
You need edit the file wp-content/themes/classico/framework/shortcodes.php (find the section “! Share This Product”).
Find code below
extract(shortcode_atts(array(
'title' => '',
'text' => '',
'tooltip' => 1,
'twitter' => 1,
'facebook' => 1,
'pinterest' => 1,
'google' => 1,
'mail' => 1,
'class' => ''
), $atts));
And set the value to ‘0’ instead of ‘1’ if you want to disable one of them.
Also we recommended to make all changes in the Child Theme.
https://www.8theme.com/demo/docs/royal/index.html#!/2_child_theme
https://codex.wordpress.org/Child_Themes
Regards,
Robert Hall
But i must use the ftp? oe i put this code in to child theme?
Hello,
Yes, you can edit this file via FTP.
Also please clarify which exactly social icons you want to remove? Maybe we can do it via CSS code without touching php files.
Regards,
Robert Hall
I want remove twitter, google plus and i want insert instagram…
Hello,
You need edit the file as Robert told and to add Instagram icon you need add this code in shortcodes.php file:
if($instagram == 1) {
$html .= '
<li>
<a href="http://url_to_your_Instagram_page" class="'.$tooltip_class.'" title="'.__('Instagram', ET_DOMAIN).'" target="_blank">
<i class="ico-instagram"></i>
<svg width="38" height="38" xmlns="http://www.w3.org/2000/svg" class="circle">
<circle cx="19" cy="19" r="18" fill="rgba(255,255,255,0)" stroke="#000000"></circle>
</svg>
</a>
</li>
';
}
and
'instagram' => 1,
after line 473.
Best regards,
Jack Richardson.
I’m afraid of making a mistake and destroy the site, you can make these changes to the files via ftp?
Hello,
The FTP credentials are incorrect. Please check them.
Regards,
Robert Hall
This is correct now…thanks
Hello,
I’ve made changes in the /wp-content/themes/classico/framework/shortcode.php file. Now go there and change the instagram link to your own – http://prntscr.com/c988ll
Regards,
Robert Hall
ok, thanks a lot…
You’re welcome!
Regards,
Robert Hall
You must be logged in to reply to this topic.Log in/Sign up