Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #278516

    if there is no featured image in a post there will be a standard pic in front of the post on the left side.
    A little pencil. This is i guess an icon font. – I want to change it to a custom icon font made by uploading an svg compound path to fontellos icon font generator. I added the zip file and i can see my own pic and i can use it on sites as well.
    but i want it to be the standard pic for

    here it is in an iconbox: Pirolpic

    • This topic was modified 10 years, 6 months ago by Guenni007.
    #278770

    Hi,

    Can you post the link to your blog page please?

    Regards,
    Josue

    #278854
    This reply has been marked as private.
    #278879

    Hey!

    Add this code to the child theme functions.php file:

    
    add_filter('avf_default_icons','avia_replace_default_icons', 10, 1);
    function avia_replace_default_icons($icons){
    $icons['standard'] =  array( 'font' =>'entypo-fontello', 'icon' => 'ue807');
    return $icons;
    }
    

    and replace “entypo-fontello” with the name of your custom font icon family.

    Best regards,
    Peter

    #279312
    This reply has been marked as private.
    #279614

    Hi!

    Peter’s code does work, is more of a problem of execution order, try putting it after line 16 in functions.php. You could avoid this by having a child theme set-up (child functions.php will always have more priority).

    Regards,
    Josue

    #279884

    thanks for your advice. I thought that the place just before (at th bottom of functions.php)
    require_once( 'functions-enfold.php');
    is best for it.
    the reason why i don’t use a child setup was that a few versions ago i got some trouble updating the theme in this environment.
    But since i update the theme allways manual via ftp – your right – i go back an create a childtheme setup.

    #279888

    That’s awesome, let us know if you need any help with that :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.