WordPress:Writing Posts

来自站长百科
Fludlen讨论 | 贡献2008年3月28日 (五) 14:58的版本
跳转至: 导航、​ 搜索
可打印版不再被支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认的打印功能。

Well, you've done it! You've successfully installed the best personal publishing tool on the Internet. You're ready to start sharing your thoughts and ideas with the world. Since this is the purpose of WordPress, it's time to get to work sharing your words with others. It's time to start writing.

哦,你成功了!你成功地在因特网上安装了最好的个人出版工具。你要准备与世界分享你的思想与观点。既然这是WordPress的目的,你就要着手与他人分享你的文章了。是开始写博客的时间了。

Write Post

写文章

The process of entering your writing in WordPress is easy. 将你的文章输进WordPress的过程非常简单。

  1. Log in to your WordPress Administration Panel.
  2. 登录到你的 WordPress 管理面板.
  1. Choose the Write Panel.
  2. 选择面板。
  1. Start filling in the blanks.
  2. 开始填写空白处。
  3. When you are ready, click Publish.
  4. 当你写好了,点击发表

That's it. You expected more? Okay, we have more details below, but from here, you can probably figure it out for yourself.

就是这么简单。你期待更多?好吧,我们下面有更详细的,但这儿的,你可能自己能揣摩。

Writing a Post - Step by Step

写一篇文章 – 一步步的

There is no right or wrong order to writing a post in WordPress, but we'll start from the top and give you the step-by-step details for filling in each of the blanks on the Write Post panel. [[WordPress:|right|thumb|WordPress Admin Options Writing Panel]] WordPress has two post editing modes, basic and advanced. Typically, the basic mode is the default for writing new posts, but that can be changed with the When starting a post option in the Writing Options SubPanel of the Options Administration Panel. We will take you first through the basic post screen and then the advanced.

在WordPress上写文章,没有正确与错误顺序之分。但我们要从源头开始,给你一步一步的关于在写文章面板上填写每个空白地方的详细指导。

[[WordPress:|right|thumb|WordPress 管理 选项 写面板]]

WordPress有两个文章编辑模式,基本的高级的. 通常情况下,写新文章的默认模式是基本模式,但是通过在管理面板选项中的写作 选项 子面板上的选项开始一篇文章时,可以更改默认的基本模式。我们要先带你去基本的文章界面,然后再去高级的文章界面。


Basic Post Editing Screen

基本的文章编辑界面

Your Drafts
Drafts are posts that have been saved rather than published. If you have posts you have written and saved, thereby creating a Draft, they will be listed above the Write Post title. Click on the title link to open that posts' Write Post edit screen, edit the post, and when you are ready, click Publish and it will be released to your site and to the world.

;你的草稿:草稿是保存的而不是发表的文章。如果你写了并且保存了文章,你进创建了草稿,草稿会列在写文章标题的上面。点击标题链接,打开文章的写文章编辑界面,编辑文章,当你写好了后,点击发表,文章就会发表在你的站点上,向全世界公布。

Title
This is where you enter the title of your post. You can use any words or phrases. Avoid using the same title twice as that will cause problems. You can use commas, apostrophes, quotes, hypens/dashes, and other typical symbols in the post like "My Site - Here's Lookin' at You, Kid". WordPress will clean it up for the link to the post, called the post-slug.

;标题:标题使你输入文章标题的地方。你可以使用任何的单词或短语。你可以使用逗号,省略号,连字号/破折号,以及其它的典型的符号,例如文章"My Site - Here's Lookin' at You, Kid"中出现的标点符号。链接到文章时,WordPress会将它清除,称为文章缩略名自动生成


right|thumb|WordPress Admin Writing Post Basic Panel right|thumb|WordPress 管理 写文章 基本面板

Discussion
The Discussion section hosts two checkbox choices. One is for Allowing Comments and the other is for Allowing Pings. If Allowing Comments is unchecked, no one can post comments to this particular post. If Allowing Pings is unchecked, no one can post pingbacks or trackbacks to this particular post.

