怎样修改WordPress的注册页面

首先,先把第6行的字给改成自己的内容,然后,把内容贴到Functions.php文件中,上传,刷新,就可以了!不想用的时候,就把它给去除掉吧。

1
2
3
4
5
6
7
8
9
10
add_action('register_form', 'register_message');
function register_message() {
    $html = '
        <div style="margin:10px 0;border:1px solid #e5e5e5;padding:10px">
            <p style="margin:5px 0;">
            欢迎注册Wordpress每日短代码
            </p>
        </div>';
    echo $html;
}
posted @ 2012-12-20 17:05  leeker  阅读(3987)  评论(0编辑  收藏  举报