Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
External
tagDiv Member

I was waiting for the smart sidebar for a long time too, thank you!

External
tagDiv Member

Hello,

perfectly working for the top category.

I have this code:

// get child categories
$categories_objects = get_categories( array(
'parent' => $this->current_category_obj->cat_ID,
'hide_empty' => 0,
'number' => self::SIBLING_CATEGORY_LIMIT,
'orderby' => 'count',
'order' => 'DESC'

and the companies are nicely sorted here:
http://firm-guide.com/category/cars/

BUT when I visit the subcategory, it is still sorted alphabetically (for example here: http://firm-guide.com/category/cars/ford/) so I believe I need to change the code also somewhere else – please advise

Viewing 2 posts - 26 through 27 (of 27 total)