‚Ibbenbueren-Lied‘,
‚orderby‘ => rand,
‚post_type‘ => ‚post‘,
‚post_status‘ => ‚publish‘,
‚posts_per_page‘ => 1,
‚caller_get_posts’=> 1
);
$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post(); ?>
post->ID, ‚WritersName‘, true);
if ($name){
echo ‚Writers name: ‚ .$name;
}
endwhile;
}
wp_reset_query(); // Restore global post data stomped by the_post().
?>