How to edit Wordpress theme files in a full-featured editor?

when you design a webpage using just HTML, CSS & JS, you can use many features in HTML editors, in NetBeans, for example, the ending tag is highlighted when you hover over the starting tag, and such things. But after converting your webpage to a wordpress theme, every single file breaks into few files (the starting tag of a div may be in the header.php and the ending in footer.php), css and js file addresses change, ... so the editor can not perform well, and not only many features may be disabled, but also it thinks you have some syntax errors in your files, simply because an editor can't run your php code and see the result. I myself invented a very slow and not so standard method! Firs I create an index.php from the very first index.HTML webpage. Every time I want to edit my theme, I open it and work on that, then break it to the Wordpress theme files. In my index.php, I use some codes like: And some HTML comments like these: ... this part is meant to be copied to header.php ... ...
When editing a Wordpress theme I don't bother with an IDE, I just use a Text editor like Sublime Text2 and then run a local web server (WAMP) so I can check the site locally.

以上就是How to edit Wordpress theme files in a full-featured editor?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