Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 313 trang
THÔNG TIN TÀI LIỆU
Cấu trúc
Contents
Chapter 1: Why WordPress?
The Downside of WordPress
The Upside of WordPress
WordPress.com vs. WordPress.org
New in WordPress 3.0
Chapter 2: Installing WordPress
Getting What You Need
Setting up the MySQL Database
Choosing Your Blog’s URL
Installing WordPress
Editing the wp-config File
Troubleshooting Common Installation Problems
Chapter 3: Managing User Accounts
Managing User Profiles
Adding and Deleting Users
Chapter 4: The Dashboard
Right Here: Right Now
Meeting the Public: Comments and Links
Plugins
QuickPress
Recent Drafts
WordPress Blog
Keeping Current: Other WordPress News
Customizing the Dashboard
Beyond the Dashboard
Chapter 5: Futureproofing Your Blog
General Settings
Writing Settings
Reading Settings
Discussion Settings
Avatar Settings
Media Settings
Privacy Settings
Permalink Settings
Chapter 6: Preparing to Post
Breaking Down the Elements of a Post
Composing and Formatting a Post
Adding Media to a Post
Creating Tags and Categories
Setting Advanced Posting Options
Customizing the Add New Post Screen
Chapter 7: Publishing Your Post (Finally!)
Setting Status
Setting Visibility
Posting to Your Blog
Using the Press This Bookmarklet
Managing Posts
Managing Categories
Managing Tags
Chapter 8: Working with Pages
Working with Page Settings
Understanding Page Permalinks
Creating a Page Template
Managing Pages
Chapter 9: Custom Post Types and Taxonomies
Types, Taxonomies, and Your Blog
Types and Taxonomies Combined
Some Uses for Custom Post Types and Taxonomies
Chapter 10: Handling Links
What the Heck Are Links?
Configuring Links
Importing Links
Managing Links
Chapter 11: Coping with Comments
Comments: Bad or Good?
Deciding Who Can Comment
Understanding How Users Comment
Moderating Comments
Managing Comments
Dealing with Comment Spam
Chapter 12: Working with Themes and Widgets
Viewing the Current Theme
Installing a New Theme
Managing Themes
Working with Menus
Adding Widgets for Code-Free Customization
Customizing the Current Theme
Chapter 13: Theme Tweaking
Using the Theme Editor
Tweaking a Stock Theme
Chapter 14: Using Plug-Ins
Managing Plug-Ins
Finding Plug-Ins
Creating a Plug-In of Your Very Own
Chapter 15: Troubleshooting and Maintenance
Troubleshooting Problems
Heading off Trouble Before It Begins
Chapter 16: Bloggerly Wisdom
Content
Consistency
Community
Final Thought
Index
A
B
C
D
F
E
G
H
I
K
M
L
N
O
P
Q
R
S
T
U
V
W
X
Y
Nội dung
[...]... up of tables, each of which contains all the data for various parts of your blog: the posts, the comments, and so on Each of these tables must have a unique name within the database Other databases can have a table that shares a name with another database’s table, but each table within a database must have a unique name 20 Building aWordPress Blog PeopleWanttoRead 5 After you’ve entered all your... Web host’s new-database form with confidence: • Database Name Every database needs a name, and you’ll need to know what your database is called when you install WordPress Be sure to give your database a unique name; don’t name it wordpress or something equally easy to guess, which would only help people who wantto break into your database for nefarious reasons (The Internet is a great place, but you’ll... little harder for folks to guess your database credentials The database user who installs WordPress needs to have full rights for the WordPress database, meaning that he or she can create—and delete—all manner of things A good password is your best defense against malicious tomfoolery 14 Building aWordPress Blog PeopleWanttoRead Here’s a review of each text box shown in Figure 2.3 so that you can fill...2 Building aWordPress Blog PeopleWanttoRead The Downside of WordPress All is not sunshine and fruit punch in the world of WordPress Using a blogging platform that is engineered like this one has a couple of drawbacks: • Appeal to bad guys Popularity and an open code base are generally a good combination, but a few people out there are always looking to ruin everyone’s fun Because WordPress. .. Englishspeaking bloggers But what if you wanttoblog in another language? That’s where define (‘WPLANG’, ); comes in Localizing WordPressto another language requires a few steps: 1 Define WPLANG as the language code you want You can find a full list of the codes needed to define the WPLANG variable as your language of choice at http://codex .wordpress. org /WordPress_ in_Your_Language Chapter 2 : Installing WordPress. .. Prefix, and by default, it’s set to wp_, but as you can see in Figure 2.7, I’ve changed this value Even if you don’t plan on running more than one WordPress install using the same database, I recommend that you enter a custom value here to make it more difficult for hackers to guess what your database tables are named Figure 2.7 Enter your database information to install WordPress note Databases are made... into the ins and outs of setting up a MySQL database, here are some pointers to keep in mind: • • Name your database something that you’ll remember You need to create a database user that will install all the WordPress tables (a process that the install script takes care of), but don’t use the same user name and password that you’re going toblog with Using a different name and password makes it a. .. host your blog on WordPress. com: • WordPress URL The URL of your blog will be something like www.mygreatblog .wordpress. com If you’re going to host ablog for professional reasons, you may not wantto advertise the fact that you’re using a free service • Extra cost for advanced features WordPress. com offers some advanced features such as domain mapping, which allows you to point any domain toablog hosted... such a way that others can change your code and share it as well) 4 Building aWordPress Blog PeopleWanttoRead WordPress. com vs WordPress. org Now that I’ve convinced you that WordPress is the way to go, you have another choice to make: self-hosting or hosted version? Hosting your blog on WordPress. com WordPress. com (Figure 1.1) hosts WordPress blogs for free Hosting your blog on WordPress. com frees... Chapter 2 : Installing WordPress 21 Figure 2.9 The WordPress Welcome screen 10 Speaking of email, in the Your E-Mail text box, enter an email address that you have access to The install process will send this address an email containing some information about your newly installed blog 22 Building aWordPress Blog PeopleWanttoRead 11 Finally, clear or check the box titled Allow My Site to Appear . free and in such a way that others can change your code and share it as well). Building a WordPress Blog People Want to Read4 WordPress. com vs. WordPress. org Now that I’ve convinced you that WordPress. class="bi x0 y0 w0 h0" alt="" Scott McNulty Building a WORDPRESS BLOG People Want to Read Second Edition Building a WordPress Blog People Want to Read, Second Edition Scott McNulty Peachpit. date as possible. But this approach is a little more resource-intensive than a static approach and can translate to your blog s being unavailable under heavy load. Movable Type, the other blogging