mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -64,6 +64,11 @@ function get_category_rss_link($echo = false, $category_id, $category_nicename)
|
||||
|
||||
function the_category($seperator = '', $parents='') {
|
||||
$categories = get_the_category();
|
||||
if (empty($categories)) {
|
||||
_e('Uncategorized');
|
||||
return;
|
||||
}
|
||||
|
||||
$thelist = '';
|
||||
if ('' == $seperator) {
|
||||
$thelist .= '<ul class="post-categories">';
|
||||
|
||||
Reference in New Issue
Block a user