;讨论:The 讨论部分托管两个检查框的选择。一个是允许评论 ,另一个是允许 Pings。如果没有选中允许评论,没有人能够对一篇特别的文章发表评论。如果没有选中允许 Pings,没有人能在这篇特别的文章上发表pingbacks或者trackbacks。

Password-Protect Post
To keep this particular post private so that only those with the password can read it, enter a password here. Be sure and write it down somewhere safe.

;密码保护的文章:使这篇特别的文章保密,因此只有哪些拥有密码的人才能阅读,在这儿输入一个密码。确保在某个安全可靠的地方写下密码。

Categories
The list of categories on your site is found here. By default, the uncategorized category will be checked, unless you have already changed the name of that category. Check the categories and sub-categories the post belongs in and make sure to uncheck "uncategorized" if applicable.

;种类:可以在这儿找到你站点的种类目录。默认情况下,未归类的种类会被选中,除非你已经给那个种类更改了名称。选中文章应归入的目录与子目录,如果适用的话,确保不要选中"未归类"的。

Excerpt
An Excerpt is a summary or brief teaser of your posts featured on the front page of your site as well as on the category, archives, and search non-single post pages. WordPress handles Post Excerpts in two ways. One is by an explicit excerpt and the other is through the use of the Quicktag button more. If you want to have a summary of the post show, rather than the first paragraph or so, write the summary of your post in the excerpt field.

;摘录:An 摘录是你的文章的摘要,或者主要大纲,出现在你的站点的首页上,目录,档案上以及搜索的非唯一的文章网页。WordPress以两种方式来处理文章摘录。一种是通过一个清楚的目录另一种是通过使用Quicktag按钮更多。如果你想要一个文章的摘要,而不是文章的第一段什么的,在摘录区写上你的文章的摘要。

Quicktags
Quicktags are buttons right above the Post editing textarea box. These buttons produce HTML tags for bold, italic, image, link, lists, and more. Click on these to add their HTML tags and the tag will either be reproduced in the editing area or a window will pop-up asking you to fill in the details, and when you are done, the information will be in the editing area.
Quicktags
Quicktags是在文章编辑框的顶上方的按钮。这些按钮为粗体,斜体,图像,链接,目录以及更多的创建HTML标签。点击这些来添加它们的HTML标签,标签会在编辑区产生,或者一个对话框会跳出叫你填写详细信息,当你完成了这一步,信息就会出现在编辑区。
Post Editing Area
The big blank box is where you enter your writing, links, links to images, and any information you want to display on your site is the Post Editing Text area or editing box.

;文章编辑区:大的空白框是你输入你的文章,链接,图像链接,和任何你想在站点上显示的内容的地方,叫做文章编辑区 或者编辑框

Save and Continue Editing
Below the Post Editing textarea box are three buttons. The first one is Save and Continue Editing. If you would like to save the post to your database, but continue working on it, click this button. Below in the Preview screen, you will then see your post. Using this button, the post will not be published unless the Publish check box is checked below in the Post Status area.

;保存与继续编辑:在文章编辑框的下面有三个按钮。第一个是保存并继续编辑。如果你向将文章保存到你的数据库中,但是仍然编辑文章,就点击这个按钮。在下面的预览界面上,你能看到你的文章。使用这个按钮,只有在下面的文章地位 区中的发表框被选中时,文章才得到发表。


Save
In theory, clicking the Save button will save your post. But it is a conditional save. Using the Advanced Editing screen, if the option in the Post Status is set to Draft, your post will be saved as a Draft. If set to Publish, the post will be saved and published to your site. If set to Private, the post will be saved as a private post, accessible only by you, the user/author and not the public. Once you have clicked Save, the Write Post screen will clear and you will be ready to add another post.

;保存:理论上来讲,点击保存按钮就会保存你的文章。但它是一个有条件的保存。使用高级编辑界面,如果文章地位中的选项被设置为草稿,你的文章会以草稿形式得到保存。如果被设置为发表,文章会被保存,并同时发表到你的站点上。如果被设置为秘密的,文章会以一个私人的文章保存,只有你,用户/作者能看到文章而不是公众。你一旦点击了保存,写文章界面会得到清除刷新,你就能添加另一篇文章了。

