-
AuthorPosts
-
June 13, 2014 at 9:06 am #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 forhere it is in an iconbox:

-
This topic was modified 11 years, 4 months ago by
Guenni007.
June 14, 2014 at 12:24 am #278770Hi,
Can you post the link to your blog page please?
Regards,
JosueJune 14, 2014 at 10:26 am #278854This reply has been marked as private.June 14, 2014 at 3:18 pm #278879Hey!
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,
PeterJune 16, 2014 at 9:46 am #279312This reply has been marked as private.June 16, 2014 at 6:34 pm #279614Hi!
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,
JosueJune 17, 2014 at 9:03 am #279884thanks 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.June 17, 2014 at 9:24 am #279888That’s awesome, let us know if you need any help with that :)
Regards,
Josue -
This topic was modified 11 years, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
