<?php
if
(
is_front_page
(
)
)
{
?>
<a rel="publisher" href="Google+pageurl" class="google+"><img src="https://ssl.gstatic.com/images/icons/gplus-16.png" alt="png" /></a>
<?php
}
else
{
?>
<a href="Google+pageurl" class="google+"><img src="https://ssl.gstatic.com/images/icons/gplus-16.png" alt="png" /></a>
<?php
}
?>