Publish
To publish your post to your site, click the Publish button.

;发表:将你的文章在你的站点发表,点击发表按钮。


Advanced Post Editing Screen

高级文章编辑界面

In addition to the basic editing screen contents, the following is visible when using the advanced post editing screen. right|thumb|WordPress Admin Writing Post Advanced Panel - Top of Page 除了基本的编辑界面内容以外,用高级文章编辑界面时,还可以看到以下的内容。 right|thumb|WordPress 管理 写文章该机面板 – 网页顶端

Post Status
In the Post Status section there are three choices. Draft, Publish, and Private. To save the post as a Draft, choose Draft. To publish the post when you click Save, then choose Publish. To keep the post private, choose Private.

;文章地位:在文章地位部分有三个选择草稿, 发表, 和秘密的。将文章以草稿形式保存,选择草稿。点击保存时,发表文章,选择发表。将文章保存为私人的,点击秘密


Send Trackbacks To
Trackbacks let other blogs know you've referenced one of their articles. To send trackbacks from this post, enter the URI or website addresses in the box, separating each one by a space.

;发送Trackbacks到:Trackbacks让其它的博客知道你引用了它们的一篇文章。从文章中发送trackbacks,在框中中输入URI或者网站地址,将它们以空格分开。


Post Slug
This is where WordPress will "clean up" your post title to create a link, if you are using Permalinks. The commas, quotes, apostrophes, and other non-HTML favorable characters are changed and a dash is put between each word. If your title is "My Site - Here's Lookin' at You, Kid", it will be cleaned up to be "my-site-heres-lookin-at-you-kid" as the title. You can manually change this, maybe shortening it to "my-site-lookin-at-you-kid".

;文章缩略名自动生成:如果你正使用Permalinks,WordPress会在这儿"整理"你的文章标题来创建一个链接。逗号,引号,省略号和其它的HTML不支持的字符会改变,每个单词之间会出现一个破折号。如果你的标题是"My Site - Here's Lookin' at You, Kid",它会被整理为"my-site-heres-lookin-at-you-kid"来作为标题。你可以动手来更改这个,将它缩减为"my-site-lookin-at-you-kid".


Post Author
This is where the author of the post's name is chosen from a pull down list. Authors are added to your site by registering and through the Users and Authors panel.

right|thumb|WordPress Admin Writing Post Advanced Panel - Bottom of Page

;文章作者:可以在这儿的一个上拉下来的名单上选择文章的作者名。作者可以通过注册增加到你的站点上或者通过用户和作者面板。 right|thumb|WordPress 管理 写文章高级面板 – 网页的底部


Edit Time
By default, at the time the post is saved, that will be the date and time of the post within the database. To change this, click the checkbox and change the date and time information. All posts dated in the future will not appear on the site until that time has passed. If you wish to write posts that will automatically appear on your schedule, set the date and time here.

;编辑时间:在默认情况下,文章保存的时间便是文章放进数据库的时间。要改变这一点,点击检查框,改变日期与时间信息。所有设置在未来日期的文章,只有时间过了以后,文章才会出现在站点上。如果你想让写的文章自动的在你定的时间出现,在这儿设置日期与时间。

Delete This Post
If you decide to Delete this post forever, click this button. It will ask "Are you sure?" to give you a second chance to reconsider.

;删除这篇文章:如果你决定永远地删除这篇文章,点击这个按钮。它会问你"你确定吗?",给你第二次重新考虑的机会。

Custom Fields
Custom Fields offer a way to add information to your site. In conjunction with extra code in your template files or plugins, Custom Fields can modify the way a post is displayed. These are primarily used by plugins, but you can manually edit that information in this section.

;自定义范围:自定义范围提供一种方式,使你向你的站点添加信息。与你的模板文件或者插件协力,自定义范围可以更改一篇文章的显示。这些起初是由插件使用的,但是你可以在这个部分动手编辑那个信息。


The WordPress Bookmarklet

WordPress Bookmarklet

