WPMS Theme Login

跳转至: 导航搜索

To ensure your theme shows an easy login and register:

Edit your theme's header.php file to include the register and login/logout

Note: The register link is only displayed if 'anyone can register' under the options section of the admin area is enabled.

(see the source of the page)

 <div id="rap">
 <div id="header">
        <ul id="topnav">
                <li><a href="http://blogs.sitename.com/">blogs.sitename.com</a> | </li>
                <li><?php wp_register(' ' , ' '); ?> | </li>
                <li><?php wp_loginout(); ?> | </li>