Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Categories as tabs above discussion
Hi all,
Is there any easy way to get a list of all available categories as tabs above the discussion field? Just like "All Questions" and "Popular" in the main discussions view.
Thanks in advance.
Is there any easy way to get a list of all available categories as tabs above the discussion field? Just like "All Questions" and "Popular" in the main discussions view.
Thanks in advance.
0
Comments
What if you get 50 categories? Then you can see 50 tabs?
Also, would you like to see only the Top categories, if you would get subcategories?
There was an error rendering this rich post.
Let's say you have 3 tabs:
"All discussions", "Profile", "Inbox". You will put your code in that place. The code is
"Get all category names from categories" and then "foreach category name show me the category name and the link to the discussions in that category"
Then in the end you'll get:
"All discussions", "your 4 categories", "Profile", "Inbox"
(for example)
There was an error rendering this rich post.