Posted in: 张贴在:
575 views 575的意见
Please note: This page was originally written in English.请注意:此页中,原本以英文书写。
The original post can be viewed原来的文章可以看 here这里 . 。
Please note: This page was originally written in English.
The text has been translated using an online service such as Google or Babelfish.
The original post can be viewed here.
Wordpress Makeover Tutorial在WordPress面貌补习
By Hacking Wordpress or your theme, you can easily customize your Wordpress blog. 由黑客在WordPress或您的主题,您可以轻松地自定义您的WordPress博客。 I’ll show you my hacks so you can get some ideas how to make your blog more “your own”. 我会告诉您我的窍门,让您可以得到一些想法如何使您的博客更多的“自己” 。
You may have noticed recently that this blog underwent a bit of a makeover.您可能已经注意到,最近,这个博客经历了一个位一个面貌。 Things not only look better on top, but under the hood things are running better than ever - with some of the best SEO I could muster!事情不仅要看更好的顶端,但引擎盖下的东西,正在运行的更好的比以往任何时候都-与一些最好的徐我可以把握! I’m going to show you some quick things you can do to hack your own Wordpress theme into more of what you want.我会向您展示某些快速的东西,你可以做你自己的哈克在WordPress主题融入更多的你想要的。
Add a featured block to your homepage : I think every homepage should have a block with the featured areas of the site - the same way any store would have a flyer for the week or sales of the day. 添加一个特写座到您的主页 :我认为每一个网页,应该有一个座与精选的网站区域-同样的方式,任何商店将有一个传单,为周或销售的一天。 To do this you need to know some html and have a slight bit of graphics skill.为此,您需要了解一些HTML和有轻微位图形的技巧。 I only do this on my homepage and I added this block by going to “Presentation -> Theme Editor -> Main Index Template”.我只是这样做在我的主页上,我说,这座去“简报-> ”的主题编辑器- >“的主要指标模板”。
After these lines of code:之后,这些代码行:
<div id="wrapper"> <div id="content"> <div id="wrapper"> <div id="content"> I added a div with by block of featured links like this:我已将一学与块的功能链接是这样的:
<div id="featureblock"> <a href="/keyword-research-cheat-sheet/"><img src="/wp-content/images/featured-keyword-mistakes.gif" alt="featured keyword research mistakes" border="0"></a> <a href="/category/blog-seo/"><img src="/wp-content/images/featured-seo-mistakes.gif" alt="featured SEO mistakes" border="0"></a><br> <a href="/category/wordpress/"><img src="/wp-content/images/featured-wordpress-mistakes.gif" alt="featured wordpress mistakes" border="0"></a> <a href="/category/blog-promotion/"><img src="/wp-content/images/featured-traffic-building-mistakes.gif" alt="featured traffic building mistakes" border="0"></a><br> <a href="/category/monetization/"><img src="/wp-content/images/featured-monetization-mistakes.gif" alt="featured monetization mistakes" border="0"></a> <a href="/link-building-cheat-sheet/"><img src="/wp-content/images/featured-linkbuilding-mistakes.gif" alt="featured linkbuilding mistakes" border="0"></a> <a href="/series"><img src="/wp-content/images/featured-series.gif" alt="featured article series" border="0"></a> <a href="/series/tracking-your-blogs-progress"><img src="/wp-content/images/featured-tracking-blog-mistakes.gif" alt="article series tracking your blog progress" border="0"></a> <a href="/series/how-to-monetize-your-blog/"><img src="/wp-content/images/featured-monetize-mistakes.gif" alt="article series how to monetize your blog" border="0"></a> <a href="/series/watch-me-build-a-bans-niche-site-from-scratch"><img src="/wp-content/images/featured-bans-mistakes.gif" alt="watch me build a niche site" border="0"></a> </div> <div id="featureblock">的<a href="/keyword-research-cheat-sheet/"> <国际管理集团钢骨混凝土= “ / wp-content/images/featured-keyword-mistakes.gif ”按Alt = “精选关键字研究错误的“边境= ” 0 “ > < /一>的<a href="/category/blog-seo/"> <国际管理集团钢骨混凝土= ” / wp-content/images/featured-seo-mistakes.gif “按Alt = ”特写徐失误, “边境= ” 0 “ > < /一> <br>的<a href="/category/wordpress/"> <国际管理集团钢骨混凝土= ” / wp-content/images/featured-wordpress-mistakes.gif “按Alt = “精选的WordPress的错误, ”边境= “ 0 ” > < /一>的<a href="/category/blog-promotion/"> <国际管理集团钢骨混凝土= “ / wp-content/images/featured-traffic-building-mistakes.gif “按Alt = ”特写交通建设的错误, “边境= ” 0 “ > < /一> <br>的<a href="/category/monetization/"> <国际管理集团钢骨混凝土= ” / wp-content/images/featured-monetization- mistakes.gif “按Alt = ”精选货币的错误, “边境= ” 0 “ > < /一>的<a href="/link-building-cheat-sheet/"> <国际管理集团钢骨混凝土= ” / wp-content/images/featured - linkbuilding - mistakes.gif “按Alt = ”精选linkbuilding错误, “边境= ” 0 “ > < /一>的<a href="/series"> <国际管理集团钢骨混凝土= ” / wp-content/images/featured-series.gif “按Alt = ”精选文章系列“边境= ” 0 “ > < /一>的<a href="/series/tracking-your-blogs-progress"> <国际管理集团钢骨混凝土= ” / wp-content/images/featured-tracking -博客- mistakes.gif “按Alt = ”第一系列跟踪您的博客的进展, “边境= ” 0 “ > < /一>的<a href="/series/how-to-monetize-your-blog/"> <国际管理集团钢骨混凝土= “ / wp-content/images/featured-monetize-mistakes.gif ”按Alt = “一系列的文章如何赚钱,您的博客, ”边境= “ 0 ” > < /一> <一方式href = “ / series/watch-me-建立一禁令-利基市场的网站从-从头开始“ > <国际管理集团钢骨混凝土= ” / wp-content/images/featured-bans-mistakes.gif “按Alt = ”观赏我建立一个合适的网站, “边境= ” 0 “ > < /一> < /学> If you’re wondering why that code only shows the links and text graphics and not the box and frame, it’s because I made it the background in my style.css like this:如果您不知道自己为什么代码只显示链接和文本图形,而不是框和框架,这是因为我提出它的背景,在我的style.css是这样的:
#featureblock { width: 495px; height: 210px; padding-left: 20px; padding-top: 45px; background: #FFF url('/wp-content/images/featured-crumple.jpg') no-repeat; } # featureblock (宽度: 495px ;高度: 210px ;填充左: 20px ;填充顶: 45px ;背景: # fff网址( ' / wp-content/images/featured-crumple.jpg ' )不重复; ) Hopefully that gives you some idea of how you can a featured block to your blog homepage.希望让您的一些想法如何,您可以一特写座到您的博客网页。
Change your Wordpress Theme’s Color : This was a really quick fix. 改变您的WordPress主题的颜色 :这是一个真正的快速解决。 I like the layout of my blog, and this theme (Prosense) is great too.我喜欢的布局,我的博客,和这个主题( prosense )是伟大的太。 I was just tired of brown, so I went into my themes images folder and found the 2 graphics that make up the background.我只是厌倦了布朗,所以我走进我的主题图像文件夹,并发现2图形弥补的背景。 I just took them into a graphics editor (Fireworks) and used the paintbucket to replace the colors.我只是把他们带进一个图形编辑器(烟花爆竹) ,并使用paintbucket ,以取代颜色。 Then I re-uploaded them to the server and “voila” we have new blog colors!然后我重新上载他们到服务器和“ voila ”我们有新的博客颜色!
Change your Theme’s Headings : By updating your style.css file in “Presentation -> Theme Editor -> style.css” you can quickly give your post and / or your sidebar headings a new look and feel. 变更您的主题的标题 :通过更新您的style.css文件,在“演示-> ”的主题编辑器- >“ s t yle.css”你可以快速地提供您的帖子和/或您的工具栏的标题,一个新的外观和感觉。 A heading or “H1″ (H2, H3, etc.) tag is an HTML tag that can be “styled”.一个标题或“的H1 ” (的H2 , H3的,等等)标记是HTML标记,可以“风格” 。 It can have a border, a background color, a background image, and you can control the font face, bold, italic, link, link colors, and more.它可以有一个边界,背景颜色,背景图片,您可以控制字体,粗体,斜体,链接,链接的颜色,和更多的。 All Wordpress blogs have the same bland plain heading tags - spice yours up!所有WordPress Blogs的有同样的平淡平原的标题标签-香料你了! Your theme’s stylesheet may be a bit different, but I’m going to give you the code I wrote to change my style to get you started:您的主题的样式表可能有点不同,但我要去给你的代码我写信给改变我的风格让您可以开始使用:
.post h2 { background: #FFC125 url('/wp-content/images/sharpie-star.gif') left no-repeat; border: 1px solid; border-color: #000000; padding-left: 25px; } 。邮政的H2 (背景: # ffc125网址( ' / wp-content/images/sharpie-star.gif ' )没有留下重复;边境: 1px固体;边境颜色: # 000000 ;填充左: 25px ; ) If you don’t know HTML - or CSS stylesheets, I would recommend reading up over at如果您不知道的HTML -或C SS样式表,我会建议读了以上 W3Schools.com w3schools.com - they have some of the best (free) HTML and CSS tutorials on the web. -他们有一些最好的(免费) , H TML, C SS等教程在网站上。
Give Your Wordpress Categories Descriptions : I gave each and every one of my Wordpress Categories a meaningful description to be used for the category page(s) meta description for search indexing purposes: 让您的WordPress分类说明 :我给每一个我的WordPress A类有意义的描述被用来类别网页( )中继描述为搜寻索引的目的有二:

Why?为什么? I use the我用 wpSEO plugin wpseo插件 and it allows you to assign various options for the meta description field of any page in a Wordpress site.和它允许你指定的各种选择的中继描述领域的任何网页在一个网站的WordPress 。 By default Wordpress category pages don’t have a meta description so the search crawler will pickup the words of the first post excerpt on the page.默认情况下,在WordPress类的页面没有一个中继描述,使搜索crawler将回升的话后首次摘录在网页上。 This causes “duplicate content” and can get you a google penalty.这会导致“重复的内容” ,可以让您的Google的刑罚。 At best, every single category page you have is “wasted” in the sense that it will NOT get any good indexing in the search engines.在最好的,每一个单一类别的网页中,您已是“浪费”的意识,它将得不到任何良好的索引,在搜索引擎。

As you can see I’ve set mine to make the meta description tag for my Wordpress category pages to be the “Category Description” I wrote by going to “Manage -> Categories” in my Dashboard and editing them one by one.你可以看到我已经设置地雷,使中继描述标记为我的WordPress类的页面以“类别的说明: ”我写去“管理-> ”分类“在我的控制台和编辑他们一个又一个。 These will get me a couple dozen more indexed pages in SERP’s!这些将得到我一对夫妇十多更多索引的网页在serp的!
Create Separate Wordpress Category Template Theme Pages : This is a goal I set for myself when I wrote 创建单独的WordPress类主题模板的页面 :这是一个目标,我已为自己时,我写的 Better SEO and $$$ with Wordpress Category Templates 更好的徐和元元元与在WordPress类模板 last month.上个月。 At the time I only created a few of these category template pages and didn’t follow through with creating them for every category in my blog.在当时的我只是创造了数,这些类别的模板页面,并没有跟进,通过与他们创造的每类在我的博客。 I should have, but did it today when I updated all the category descriptions.我应该有,但今天当我更新的所有类别的说明。 Basically what you’re doing here is making a separate category template page for every Wordpress category you have so you can write original content at the top of each page.基本上您在这里做的是使一个单独的类别模板页的每一个类别的WordPress您有这么,你也可以撰写的原始内容,在上方的每一页。 By doing this you are making sure the page will be indexed well and you won’t get dinged by google for “duplicate content”.这样做,你正在确认该网页将被编入索引,以及和您将不会得到dinged是由Google “重复的内容” 。
This also gives you the opportunity to monetize certain categories in special ways (with special offers) before or after the excerpted posts, you could even make unique graphics for the top of each category page.这也让您有机会赚钱的某些类别的特殊方法(特别优惠)之前或之后摘录的职位,你甚至可以作出独特的图形为上方的每个类别页。 The possibilities are endless!可能性是无穷的!
Wordpress Hacks of the past : These aren’t hacks as much as good WP plugins, but I’ve also modified my theme by adding things I felt were necessary. 在WordPress骇客的过去 :这些都不是骇客高达良好的可湿性粉剂插件,但我还修改了我的主题,加入的东西,我觉得有必要。 Like breadcrumbs on every page, post (count) views, post voting, “print this post”, and Feedburner “flare”.面包一样,在每个网页上,张贴(计数)的意见,投票后, “打印此邮报” ,并feedburner “光晕” 。 Oh - I almost forgot the most important thing - the “related posts”.哦-我差点忘了最重要的一件事- “相关文章”。 To find out how to get any of these plugins just visit my要了解如何获得任何这些插件只需访问我的 Wordpress Plugins Used wordpress插件使用 page!页!
I hope this gives you some ideas for giving your own wordpress blog a makeover!我希望这将让您的一些想法,让自己的WordPress所博客1面貌! If you happen to make changes, come back here and let us know what you did and what worked (and what didn’t!).如果您发生作出改变,回来这里,并让我们知道你做什么工作, (和什么没有! ) 。 Comments always help everyone by sharing even more information.评论总是帮助大家分享,甚至更多的信息。






















February 23rd, 2008 at 11:56 am 2008年2月23日在上午11时56分
i like it.我喜欢它。 very clean and bright template很干净明亮的范本
steve’s last blog post.. 史蒂夫的最后的博客帖子.. Affiliate Marketing 联属网络营销