<?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 "";
}
?> Standart syntax sorunu içinden çıkamadım lütfen !
1
●216
- 06-03-2014, 21:32:35Üyeliği durdurulduphp 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
- 06-03-2014, 22:20:39Üyeliği durdurulduDostum katletmişsin kodu kusura bakma da.
Böyle dene lütfen.
<?php
// KONTROL EDİP ÇEKME
if (get_option('beta_sondk') == "true" ) {
query_posts("showposts=1&orderby=date&cat=".get_op tion("beta_sondkid")");
while (have_posts()) : the_post();
?>
<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{
}
?>
Böyle dene lütfen.