Introduction
By default, BuddyBoss does not provide a built-in option to hide the author name and published date from the blog directory. However, you can achieve this using a simple CSS workaround to remove the author avatar and related metadata from the blog listing layout.
Custom Workaround
Follow the steps below to hide the author name and published date from the blog directory:
- Go to BuddyBoss > Theme Options
- Under Custom Codes, enable CSS
- Append the following code:
.bb-user-avatar-wrap {
display: none !important;
}- Save changes.
Troubleshooting and FAQs
Q: What exactly does this CSS hide?
A: This hides the author avatar container, which also removes the visible author name and published date from the blog directory layout.
Q: Will this affect single blog posts?
A: No. This CSS only affects the blog directory or listing pages, not individual blog post pages.
Q: The author name or date is still visible. What should I do?
A: Clear your site cache and browser cache. Also check if your theme or child theme is using additional custom CSS that overrides this rule.
Q: Does this apply to both desktop and mobile views?
A: Yes. The CSS applies across all screen sizes unless overridden by another media query.
Q: The code is not working on my site. What’s next?
A: If the code is not working, submit a ticket to the support team for further assistance.