Business News

Business News

[exec]
if (function_exists(‘yg_recentposts’)) {

$parameters = array(
‘limit’ => 10, //Number of posts to show
‘excerpt’ => 6000, //excerpt length (letters)
‘actcat’ =>true, //get posts current category
‘cats’ => ’32’, //Categories to get posts
‘cusfield’ => ‘thumbnail’, //custom field name of thumbnail image
‘w’ => 0, //width
‘h’ => 0, //height
‘firstimage’ => true, //get first image of post content
‘atimage’ => true, //get first attached image of post
‘defimage’ => ” //default thumbnail image
);
//print most recent posts
yg_recentposts($parameters);

}
if(function_exists(‘wp_paginate’)) {
wp_paginate();
}

[/exec]