Skip to content

Commit

Permalink
Added stars into info format (for custom article format)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkunicki committed Jul 18, 2014
1 parent d1ea43c commit 7f63afb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gk-nsp/data_sources/wp/wp.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ static function get_article_format_mapping($item, $config, $generator, $i) {
"{RATING}" => $generator->art_rating($art_ID),
"{DATE_W3C}" => get_the_time('c', $art_ID),
"{COMMENT_COUNT}" => $art_comment_count,
"{COMMENTS}" => $art_comment
"{COMMENTS}" => $art_comment,
"{STARS}" => $generator->art_rating($art_ID)
);
}
}
Expand Down

0 comments on commit 7f63afb

Please sign in to comment.