fix news categories

This commit is contained in:
Vasil Kolev 2014-10-14 12:51:57 +03:00 committed by Openfest
parent 12ff13d449
commit a49014e84a
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ function sh_latest_posts($atts){
$result = '<section class="content"><h3>'.$atts['label'].' | <small><a href="'.esc_url(get_term_link($atts['cat'], 'category')).'">'.__('see all', 'initfest').'</a></small></h3><div class="grid">';
$news_args = array( 'category_name' => 'news', 'numberposts' => 3, 'lang' => of_get_lang() );
$news_args = array( 'category_name' => 'news,news-bg', 'numberposts' => 3, 'lang' => of_get_lang() );
$news = new WP_Query( $news_args );
ob_start();