temanızın fonksiyon dosyasına aşağıda yazdığım kodu ekleyebilirsiniz.
$button değişkeni html buton kodunuzdur.
function after_the_content($x){
$button = '<a href="#" style="display:inline-block;padding:10px 20px;background:red;color:white;">download</a>';
if( is_single() ) {
$x .= $button;
}
return $x;
}
add_filter('the_content', 'after_the_content');