category_count gives wrong number of posts in category

I don’t know if your issue is cached values at all, but get_category() does cache results, so it’s a possibility. Here are some other options: $current_cat_id = get_query_var(‘cat’); $category = get_category($current_cat_id); // One possibility: $count_a = get_category_count( $category->slug ); // OR… another possibility: $count_b = wp_count_terms( $category->slug );

sub-category showing up in wrong order in breadcrumbs

As you said, you’ve a category (parent one) named as Oregon and its sub-category ‘Southern’, therefore, Oregon / Southern is the correct output. It seems others are in wrong order. If Oregon is parent for Willamette Valley and Central then the result should be: Oregon / Central Oregon / Willamette Valley Consider what hierarchy you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)