Hiding Sub-Groups from the Groups page?
I’ve tried everything available in this plugin’s options.
Is there any way to only show the Site Root groups and none of the sub-groups on just the /groups page? I’m separating my categories, and they show, but any sub-groups made also shows on the same page. I want my groups page to be neat and tidy, but listing every single sub-group on the main page kind of defeats the purpose of the hierarchy. Instead of showing them just the site root, it shows the site root and the sub-groups.
What I’m trying to do is this:
Groups Page > Site Root Categories
Site Root Categories Page > Sub Groups
Sub groups Page > More Sub Groups
Basically I want to disallow Sub-Groups from listing on the Groups page. Then once users click on a group I have set up they can then create a group within that default group. The only time I’d like the sub-groups to be visibile is when on the default group and are taken to the default group page.
The more I think about it, is there a way that you can create a “shortcode” for only displaying groups or sub-groups? This is what I mean:
Say I have created a page and save it as /groups on my wordpress site? If there was a shortcode like [SiteRootOnly] and save it on that page, it would just show the listing of the Site Root groups.
Then if I created a new page and save it under the groups directory, like groups/toys. And if there was a shortcode like [CategoryToysSubGroups] and then save that page, then when I viewed groups/toys it would list only the Sub-Groups associated with the parent CategoryToys group that I made.
Is something like this possible? Maybe something for a future update?
Doing it this way, by making WordPress shortcodes and having them display on a created page would be so much more cleaner and neater than displaying all groups and subgroups on the same page.
- The topic ‘Hiding Sub-Groups from the Groups page?’ is closed to new replies.