Forums

Clean Archives Reloaded Categories (2 posts)

  1. rinthe
    Member
    Posted 2 years ago #

    i've been trying to add categories into the plugin, but i get "uncategoriezed" for all of my posts, but all of my posts are categorized. any idea whats going on?

    // Unless comments are closed and there are no comments, show the comment count
    				if ( '0' != $atts['commentcount'] && ( 0 != $post->comment_count || 'closed' != $post->comment_status ) && empty($post->post_password) ) {
    					global $postcat;
    					$categories = get_the_category($postcat->ID);
    					$html .= ' <span class="archive-meta"><a href="javascript:;" class="archive-meta-toggle">&rarr;</a><span class="hidden-archive-meta"><span title="' . __('Comment Count', 'clean-archives-reloaded') . '"> feedback (' . $post->comment_count . ')</span> ' . $categories[0]->name . '</span></span>';
    				}
  2. rinthe
    Member
    Posted 2 years ago #

    someone please help!

Topic Closed

This topic has been closed to new replies.

About this Topic