At the very bottom of your Write Post screen is a buried treasure feature of WordPress that is a powerful tool. The WordPress Press It bookmarklet is a bit of Javascript you can click and drag to your browser link bar. Just put your mouse over the link, press down on the left button and, without letting go, drag it to the top menu bar of your browser (most browsers) where the "Link Toolbar" resides and release it. It will add a link that says "Press It" and the name of your WordPress site.

在你的写文章界面的最底层,是WordPress一个隐藏的珍贵特色,一个强大的工具。WordPress按住 它bookmarklet是一点的Javascript,你可以点击它,并把它拖到你的浏览器链接条上。将你的鼠标放到链接上,按下左边的按钮,不要松开,将它拖到你的浏览器(大多数浏览器)的高层菜单条上,也就是"链接 工具栏"的位置,然后将它松开。它会添加一个称为"按住它"的链接和你的WordPress站点名。

When visiting a web page that has information you would like to share with your WordPress site users, click the Press It link and a window will pop-up. If you are not logged into your site, the login will appear. If you are, it will automatically bring up the Write Post screen with the link to the site you are currently viewing already set in the Post Editing box and the title of the site in your post Title box. You can write more information about the site, change the title, set the categories, and when you are ready, choose Save as Draft, Save as Private, and Publish. Choose Publish and your post is published to your site, ready for the world to see and read. Simple and easy.

当你访问一个网页,这个网页上的一些信息,你想与你的WordPress站点用户一起分享它,点击按住它链接,一个窗口就会弹出来。如果你还没有登录到你的站点,就会出现一个登录框。如果你已经登录到了你的站点,就会自动地弹出写文章界面,和已经在文章编辑 框中设置好的你目前访问的站点链接,以及你的文章标题 框中的站点标题。你可以编写更多的关于站点,改变标题,设置种类的信息,当你写好了以后,选择以草稿保存, 以私人文章保存,和发表。选择发表你的文章变发表到你的站点上,全世界的人都可阅读。简单容易。


Tips For Posting

写文章小贴士

You can say or show the world anything you like on your WordPress site. Here are some tips you need to know to help you write your posts in WordPress.

你可以在WordPress上说你任何想说的话,显示任何你想显示的东西。下面是一些你需要知道的小贴士,帮助你在WordPress上写文章。

Excerpts vs More
If you have changed the index.php template file to display the Excerpt instead of the full Content of a post, WordPress will automatically use the first 55 words of your post as the Excerpt or up until the use of the More Quicktag mark. If you use an Explicit Excerpt, this will be used no matter what.

;摘录vs更多:如果你改变了index.php模板文件,显示一篇文章的摘要而不是全部的内容,WordPress会自动地将你的文章的前55个字或者更前面的作为摘录,除非你使用了更多的Quicktag标记。如果你使用一个清晰明了的目录,不管怎样会使用到这个。

Practice Accessibility
To be compliant with web standards for accessibility, be sure to include ALT and TITLE descriptions on links and images to help your users, such as <a title="WordPress Codex" href="http://codex.wordpress.org/">WordPress Codex</a>.

;实践 可访问性:必须符合网络的 可访问性标准,确定有ALT和TITLE对链接和图像的描述,来帮助你的用户,例如<a title="WordPress Codex" href="http://codex.wordpress.org/">WordPress Codex</a>.


Use Paragraphs
No one likes to read writing that never pauses for a line break. To break your writing up into paragraphs, use double spaces between your paragraphs. WordPress will automatically detect these and insert <p> HTML paragraph tags into your writing.

;使用段落:没有人喜欢读一个行不行之间从不停顿的作品。在你的段落之间使用两行间距,将你的作品分成一些段落。WordPress会自动地将这些删除,并且在你的作品中插入<p> HTML段落标签。

Using Headings
If you are writing long posts, break up the sections by using headings, small titles to highlight a change of subject. In HTML, headings are set by the use of h1, h2, h3, h4, and so on. By default, most WordPress Themes use the first, second, and sometimes third heading levels within the site. You can use h4 to set your own headings. Simply type in:
<h4>Subtitle of Section</h4>

使用标题:如果你写一篇很长的文章,通过使用标题,将文章划分为一些部分,用小标题来突出主题的改变。在HTML中,通过使用h1, h2, h3, h4,等等,可以设置标题。在默认情况下,大多数WordPress主题在站点里使用第一,第二,有时甚至是第三级标题。你可以使用h4来设置你自己的标题。只要输进:

