WordPress.org

Support

Support » Plugins and Hacks » Group default view to group blog ?

Group default view to group blog ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • jefftavernier,
    Yes. in yourr wp-content/plugins folder create a file called bp-custom.php

    <?php
    // hacks and mods will go here
     define( 'BP_GROUPS_DEFAULT_EXTENSION', 'blog' );
    ?>

    Put that line of code in there. The downside is that if you have a group with no blog, you will get a 404 error. My PHP is not very good so if anyone know a way to check for the existence of blog and then default to activity or something if one doesn’t exist, that’d be awesome.

    Thanks but doesn’t work for me ! It just put me the line code top of my home page. Some idea ? Thank you very much !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Group default view to group blog ?’ is closed to new replies.