Yazı bilgilerini çekiyor fakat yerine çekmiyor aşağıdaki resimi incellerseniz title ler title="" href="" gibi kavramlar var. bakınız:
17
●783
<?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 "";
};
?>İçerik gelip doğru yere mi gelmiyor, yoksa hiç mi gelmiyor orayı tam anlayamadım?<?php
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">';
echo '<div class="ssondakika"><a class="all" title="'.get_the_title().'" href="'.get_the_permalink().'">'.get_the_title().'</a>';
echo '<a class="sd_baslik" target="_blank" title="'.get_the_title().'" href="'.get_the_permalink().'">'.get_the_title().'</a>';
echo '</div></div>';
*/
echo '<a href="'.get_the_permalink().'">'.get_the_title().'</a><br />';
endwhile;
}
else
{
echo '';
} <?php
if(get_option('beta_sondk') == "true")
{
query_posts("showposts=1&orderby=date&cat=".get_option("beta_sondkid"));
while(have_posts()): the_post();
$title = the_title('', '', false);
$permalink = get_permalink();
echo '<div class="grid_12 first">';
echo '<div class="ssondakika"><a class="all" title="'.$title.'" href="'.$permalink.'">'.$title.'</a>';
echo '<a class="sd_baslik" target="_blank" title="'.$title.'" href="'.$permalink.'">'.$title.'</a>';
echo '</div></div>';
endwhile;
}
else
{
echo '';
}