<h4>Subtitle of Section</h4>
with double lines before and after and WordPress will make that title a headline in your post. To style the heading, add it to your style.css style sheet file. For more information on styling headings, check out WordPress:Designing Headings.

:在前后两行,WordPress会将这个标题变为你的文章中的一个大字标题。设计标题,将标题添加到你的style.css样式表文件。关于设计标题的更多信息,看设计标题


Use HTML
You don't have to use HTML when writing your posts. WordPress will automatically add it to your site, but if you do want control over different elements like boxes, headings, and other additional containers or elements, use HTML.

;使用HTML:如果你写博客时,不需要使用HTML.WordPress会自动将它添加到你的站点上,但是如果你向控制其它的元素,例如框子,标题,和其它额外的容器或者元素,你就要使用HTML.


Spell Check and Proof
There are spell check WordPress:Plugins available, but even those can't check for everything. Some serious writers will write their posts in a text editor with spell check, check all the spelling and proof it thoroughly before copying and pasting into WordPress.
拼写检查与校对:有拼写检查插件,但即使有这些,也不能检查所有的错误。一些认真的作者会在一个拥有拼写检查的文本编辑器中写文章,彻底地检查和校对所有的拼写,然后在将文章复制和粘贴到WordPress中。
Think before you post
Ranting on blogs is commonplace today, but take a moment and think about what you are writing. Remember, once it is out there, it can be seen by many and crawled by search engines; and taking things back is harder once it is public. Take a moment to read what you've written before hitting the Publish button. When you are ready, share it with the world.

;在发表之前想一下:在博客上慷慨激昂地发表自己的观点,如今已经是件很正常的事了,但是你要花一些时间,考虑一下你写的是什么。记住,一旦你的文章发表了,许多人能看到你的文章,许多搜索引擎也能搜寻到你的文章;一旦文章发表了,你要将它收回就难了。在点击发表按钮之前,发一些时间来阅读一下你写的内容。当你都准备好了,就与世界一起分享你的文章吧。

Write about what you like
You’ve heard this a thousand times before and it sounds too cliched, but it is true. If you force yourself to write something that you don’t really enjoy, it will show. Perhaps you might not have a specific theme for writing when you just start, but that’s ok. You’ll become more focused later. Just enjoy the experience and write what you like.

;写你喜欢的内容:你过去已经听过一千遍这样的话了而且这听起来像陈词滥调,但确实是这样的。如果你强迫自己写一些你自己并不喜欢的东西,这会显示出来的。也许你开始写的时候,你没有一个特别的主题,但这没关系。你日后写的时候,会越来越有主题性的。享受一下这个经历,写一下你喜欢写的东西,就行了。

Write frequently
Write as frequently as you can, may be even more than twice a day, but don’t let quantity get in the way of quality. Your viewers come for content, don’t give them useless stuff.

;频繁地写:尽可能频繁地写,也许一天写了多与两篇的文章,但不要为了数量而忽视了质量。你的读者是要看你的文章内容的,不要给他们看一些没用的东西。

Don’t use too much slang
Not all the readers will be from your part of the world so make sure people can understand easily.

;不要使用太多的俚语:并不是所有的读者都来自你那个地区因此要确保人们能够容易理解你的文章。

Don't hide your emotions
Tempting as it might be, don’t hide your real emotions. After all that is what a blog is about. If you want, you can stay anonymous and voice your feelings on whatever you are passionate about. You might have strong views on various subjects but let your readers know your passion. What is passion worth if you can’t even share it? You’ll actually love the discussions it can lead to. The discussions will broaden your own thinking and you might end up making some really good friends.

;不要隐藏你的情感:不要隐藏你的情感,虽然这听起来很诱人。不管怎么说,博客是关于情感的。如果你想的话,你可以匿名,并在你为之充满热情的任何事上,发表你的情感。对于不同的主题,你可能有强烈的情感,但是要让你的读者知道你的情感。如果你甚至不能与他人分享你的情感,情感又有什么价值呢?你会真正地喜欢上有情感引发的讨论。讨论会延伸你的思考,最后,你可能交到一些真正的好朋友。

