Forum Replies Created
-
Author
-
koenvdlParticipant
Hello, yes see text beneath:
<?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*/?>
add_action(‘after_setup_theme’,’kleo_my_hearts_actions’);function 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’;
}koenvdlParticipantHi Vinz,
Thank you for the reaction, but even with the closing tag it is still showing the same text on top of the page.
Kind regards
koenvdlParticipantHello. Thank you, I found the file . but when I paste the text in my functions.php of my child theme it shows up on top of my site instead of changing the heart icons ( see attached file ) what did I do wrong?
Attachments:
You must be logged in to view attached files.koenvdlParticipantCan you give me an specific explanation of how to do it because I can’t get it done.
Kind regards,
Koen
koenvdlParticipantThank you for your reaction,
I still had a question.
Where can I find the functions.php? -
AuthorPosts