- Posts: 5
COMMUNITY FORUM
Hiding a child category in a module
- alex goodey
- Topic Author
- Offline
- New Member
Less
More
10 years 10 months ago #121696
by alex goodey
Hiding a child category in a module was created by alex goodey
I've inherited a site which has a module on the right hand side listing blogs, each of these is a sub category of a parent category called 'blogs'
The module is set to display every child of 'blogs' but I can't de-select one particular one which I want to hide.
I would normally just unpublish the blog but we'd like the content to stay online as it's getting great direct traffic from SEO, however that staff member has left and there was next to no traffic going to it from this module.
Where is the setting to hide that sub-category? I've looked in the category but can't see where to Hide it.
www.fespa.com/
The module is set to display every child of 'blogs' but I can't de-select one particular one which I want to hide.
I would normally just unpublish the blog but we'd like the content to stay online as it's getting great direct traffic from SEO, however that staff member has left and there was next to no traffic going to it from this module.
Where is the setting to hide that sub-category? I've looked in the category but can't see where to Hide it.
www.fespa.com/
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 10 months ago #121697
by Yiota
Replied by Yiota on topic Re: Hiding a child category in a module
Since you are referring to a module you will have to look under the Modules list. Just locate the Blogs module and filter the categories you want it to show.
Please Log in or Create an account to join the conversation.
- alex goodey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 10 months ago #121698
by alex goodey
Replied by alex goodey on topic Re: Hiding a child category in a module
"Categories List (Menu) Settings" is set to the parent category - "Blogs"
I've checked the module assignments and they don't seem to match the list of child categories being shown, but they do correspond to where the module is displayed.
Using K2 v 2.6.7
I've checked the module assignments and they don't seem to match the list of child categories being shown, but they do correspond to where the module is displayed.
Using K2 v 2.6.7
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 10 months ago #121699
by Yiota
Replied by Yiota on topic Re: Hiding a child category in a module
Let's short things out. You need to eliminate a sub-category from a module list, correct?
Is the module "Browse blogs" the one you need to change its items?
Is the module "Browse blogs" the one you need to change its items?
Please Log in or Create an account to join the conversation.
- alex goodey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 10 months ago #121700
by alex goodey
Replied by alex goodey on topic Re: Hiding a child category in a module
Yes and yes
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 10 months ago #121701
by Yiota
Replied by Yiota on topic Re: Hiding a child category in a module
OK. You have to go to Extensions -> Module Manager.
Locate Browse blogs module and through the Category filters under the Basic Options just select the categories you want it to fetch items from.
Locate Browse blogs module and through the Category filters under the Basic Options just select the categories you want it to fetch items from.
Please Log in or Create an account to join the conversation.
- alex goodey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 10 months ago #121702
by alex goodey
Replied by alex goodey on topic Re: Hiding a child category in a module
Under Basic options, I've got the following headings:
Archive settings
Authors List Settings
Calendar settings
Breadcrumbs settings
Categories List (Menu) Settings
Category Select Box Settings
Search Box Settings
Tag Cloud Settings
and
Custom Code Settings
Sorry, I still can't see where I should filter this? (I am a superadmin)
Sorry, I still can't see where I should filter this? (I am a superadmin)
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 10 months ago #121703
by Yiota
Replied by Yiota on topic Re: Hiding a child category in a module
Oh, now I get it. The module you are using is the K2 Tools -> Categories List (Menu).
I'm afraid that you cannot set to leave a subcategory out through this module.
You can do it with css through.
Let's say that the sub-category you need to remove is the "LightWords Blog".
This sub-category is No7 in the list. Open your template's css file and add
.k2CategoriesListBlock ul li:nth-child(7) {display:none;}
I'm afraid that you cannot set to leave a subcategory out through this module.
You can do it with css through.
Let's say that the sub-category you need to remove is the "LightWords Blog".
This sub-category is No7 in the list. Open your template's css file and add
.k2CategoriesListBlock ul li:nth-child(7) {display:none;}
Please Log in or Create an account to join the conversation.
- alex goodey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 10 months ago #121704
by alex goodey
Replied by alex goodey on topic SOLVED: Hiding a child category in a module
Awesome
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 10 months ago #121705
by Yiota
Replied by Yiota on topic Re: SOLVED: Hiding a child category in a module
You are welcome :)
Please Log in or Create an account to join the conversation.