Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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,
    Peter

    #351251
    #351578

    Hi 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,
    Peter

    #351736

    Hi!

    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!
    Ismael

    #351771

    Hi 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,
    Peter

    PS you can now close this thread

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Replace deafult post icon’ is closed to new replies.