-
Author
-
January 26, 2015 at 19:20 #43487navascuesParticipant
Hi,
I want to change the icon heart in this shortcode. Can you help me?
Thanks a lot
January 27, 2015 at 01:40 #43545LauraModeratorHello, can you post the shortcode ?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 27, 2015 at 11:01 #43581navascuesParticipantYes, the shotcode is [kleo_img_rounded] and i want change the icon heart that shown when you put the icon over the photo.
I apologize for my English. Attached a picture so you can see the image I want to change.
Attachments:
You must be logged in to view attached files.January 28, 2015 at 06:39 #43718LauraModeratorHello, this is for rounder image only:
COPY CODEadd_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 with a camera icon function */ function my_custom_icon () { return 'camera'; }
This is for all the hearts in the website
COPY CODEadd_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'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 9, 2015 at 07:15 #53733LauraModeratorHello, the file its functions.php of child theme, just add the codes to it 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.