Consider your readers
Perhaps this sounds weird, but consider who needs to know about your blog before you tell them about your new blogging hobby. Will you be able to write freely if you tell them? How much should you let your readers know about you? Is it ok if your boss or girlfriend reads your posts? If you don’t want them to read, take anonymity measures accordingly.

;考虑你的读者:也许这听起来很奇怪,但是在你告诉他们你的新的写博客爱好之前,考虑一下谁需要知道你的博客。如果你告诉了他们,你还能在博客上直率地书写吗?你应该让你的读者了解你多少?你的老板或者女朋友看到了你的博客,也没事吗?如果你不想让他们阅读,就要采取匿名措施。

Make use of comments
Comments let people share their ideas. Sometimes, they might not be good, but you can ask such people to shut up. Most of the times, they will and if they don’t you can delete their comments. Blogging like real life, can be both fun and not so fun at times. Be prepared. Also, give your people a place to contact you in private if they want to write to you.

;使用评论:评论让人分享他们的观点。有时,评论可能不好,但是你可以让他们不要发表了。大多数时候,他们会按你说的做,如果他们没按你说的做,你可以删除他们的评论。博客就如真正的生活,有时候有趣,有时候无趣。要准备好。同时,如果有人想写评论给你,给他们一个在私下联系你的空间。

Worry about blog design later
Blog design matters, but only to an extent. Don’t give up on blogging just because the design isn’t coming up as you’ll like it it to be. Sooner or later, you’ll get around the design problems with ease. But continue writing. Content is what attracts your readers, not just the look of your blog.

;担心随后的博客设计:只有在一定的范围内,才有博客设计麻烦。不要仅仅因为出现的设计不是你喜欢的样式,而放弃写博客。不久,你就能轻而易举地处理设计问题。但是要继续写博客。吸引你的读者的是你的博客内容,而不仅仅是博客的外观。

Don’t play too safe
Talk about the real you. Readers aren’t impressed by how big your house is, which cool club you belong to, or what the weather is in your hometown. Don’t be a bore and put a long post on how you fixed the leaking tap in minutes. Readers don’t care about braggers, they care about the real you--how you feel, what gets you excited, why you are the person you are. But if achievements are all that you can talk about, you will bore your readers.

;不要太冒险:谈一谈真实的你。对于你的房子有多大,你加入了多么酷的俱乐部,你家乡的天气如何,你的读者都不好有深刻的印象。不要做一个令人厌烦的人,写一个长篇大论关于你怎样在几分钟内修好了一个漏水的水龙头。读者对你的吹牛并不关心,他们关心的是真实的你-你的感觉是什么,什么使你感到兴奋,为什么你是这样的。但如果你所谈的都是你的成就,你的读者会感到厌烦的。

Use pictures and videos
They make the pages colorful and viewers get to see a little of your part of the world. They feel connected.

;使用图像与视屏:这些是你的网页看起来丰富多彩而且访客可以看看你的小小世界。访客感觉与你联系在了一起。

Keep writing
Don’t stop blogging. If you don’t have anything to write about, chances are, you are still holding back. Let loose. Perhaps surf more blogs and maybe you’ll get an idea. You can write about your friends, complain about your boss, or simply rant about what’s gone wrong. Yet if nothing else works, just write a review on the latest movie, book, or product. Easy actually.

;继续写:不要停止写博客。如果你没有什么东西可写的,有可能,你仍然在踌躇。放任。多看一些博客,你可能就有主意了。你可以写写你的朋友,抱怨一下你的老板,或者就咆哮一下出错了的事。然而如果这些都不管用的话,那么你就写写对最近一部电影,一本书,或者一个产品的评论。真的很简单。

Save your posts
Save your posts before you press the publish button. Anything can happen with your computer or with an internet connection. You don’t need to lose your post.

;保存你的文章:在你按发表按钮之前,保存你的文章。你的电脑或者你的网络链接可能会出现任何的以外情况。你没必要丢失你所写的文章。


More Information and Resources

更多的信息与资源