melhores funções do WordPress para incluir
$avatar_defaults[$myavatar] = "CompanyName";
return $avatar_defaults;
}
Dangerous Dormouse
$avatar_defaults[$myavatar] = "CompanyName";
return $avatar_defaults;
}
add_filter( 'avatar_defaults', 'newgravatar' );
function newgravatar ($avatar_defaults) {
$myavatar = get_bloginfo('template_directory') . '/images/mygravatar.gif';
<?php
add_action('wp_footer', 'add_googleanalytics');
function add_googleanalytics() { ?>
// Place the code you get from Google Analytics here
<?php } ?>