Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Feature Requests › Categories with posts not showing on posts page
- This topic has 9 replies, 3 voices, and was last updated 1 year, 10 months ago by Olivier.
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?December 1, 2020 at 11:23 #26675
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.December 1, 2020 at 17:17 #26700
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?December 1, 2020 at 18:07 #26703
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,December 2, 2020 at 15:05 #26717
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,December 4, 2020 at 13:44 #26787
Thank you for sharing this idea with our community.
Your idea would have been a nice addition to our theme but unfortunately, this feature request hasn’t received any upvote from other community members in months. Sadly, we have to decline it as we are trying to keep this forum tidy.
We really appreciate your enthusiasm when using our products. Feel free to keep on sharing other ideas that might be integrated in the future.
Best regards,April 30, 2021 at 15:52 #31138
The topic ‘Categories with posts not showing on posts page’ is closed to new replies.