PHP tagleri içinde php tagi kullanamazsınız. Kodlarınız doğru ise syntax aşağıdaki şekilde olmalıdır.
<?php
// KONTROL EDİP ÇEKME
if (get_option('beta_sondk') == "true" ) {
query_posts("showposts=1&orderby=date&cat=".get_option("beta_sondkid"));
while (have_posts()) {
the_post();
echo '
<div class="grid_12 first">
<div class="ssondakika">
<a class="all" title="'.the_title().'" href="sondakika.html">
'.the_title().'
</a>
<a class="sd_baslik" target="_blank" title="'the_title()'" href="'the_permalink().'">
'.the_title().'
</a>
</div>
</div>';
}
else {
echo "";
}
?>