Change the avatar ratio?

Possible sollutions: Use Css with something like overflow: hidden; and “cut out” what you need. Use the filter apply_filters(‘get_avatar’, $avatar, $id_or_email, $size, $default, $alt); and override the output of $avatar completely. The function get_avatar() is pluggable. That means if you hook a plugin function early enough that already defines get_avatar() then this function will be … Read more

Google Plus One script has quit working, now returns red flag

Google +1 is very easy to add to your site, you only need 2 things for a basic button. 1. Google’s JavaScript, make sure its is https not http! `<script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”></script>` To add this to your site in your functions.php you can write, function google_plus_gp() { wp_register_script( ‘google-plus’, ‘https://apis.google.com/js/plusone.js’); wp_enqueue_script(‘google-plus’) } add_action (‘wp_enqueue_scripts’,’google_plus_gp’); 2. … Read more

What is the advantage of using home.php over index.php for the front page

If you look here [is_home vs is_front_page] you’ll see that is_front_page() is true regardless of what the homepage is set to in the WordPress settings. This means that if you don’t plan on releasing this publicly (i.e. short-run usage) then just having a front-page.php should suffice. is_home() is set based on your blogs page (which … Read more