php de yeniyim ve wordpress sitesi kodluyorum biraz bilgim var ama syntaxları içinden çıkmadım lütfen yardım edin kodları aşağıda vieriyorum
<?php
// KONTROL EDİP ÇEKME
if (get_option('beta_sondk') == "true" ) {
echo '<?php query_posts("showposts=1&orderby=date&cat=".get_option("beta_sondkid")."
"); ?>
<?php while (have_posts()) : the_post(); ?>';
echo '
<div class="grid_12 first">
<div class="ssondakika">
<a class="all" title="'.<?php the_title(); ?>.'" href="sondakika.html">
'.<?php the_title(); ?>.'
</a>
<a class="sd_baslik" target="_blank" title="'.<?php the_title(); ?>.'" href="'.<?php the_permalink(); ?>.'">
'.<?php the_title(); ?>.' </a>
</div>
</div>';
<?php endwhile; ?>
}
else{
echo "";
}
?>
Şu şekilde deneyin ;
<?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>';
endwhile;
}
else{
echo "";
}
?>