Najnowszy wpis:

11,
‚offset’ => 0,
‚category’ => 0,
‚orderby’ => ‚post_date’,
‚order’ => ‚DESC’,
‚post_type’ => ‚post’,
‚post_status’ => ‚draft, publish, future, pending, private’,
‚suppress_filters’ => true );

$recent_posts = wp_get_recent_posts( $args );
$recent = $recent_posts[0];
echo ‚

‚.$recent[„post_title”].’

‚;
$post_title = $recent[„post_title”];
$width = 137;
$height = 140;
$classtext = ‚thumbnail-post alignleft’;

$thumbnail = get_thumbnail($width,$height,$classtext,$recent[„post_title”],$recent[„post_title”]);
$thumb = $thumbnail[„thumb”];

if ($thumb != ”) print_thumbnail($thumb, $thumbnail[„use_timthumb”], $post_title, $width, $height, $classtext);

echo get_post_field( ‚post_content’, $recent[„ID”]);

?>