Replies
- This reply has been marked as private.
- This reply has been marked as private.
- This reply has been marked as private.
Hi Brajesh, thank you for the clarification on this, you say I can completely hide them from the template, is that with css, you mean?
It has proven to be not an easy task to delete all tabs and navs, can you provide me with an over all class if such exist, so far I have hiding the tabs and navs, using these classes, but sub navs’s stil display on mobile.
div#item-nav {
display: none;
}#subnav {
display: none;
}.button-nav {
display: none;
}Regards
Carsten- calu on May 14, 2020 at 7:46 am in reply to: [Resolved] Code snippet which link both the avatar and the user name to the conversation #29823
Hej Brajesh, I see, thanks for clarifying.
Regards
Carsten Hi Brajesh, what you are suggesting makes good sense, thank you.
Regards
CarstenHmm, ran into an issue, the dropdown is gone, but there must be a syntax error some were, or I positioned the remove action wrong, because it breaks the messages module?
<div class="messages-options-nav"> <?php // remove the action remove_action( 'bp_messages_bulk_management_dropdown', 'action_bp_messages_bulk_management_dropdown', 10, 0 ); ?> </div><!-- .messages-options-nav --> <?php wp_nonce_field( 'messages_bulk_nonce', 'messages_bulk_nonce' ); ?> </form> <?php
- This reply was modified 4 years, 6 months ago by calu.
Hi Brajesh, thank you very much for the clarification and help on the subject, it’s working great.
I want to overwrite other objects in the templates eg. the thread star, what is the easiest way to look up the corresponding template to an object, are these listed somewhere, or do I just have to look them up?
Regards
CarstenHi Brajesh, no issues, I was not sure which file I should overwrite.
Just to clarify, then you never or can not?, overwrite
buddypress, bp-messages, eg. bp-messages-star.php,
but always via template, bp-templates eg. bp-legacy, buddypress, members, single, messages.php – or single, messages, message.php or messages-loop.php?
When you overwrite a file to your child theme, like messages.php, it does not get overwritten, but that means also, that it does not get updated neither?
Regards
CarstenHi Brajesh, sorry for not being clear enough, my goal is to remove certain elements like the message select drop down and message star options. I can hide it with css, but would prefer to remove it instead.