[buddypress-dev] How to display the blog as default

Brian B brian.brey at nxtstudios.com
Wed Aug 20 18:25:47 GMT 2008


Hi Robert, 

You can change the default page by opening home.php in the themes folder and
change the code to:

<?php // Do we want the blog or profile as home? Check will go here. if (
$current_component == 'blog' ) :    include_once (TEMPLATEPATH .
'/blog.php'); else :    include_once (TEMPLATEPATH . '/blog.php'); endif; ?>

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/buddypress-dev/attachments/20080820/34f0cb34/attachment.htm


More information about the buddypress-dev mailing list