制作WP模板
我有一个 WordPress 博客,我想自己进行定制设计...
我不想花一大笔钱让公司为我制作它
为什么模板被分成一堆不同的文件?
您知道哪些关于如何制作 wp 主题/模板的教程?
谢谢
-Techy
I have a wordpress blog and I would like to make a custom design myself...
I dont want to pay a bunch of money for a company to make it for me
Why are the templates broken into a bunch of different files?
What are some tutorials you know of on how to make wp themes/templates?
Thanks
-Techy
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
谷歌搜索1分钟:
所以您想要创建 WordPress主题是吗?
另外:Wordpress 模板可能被分成多个文件,因为主题的一部分在多个页面上重复使用。 例如,如果您想更改侧边栏的外观,则只需在一次位置进行更改,而不是在主页、存档和详细信息页面上进行更改。
很多网站都这样做,这是计算机软件的一个主题,称为“不要重复自己”(在维基百科上查找)。
1 minute of googling:
So you want to create WordPress themes huh?
Also: Word press templates are probably split into multiple files because parts of the theme are re-used on multiple pages. For example, if you want to change how the side bar looks you only have to change it in once place instead of on the main page, archive, and detail pages.
A lot of websites do this, it is a theme in computer software all together, it's called Don't Repeat Yourself (look it up on wiki).
另一种选择是使用主题框架。 它成为您的主主题,然后您创建一个具有您想要的风格的儿童主题。 我想说的是,如果您要学习如何从头开始创建主题,请学习如何使用主题框架。 它们是您可以作为起点的高质量基础,更易于使用,并且会一直存在。 更不用说,一旦您掌握了构建子主题的窍门,构建第二个完全不同的主题将比从头开始另一个主题快得多。
我更喜欢 HYBRID,但是这里有主要主题框架的比较:
http://www.wptavern.com/comparisons- Between-most-流行主题框架,
http://www.smashingmagazine.com/2009/05 /27/wordpress-theme-development-frameworks/
如果您要从头开始构建它,这里是 PSD 起点:
http://www.area381.com/2007/07/10 /wordpress-psd-framework/
another option is to use a theme framework. it becomes your main theme, and you create a CHILD THEME, with your desired style. I'd say that, if you are going to learn how to create a theme from scratch, learn how to work with a theme framework instead. They are a high quality base you can use as a starting point, are easier to work with, and are here to stay. Not to mention that once you get the hang of building child themes, building a second completely different theme will be much faster than starting another theme from scratch.
i prefer HYBRID, but there are comparisons of the main theme frameworks here:
http://www.wptavern.com/comparisons-between-most-popular-theme-frameworks,
http://www.smashingmagazine.com/2009/05/27/wordpress-theme-development-frameworks/
if you are going to build it from scratch, here is a PSD starting point:
http://www.area381.com/2007/07/10/wordpress-psd-framework/
如果您在 PHP、HTML 和 CSS 方面有经验,那么创建您自己的 WP 模板非常容易。
开始使用
你想创建 WordPress 主题吗?
使用 Wordpress 和 jQuery 构建基本报纸样式布局
我发现这两个教程是构建您自己的定制模板的最佳资源。
If you're experienced in PHP, HTML and CSS it's quite easy to create your own WP Templates
To get you started
So you want to create WordPress themes huh?
Build a Basic Newspaper style layout with Wordpress and jQuery
I found both tutorials to be the best resources to build your own customized template.
我想指出 CSS 技巧 中的 5 个视频,它们帮助我创建了我的 < a href="http://www.pato-laranja.com" rel="nofollow noreferrer">第一个 WP 主题。 然后还有 2 个关于该主题的内容。
I would like to point 5 videos from CSS Tricks that helped me creating my 1st WP theme. And then 2 more about the subject.