$args = array(
'post_status' => 'publish',
'paged' => 1,
'posts_per_page' => 3,
'ignore_sticky_posts' => 1,
'cat' => 222,
/*'meta_query' => array(
array(
'key' => 'topic', // 你的使用的自定义字段1
'value' => 99 // 自定义字段1对应的值
)
),*/
'meta_key' => 'sub_pic'
);
$i = 0;
$query = new WP_Query($args); //新建查询
//The Loop
if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post();
?>
$i++;
endwhile;
endif;
?>
Development Finance
Over the past 50 years, multilateral development financial institutions played a key role in supporting financing for key infrastructures, job creation and people’s livelihood improvement in developing countries. However, there are stil...
more
Our Views
$args = array(
'post_status' => 'publish',
'paged' => $paged,
'posts_per_page' => 8,
'ignore_sticky_posts' => 1,
'cat' => 222
);
$query = new WP_Query($args); //新建查询
//The Loop
if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post();
get_template_part('content', 'qihou');
endwhile;
twentytwelve_content_nav2('nav-below', $query);
else:
?>
暂时还没有文章
endif;
?>