Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
5.8k views
in Q2A Core by
please how can i create a homepage for nonlogged user instead of the default activity page.i want to make is somehow like twitter i.e it has homepage for login without showing the website content.
Q2A version: 1.5

1 Answer

0 votes
by
Simple way to do is redirect them to login page using header location or similar.
by
I thought as much but how can i do the redirection as per logged in or nonlogged useri.e logged in users won't see the page.(it will be highly appreciated if you can help me with the code)
by
use conditional statement something like if(!qa_is_logged_in()) { your header redirection code } place this in function doctype() function before doctype starts at the very first line.
...