-
AuthorPosts
-
November 14, 2014 at 1:31 pm #351222
Hi All,
I need to replace a default small grey icon with a pen which appears on a blog roll next to each post.
Is it possible through the theme options?
If not which image is it that needs to be replaced?regards,
PeterNovember 14, 2014 at 2:47 pm #351251Hi TheElear!
Please see – http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/
Best regards,
YigitNovember 14, 2014 at 11:46 pm #351578Hi Yigit,
OK. I have had a look at this article and I am now confused. I have 2 questions:
1. I need to replace the standard icon. In functions.php (line 154) it is called as ue836.
However character map at entypo.com calls the same icon U+270E.
I need to replace it with an icon of a note U+266A.
Where am I supposed to find out what it is in the notation used in Enfold?2. in the article you have mentioned the following code is recommended for the child theme:
add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1); function avia_replace_standard_icon($icons) { $icons['standard'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue915'); return $icons; }
What are 10, 1 values?
I understand that I need to replace ue915 to U+266A. Is that right?Many thanks for your help,
PeterNovember 15, 2014 at 8:59 am #351736Hi!
Replace the icon code with ue800.
add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1); function avia_replace_standard_icon($icons) { $icons['standard'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue800'); return $icons; }
Please refer to this link: https://kriesi.at/support/topic/custom-social-media-icon-in-menu/#post-319596
Cheers!
IsmaelNovember 15, 2014 at 10:54 am #351771Hi Ismael,
Again many many thanks for your help. I read the post you mentioned: https://kriesi.at/support/topic/custom-social-media-icon-in-menu/#post-319596
But I struggled to find character map. Perhaps in the post mentioned above you can add that character codes are easily accessible when you hover a mouse above the icon element in post shortcodes screen. I really struggled to find out where it is.Just so you know when I applied changes it works like a dream!
Thank you again for your help!
Kind regards,
PeterPS you can now close this thread
-
AuthorPosts
- The topic ‘Replace deafult post icon’ is closed to new replies.