Skip to Content
WordPress:缺失的手册,第三版
book

WordPress:缺失的手册,第三版

by Matthew MacDonald
May 2025
Beginner to intermediate
492 pages
7h 35m
Chinese
O'Reilly Media, Inc.
Content preview from WordPress:缺失的手册,第三版

第 4 章: 创建帖子

现在,你已经在虚拟主机(第2章)或个人电脑(第3章)上安装了WordPress软件,可以开始在网上发布内容了。在本章中,你将进入刚刚起步的WordPress网站,开始发布内容,内容可以是令人振奋的政治评论,也可以是廉价的名人八卦。在此过程中,你将学习到几个关键的 WordPress 概念。

首先,您将熟悉 WordPress 的管理区--您管理网站的中央驾驶舱。使用管理区,您可以创建、编辑和删除网站上出现的帖子。

接下来,您将学习如何使用类别和标签对文章进行分类,这样您就可以对文章进行有意义的分组。WordPress将这种组织艺术称为分类法,如果您做得好,就能让读者轻松找到他们想要的内容。

最后,您将仔细研究 WordPress 为每篇新文章生成的网址(URL)。您将学会如何控制您的 URL,确保它们有意义、好记,并能被搜索引擎访问。

管理区介绍

管理区 简称管理区)是 WordPress 管理的神经中枢。当您想添加新文章、调整网站主题或查看其他人的评论时,这里就是您要去的地方。

访问管理区 的最简单方法是使用您的 WordPress 网站地址,并在末尾添加/wp-admin。例如,如果您将网站托管在这里:

http://magicteahouse.net

您可以从这里进入网站的管理区:

http://magicteahouse.net/wp-admin

如果你在自己的电脑上使用虚拟网络服务器运行 WordPress,使用类似本地(第 3 章)这样的工具,这个 URL 技巧的作用也是一样的。只需在本地地址的末尾添加/wp-admin即可。

当您进入管理区时,WordPress 会询问您的用户名和密码。登录后,您将看到如图 4-1 所示的页面。

图 4-1

在管理区进行操作非常简单。顶部是一个薄薄的工具栏,上面有一些方便的快捷键--例如,如果你指向 "+新建 "而不点击,就会弹出一个菜单,上面有快速创建新帖子和其他类型内容的命令。页面左侧是最重要的 WordPress 菜单--一条条命令让你可以移动到管理区的不同部分,从而使用各种 WordPress 功能。

在管理区完成工作后,最好注销。这样,您就不必担心自作聪明的朋友会在您离开电脑时劫持您的网站,并添加羞辱性的帖子或图片。要注销,请单击工具栏右上角的用户名,然后单击注销。

管理菜单

要浏览管理区,您可以使用菜单--页面左侧的 面板。它有一个指向 WordPress 提供的所有管理功能的链接。

WordPress 将菜单命令分组为子菜单。要查看子菜单,将鼠标悬停在其中一个菜单标题上(如 "帖子"),就会弹出子菜单(图 4-2)。

图 4-2

WordPress 的菜单在网页的一小块空间里包含了很多功能。最初,你看到的只是一级菜单标题。但如果不点击,而是指向其中一个项目,WordPress 就会打开一个子菜单。(评论标题是个例外,它没有子菜单。您只需点击它即可查看评论)。

点击菜单命令后,就会进入管理区的该部分。换句话说,你把鼠标移到左侧菜单,悬停在 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Manga Studio® for Dummies®

Manga Studio® for Dummies®

Doug Hills
Perfecting Your Thinking Skills

Perfecting Your Thinking Skills

MIT Sloan Management Review

Publisher Resources

ISBN: 9798341657953