Şu şekilde oldu arkadaşlar, teşekkürler herkese.

<?php if( is_front_page() || is_home() ) { ?> bağlantı <?php } ?>