<a href="” rel=”bookmark” title=” “>
<?php printf( __( '%1$s in %2$s‘, ‘buddypress’ ), get_the_date(), get_the_category_list( ‘, ‘ ) ); ?>
‘
‘ . __( ‘Pages: ‘, ‘buddypress’ ), ‘after’ => ‘
‘, ‘next_or_number’ => ‘number’ ) ); ?>
I’m having problem regarding registration process in buddypress.
I am building index page now. what i want to do is that if user is not logged in, i want to show login page and registration page together. However, the problem is that if i do like this
require_once( get_stylesheet_directory() . ‘/registration/register.php’ );
I only can see “create an account” . I don’t want to click this when i want to sign up, but i want
login page and signup page are put together. Is this possible?
Then, please give some advice.
I appreciate it.
This code is what i have tried.
`
<div id="post-” >
<?php printf( __( '%1$s in %2$s‘, ‘buddypress’ ), get_the_date(), get_the_category_list( ‘, ‘ ) ); ?>
‘
‘ . __( ‘Pages: ‘, ‘buddypress’ ), ‘after’ => ‘
‘, ‘next_or_number’ => ‘number’ ) ); ?>
<?php } else {
wp_login_form();
require_once( get_stylesheet_directory() . ‘/registration/register.php’ );
}
?>
`