the_title fonksiyonunda sonucu return ile döndürün. Yapamazsanız fonksiyonu burda paylaşın yardımcı olalım.
Return yaptırmayı googledan öğrendim az önce

Yaptım ancak değişme olmadı
Fonksiyonun orjinal hali bu:
function the_title($before = '', $after = '', $echo = true) {
$title = get_the_title();
if ( strlen($title) == 0 )
return;
$title = $before . $title . $after;
if ( $echo )
echo $title;
else
return $title;
}
Bu kod:
<?php the_title(); ?>
Aşağıdaki yerde almak istediğim sonucu başarıyla veriyor:
<dd class="title">
<strong><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></strong>
</dd>Kullanmak istediğim yer de burası:
<?php
$domain = the_title();
$data = file_get_contents('http://data.alexa.com/data?cli=10&dat=snbamz&url='.$domain);
if (preg_match('/\<popularity url\="(.*?)" text\="([0-9]+)" source="(.*?)"\/\>/si', $data, $matches))
{
$rank = $matches[2];
}
?>
<dd class="y"><?php echo 'A:'.number_format($rank).'<br>'; ?></dd>