Home › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Feature Requests › Categories with posts not showing on posts page
01/12/2020 at 11:23 #26675
The categories in the contentmenu containinig messages are not showing on the posts page.
Apart from not showing these categories I want to be able to control what categories show up here. Can you help out please?01/12/2020 at 17:17 #26700
- 1450 Posts
Thank you for buying our theme. We hope it will meet all your expectations! 🙂
I’m sorry, I don’t quite understand the first part of your issue.
If you want to choose specifically which categories are showing there, note that you can’t do it easily. This is standard behavior with our theme, I’m afraid.
As this is not breaking the page, changing this is considered customization work. Unfortunately, this is a service that we do not provide.
We only share snippet only to solve issues with our theme. Any further request for CSS snippets will have to be part of a defect that needs to be fixed urgently. No snippets will be shared otherwise.
If you want to go further with the customization of your website, we advise that you hire a freelancer to do it for you.
If you’re on a tight budget, we recommend you to require the services from Envato Studio freelancers (https://studio.envato.com/explore/websites-programming). This web platform gives you access to developers who have already experience with theme customizations, and for very competitive prices.
Thank you for your understanding.01/12/2020 at 18:07 #26703
YEah, I have been doing WordPress for about 9 years now so I’ll take care of the 2nd part of the question I guess with some functions code, but as per your answer how do you change the categories you want to see in the content menu on the blog(posts page)? I don’t see anywhere where I can change this. Where and how can I do this?02/12/2020 at 15:05 #26717
- 1450 Posts
Unfortunately, you can’t choose specifically which categories are showing there manually.
The only way to get what you want requires the use of php. If you want to do it anyway, I can send you the hook you will need to use and the function to edit. However, I won’t send you the exact snippet to use because, as I said in my previous answer, this is considered customization work. Unfortunately, this is a service that we do not provide.
I’m waiting for your feedback.
Cheers,03/12/2020 at 15:33 #26748
Yeah that’s pretty much standard anyway, yes if you can give the hook that is all I need thank you!03/12/2020 at 18:44 #26757
It would be an idea to provide an admin customisation feature for this simple setting so that others can benefit from choosing what is shown on this page as well.
I am sure that most people want to make that choice here.04/12/2020 at 13:44 #26787
- 1843 Posts
Thank you for your feedback.
The action you’re looking for is
gwangi_before_posts. The function
gwangi_grimlock_before_postsis defined and hooked to this action in the following files:
This function wraps another action:
grimlock_termswhich is responsible for dynamically generating the horizontal category navigation menu. You can pass very similar arguments to this action as you would do with
get_terms(https://developer.wordpress.org/reference/functions/get_terms/) as it is ultimately triggered to fetch taxonomy terms.
To add your custom code to your site, we recommend that you use the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/). If you have never activated this plugin, please read the following post:
Please finally note that I took the liberty to move this topic to our Feature Requests forum. As your idea could be a nice addition to our theme, we will implement this feature if other community members upvote your request.
We’ll keep you informed. Thank you very much for contributing to this theme!
Best regards,11/12/2020 at 09:26 #26956
That’s a really good reply thanks Olivier!!11/12/2020 at 11:05 #26970
You must be logged in to reply to this topic.