0

I have been looking for tutorials on how to convert my site into wordpress. Right now I have a site created using html/css/javascript and it is not yet uploaded to the web. I am a beginner and someone told me to learning how to convert it to wordpress was good practice. But the tutorials I found only showed how to convert css and html. But none mention javascript, can I convert this as well as the others? And do I have to publish my site first or can I make it for wordpress locally, and then put it on the web? Thanks folks!

4

1 回答 1

1

要制作一个运行良好的 Wordpress 主题,您应该更好地了解 Wordpress 项目。

基本上,您的目标是创建一个坚实的主题。可以将主题导入 wordpress 项目,它应该包含以下文件:

  • 索引.php
  • 评论.php
  • 页脚.php
  • 头文件.php
  • 边栏.php
  • 样式.css

    Location: wp-content/themes/your_theme 
    

您可以使用更少甚至更多的文件。这些是主要文件,但包含 javascrpt/jquery 也没有问题。

请在这里阅读更多

于 2012-11-27T22:08:38.873 回答