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:
Hi,
Can you post the link to your blog page please?
Regards,
Josue
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
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
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.
That’s awesome, let us know if you need any help with that :)
Regards,
Josue