Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin request: Removing “create a blog” options


elemsee
Participant

@elemsee

Yeah, my lack of PHP understanding is really getting in my way. I’m trying though.

Commenting out the following just renders the site blank:

echo '<li' . $alt . '>';
echo '<a href="' . $bp->loggedin_user->domain . $bp->blogs->slug . '/create-a-blog">' . __('Create a Blog!', 'buddypress') . '</a>';
echo '</li>';

https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/

This tutorial doesn’t tell me how to identify the lines that specifically refer to “create a blog,” nor would it tell me, obviously, where/how to remove the “create a blog” option which appears on the Member’s profile page.

The tutorial it refers to is the one I’ve been messing around with all day with no satisfying results. :/

There seems to be no where listed how to identify the items to comment out, as they must be so obvious to a more skilled person.

Keeping looking….

Skip to toolbar