Redirect plugin no longer working
				
				
                
                    
                    
                
                
                    
						
                
                
                    I have upgraded my JobRoller to v1.6.3 today and I had a Wordpress plugin that would redirect users who aren't logged in to a coming soon page. Since the update, I am just getting "headers already sent" errors when I try to visit my website.
	
		
			
			
				Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxxxx/public_html/xxxxxxxxxxxxx.net/
wp-content/themes/jobroller/includes/theme-functions.php:1) in /home/xxxxxxx/public_html/xxxxxxxxxxxxx.net/
wp-content/plugins/beta/index.php on line 16
			
		
 
	 
 I have tried looking in theme-functions.php but I don't see where it is outputting anything so I'm assuming its in some other file. If your wondering what code I am using for the plugin, here it is:
	Code:
	add_action( 'template_redirect', 'template_redirect' );
	
	function template_redirect() {
		if ( !is_user_logged_in() ) {
			header('Location: /coming-soon/');
			exit();
		}
	}
 I was also wondering if there is an easier way to integrate my payment gateway (Plimus) into JobRoller without always having to edit the theme when its been updated. 
Thanks