Forum Moderators: coopster
<?php
$mysitename = get_bloginfo('name');
$mysitefeed = get_bloginfo('rss2_url');
if (get_option('greeting') || get_option('welcomemessage')) {
if (get_option('greeting')) {
echo "<h2>" . get_option('greeting') . "</h2>";
}
if (get_option('welcomemessage')) {
echo "<p>" . get_option('welcomemessage') . "</p>";
}
} else {
echo "<h2>Welcome to $mysitename!</h2><p>You can now login.</p><p>".wp_register()."</p><p>".wp_login_out()."</p>";
}
?>
[edited by: jatar_k at 5:06 pm (utc) on Mar 8, 2010]
[edit reason] no urls thanks [/edit]