Skip to content

Posts tagged ‘WordPress MU’

3
Mar

Disable your BuddyBar

Somtimes you do not want the buddybar to display on your site. You can hide it with css but WordPress will still process all the info for it.

Add the following line to your functions.php file to disable the BuddyBar

define ('BP_DISABLE_ADMIN_BAR', false);

Popularity: 2% [?]

17
Feb

Define you BuddyPress Slugs

Add these lines of code to your wp-config.php file to rename the slugs of the buddypress components ( these are for the members slug and the groups slug )

define( 'BP_GROUPS_SLUG', 'companies' );
define( 'BP_MEMBERS_SLUG', 'volunteers' );

Popularity: 2% [?]

5
Oct

Running quick tags outside of the loop

For anyone who has had the same frustration I have where you need tocall a function from a plugin, but they only have a quick tag you insert into the post/page.

Solution

<?php echo apply_filters(“the_content”,”[Insert Your Quick Tag Here]“); ?>

This will apply the filter that is usually applied when a post is queried, and display the quick tag as it would normall if you inserted via the backend.

Popularity: 2% [?]