Reply To: Login sidebar

Home Forums Support Login sidebar Reply To: Login sidebar

Home Forums Support Login sidebar Reply To: Login sidebar

#98381
Fabian Cosmann

Hi Tom,

I will have a deeper look to the membership plugins.

I tried to build the redirect on my own with this code in a GP child theme template:

<?php
/*
Template Name: Some_example
*/
?>
<?php if (!is_user_logged_in())
{
header(“Location: my_own_login_page_with_sidebar”);
}
else
{
get_header();
//page code
get_footer();
}?>

But I get an error message:

Cannot modify header information – headers already sent

🙁