/ Published in: PHP

Code in functions.php einfügen
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
add_filter( 'avatar_defaults', 'newgravatar' ); function newgravatar ($avatar_defaults) { $myavatar = get_bloginfo('template_directory') . '/images/gravatar.gif'; $avatar_defaults[$myavatar] = "WPBeginner"; return $avatar_defaults; }
URL: http://www.wpbeginner.com/wp-tutorials/25-extremely-useful-tricks-for-the-wordpress-functions-file/
Comments
