-
Author
-
June 24, 2014 at 09:26 #20630tolase508Participant
I would like to keep the matching system on the theme, but i want to remove all the hearts from the site how do i do that? Ive seen the script for removing the hearts in the forum but it also includes removing the compatibility and i dont want to do that.
June 24, 2014 at 14:08 #20681CatalinModeratorHello,
Add this code in functions.php from your child theme folder:
COPY CODEfunction kleo_my_hearts_actions() { /* Replace the heart over images */ add_filter('kleo_img_rounded_icon', 'my_custom_icon'); /* Replace the heart from register modal */ add_filter('kleo_register_button_icon', 'my_custom_icon_register'); /* Replace the heart from About us widget */ add_filter('kleo_widget_aboutus_icon', 'my_custom_icon_about_widget'); } /* Replace the heart with a camera icon function */ function my_custom_icon () { return 'camera'; } /* Replace the heart from register modal with a user icon function */ function my_custom_icon_register () { return 'user'; } /* Replace the heart from about us widget with a user icon function */ function my_custom_icon_about_widget () { return 'user'; }
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 25, 2014 at 00:47 #20807tolase508ParticipantHi Caitlin thank you so much for you quick response, the only thing im confused about is where in the .php file i should add the code
this is the existing code in the fuctions .php file, pleAse point out EXACTLY where i should add this code, (before the first line? after the last line? in between the last two lines? i need EXACTLY WHERE. last time i tried i was unsuccesful, and i believe its because i didnt put it in the right location. THANK YOU
<?php
/**
* @package WordPress
* @subpackage Sweetdate
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Sweetdate 1.0
*//**
* Sweetdate Child Theme Functions
* Add extra code or replace existing functions
*/?>
June 25, 2014 at 13:26 #20841CatalinModeratoradd all the code before ” ?> ” .
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 25, 2014 at 20:21 #20900tolase508ParticipantHi caitlin i did as you said but nothing happend? all the hearts are still there?
*/
i placed code here in between these two tags but nothing happened?>
July 1, 2014 at 18:21 #21435CatalinModeratorHello,
Please send me FTP credentials and WordPress admin aces to fix your issue. Reply “as private” for security reasons.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.