在你的WP主题上放一个登录框

Drupal或者Joomla这样的CMS不同,Wordpress的用户登录是转到单独的一个页面上,如果你想换个方式,像Drupal一样直接在首页上完成登录,那么需要在theme上添加一个登录框,小土豆(small potato)一个帖子中介绍了这种方法并且放出了相关代码,你只需要将这段代码拷贝/粘贴到自己theme的sidebar上即可,如果你想要不同的样式,则需要在CSS中做相应的修改。

小土豆的代码请到他的帖子中下载 :!:

Tags: , , ,

4 Responses to “在你的WP主题上放一个登录框”

  1. Small Potato Says:

    Thank you for featuring my tutorial, but please don’t link directly to my files.

  2. Zhao QL Says:

    [quote comment="3607"]Thank you for featuring my tutorial, but please don’t link directly to my files.[/quote]
    Sorry,I have deleted these links to your files.

  3. Small Potato Says:

    Thanks Zhao :grin:

  4. Zhao QL Says:

    :wink:

Leave a Reply