Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
428 views
in Q2A Core by
I want to use some contents for just guest, not member. whats the variable available for this.

i mean, <if> show for guest xxxxx <else> yyyyyy </if>
Q2A version: 1.8.5

1 Answer

+7 votes
by

Something like this:

if (qa_is_logged_in()) {
    echo 'Hello ' . qa_get_logged_in_handle();
} else {
    echo 'Hi random person from the Internet';
}
by
thank you pupi1985
...