how to hide ask widget for non logged in user or change error message text or redirect them to login

4.43K viewsIssues
0

Issues:

how to hide ask question widget on sidebar for non logged in users or change error message text when user click on post question or redirect them to login page so question get posted after they login or signup.

 

suggestions:

1) Hide tag on quick ask widget.

2) show button pop up to ask question.

3) Error message to change as you need to login or signup to ask question.

— present error message is that you do not have permission

0

Hello,
Override ask widget and then check using:
is_user_logged_in()

edited comment on answer

Thanks for your reply..can you please explain little more..so i can do exactly.

You are viewing 1 out of 1 answers, click here to view all answers.