CodingYourLife

CodingYourLife

 

English Blog

This Blog is mainly in German but I translated some pages I found more relevant into English.

Want to see the German blog version go to: www.codingyourlife.at

Translated Blogposts

‘post_date’,
‘order’ => ‘DESC’,
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘suppress_filters’ => true );

$recent_posts = wp_get_recent_posts( $args, ARRAY_A );

foreach($recent_posts as $post)
{
echo ‘‘.$post[“post_title”].’ – ‘;
$postCategories = get_the_category($post[“ID”]);
echo $postCategories[0]->name;
echo ‘
‘;
}?>