2 Columns – Category List Sorting
-
I am having a really difficult time figuring this out, I’ve spent hours googling and looking through the forums.
What I am trying to do is sort my category lists in a certain order.
Right now it is showing the columns as:1 2
3 4
5 6
7 8What I am trying to achieve is:
1 5
2 6
3 7
4 8Full Code is located here:
https://pastebin.com/HQvRuJH1Here is a snippet:
<?php if($this_category->category_parent) $this_category = wp_list_categories('orderby=name&show_count=0 &title_li=&use_desc_for_title=1&child_of='.$this_category->category_parent. "&echo=0"); else $this_category = wp_list_categories('orderby=name&depth=n&show_count=0 &title_li=&use_desc_for_title=1&child_of=47'.$this_category->cat_47. "&echo=1"); if ($this_category) { printf( $this_category ); }?>
But I cannot fit much of it without pastebin.
Any help would be great appreciated !
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘2 Columns – Category List Sorting’ is closed to new replies.