boonebgorges / buddypress-docs-wiki

An add-on for BuddyPress Docs that creates a sitewide "Wiki" section alongside your Docs
9 stars 3 forks source link

change basic title #11

Open merolino opened 11 years ago

merolino commented 11 years ago

Hi,

I'm new to commons in a box and french. I have activate the wiki plugin all seems to work fine but the page title. I'd like to have 'Wiki - my website" instead of "Buddypress Docs - my website"

in the bpdw.php there is this function

function bpdw_filter_page_title( $title ) { if ( bpdw_is_wiki() ) { $title = str_replace( ( 'BuddyPress Docs', 'bp-docs' ), ( 'Wiki', 'bp-docs-wiki' ), $title ); } return $title; }

but it won't work… Can you help me to fix this thing ? Thanks !

Tristan