I want to make a link that goes to wp-login.php for whatever domain I'm at now. Something like:
But I don't know how to write / format that properly.
What am I missing?
If it is for the same domain something like this would also suffice:
But if you have the Wordpress api available the wp_loginout() function is the best available option.