Thank you ralph for helping me as always, wished i was advance like you, i thought on this, and my little brain came up to this:How i wish i would know programming, but i know just some base code. In my mind i would do this:

<p class="buttonn"><a href="http://www.articlespedia.org/"></a></p> this is the button. After i click it, i believe that this code will enter in action, to do this: if(!is_user_logged_in() && $pagenow != 'wp-login.php') { wp_redirect( '/authors', 302 ); }

The problem is that i don't know how to write this and if it's possible to write it side by side on the button. Sorry for being a noob, still got to learn many things.

ralphm
—
2012-06-25T11:11:19Z —
#4

imediazone said:

wished i was advance like you ... Sorry for being a noob ...

Don't worry! I'm a noob too. I'll move this to the WordPress forum, because I'm not familiar with WordPress. (I just Googled what you were trying to do.)

imediazone
—
2012-06-25T11:20:48Z —
#5

ralph_m said:

Don't worry! I'm a noob too. I'll move this to the WordPress forum, because I'm not familiar with WordPress. (I just Googled what you were trying to do.)

Ok, thanks anyway, i posted here because you helped me many times

imediazone
—
2012-06-25T11:40:59Z —
#6

Problem solved. I did not know that when you are logged in, the register page will show the correct message, i needed to add <p class="buttonn"><a href="http://www.articlespedia.org/authors"></a></p> and it does everything automatically.

imediazone
—
2012-06-25T12:07:09Z —
#7

One more thing" When the use is logged in and clicks the button, it sends him the following message "Thank you for registering". Instead of this message i want to be redirected to another page. i located the code, and tried the following: