Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    You can remove the Visit random user/group by removing the links in the bp-core-adminbar.php file, found in /wp-content/plugins/buddypress/bp-core/ Its best to remove the lines of code:

    
    <li class="align-right" id="bp-adminbar-visitrandom-menu">
    <a href="#"></a>
    <ul class="random-list">
    <li><a href=&quot;root_domain . '/' . BP_MEMBERS_SLUG . '/?random-member' ?>"></a></li>
    
    <li class="alt"><a href=&quot;root_domain . '/' . $bp->groups->slug . '/?random-group' ?>"></a></li>
    
    <li><a href=&quot;root_domain . '/' . $bp->blogs->slug . '/?random-blog' ?>"></a></li>
    
    </ul>
    </li>
    

    This code appears between lines 221-237. Leave the opening function in place, just remove the code between, and including, the <li> and </li>. Save the file, reload the page and the visit links should now be gone.

    All the best,

    Shane.

    Hi. Thanks for your reply. I apologize if I wasn’t clear. What I mean is that I would like to add items to the CSS using existing CSS elements. For example, The CSS contains the item (div#item-header). I would like to add additional graphics to this such as quotation marks. Do I need to create a new item based on the original element. Say, something like (div#item-header.quote). If I do create a new CSS item based on an existing div element, do I also need to reference this in the html? I am also having difficulty finding the default buddypress template html.

    I hope this makes more sense and once again thanks for your assistance.

    All the best,

    Shane.

    Great. Thanks for your help. I am not quite sure how to apply a filter. I am using a child theme I have created using a heavily modified default theme CSS and my own custom graphics. Do you mean create new files, such as the above, and place them in my child theme folder, instead of simply modifying the core bp files?

    Kind regards,

    Shane.

    Thanks. The pastebin code did the trick. You can add the code to any section of your buddypress site and customize it to your liking.

    All the best,

    Shane.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar