I made a button for submitting an article : http://www.articlespedia.org and i wish to do the following when i click it:
If i am not logged in then it should redirect to the following page: http://www.articlespedia.org/author, else should go the http://www.articlespedia.org/wp-admin/post-new.php. How am i going to do this? I am a noob in php.