Pardon ben yanlış anladım o zaman ..
Yarın tekrar yeni bir kod yazıp paylaşacağım.
Yarın tekrar yeni bir kod yazıp paylaşacağım.
estağfurullah, merakla bekliyorum
Wordpress sayfa yenilenince rastgele sayfa gelsin |
17 Mesajlar | 2.427 Okunma |
$random = new WP_Query('orderby=rand&showposts=1');
if ($random->have_posts()) { while ($random->have_posts()) : $random->the_post(); $RandomURL = get_permalink();
endwhile; ?>
$random = new WP_Query('orderby=rand&showposts=1');
if ($random->have_posts()) { while ($random->have_posts()) : $random->the_post(); $RandomURL = get_permalink();
endwhile; ?>