资源说明:Table of Contents
xii
There's more...
214
Inserting shortcodes into sidebar widgets
215
Displaying Adsense ads to search engines visitors only
215
Getting ready
216
How to do it
216
How it works
217
There's more...
217
Managing who Sees Ads
218
Getting ready
218
How to do it
219
How it works
220
There's more...
220
Advanced conditions
221
Inserting ads in your RSS feeds
221
Getting ready
222
How to do it
222
Option 1: Using a hack
222
Option 2: Using a plugin
223
How it works
224
There's more...
224
Solving problems with Feedburner
224
Redirecting your WordPress RSS feeds to Feedburner
225
Getting ready
225
How to do it
225
Option 1: Using a hack
226
How it works
226
Option 2: Using a plugin
226
How it works
227
There's more...
227
Plugin versus hack
227
Show your blog stats to find advertisers
228
Getting ready
228
How to do it
228
How it works
230
There's more...
230
Managing your 125*125 px ad spots
230
Enhancing your Advertise page by adding Paypal subscriptions
230
Getting ready
231
How to do it
231
There's more...
233
Telling advertisers how to unsubscribe
233
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
xiii
Chapter 10: Enhancing User Experience
235
Replacing the Next and Previous links by a paginator
236
Getting ready
236
How to do it
236
How it works
238
Highlighting searched text in search results
238
Getting ready
238
How to do it
238
How it works
239
Using the CSS sliding doors technique within WordPress
239
Getting ready
239
How to do it
241
Applying this hack to pages
241
Applying this hack to categories
242
How it works
243
Creating a drop-down menu for your categories
243
Getting ready
243
How to do it
244
Step 1: PHP and HTML
244
Step 2: The CSS
245
Step 3: Optional JavaScript
246
How it works
247
There's more...
247
Creating a horizontal drop-down menu
247
Adding a breadcrumb to your theme
250
Getting ready
250
How to do it
250
How it works
251
There's more...
252
Using a hack to display breadcrumbs
252
Displaying related posts
253
Getting ready
253
How to do it
254
How it works
255
Display tabs on your sidebar
255
Getting ready
256
How to do it
256
How it works
256
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
xiv
Chapter 11: Make your Blog Stand Out
257
Rewarding your commentators to get more comments
257
Making your blog dofollow with the
258
NoFollow Free plugin
258
The NoFollow Free plugin
258
Using the Top Commentators widget
260
Installing the Top Commentators widget
260
Conclusion
262
Adding a print stylesheet to your blog
262
Getting ready
263
How to do it
263
How it works
264
Print button
264
Print stylesheet inclusion and selection
264
Print stylesheet
264
Using WordPress as a photoblog
266
Photoblog themes for WordPress
266
Photoblog
266
Nishita
267
Fotolog
268
Creating your own Photoblog theme
268
Getting ready
268
How to do it
269
How it works
272
Creating an iPhone-friendly version of your blog
272
Getting ready
272
How to do it
273
How it works
273
There's more...
273
Using an header image
274
Modify the title and slogan
274
Integrating a forum in your WordPress blog
274
Getting ready
275
How to do it
276
How it works
277
There's more...
277
Skins
277
Moderators
277
User groups
278
Index
279
Table of Contents
Preface
1
Chapter 1: Getting Ready to Cook with WordPress
5
Using built-in WordPress tools
6
Managing media files with the Media Library
6
Getting ready
6
How to do it
7
Deleting media
7
Bulk media deletion
8
How it works
9
Live editing themes with the built-in Theme Editor
9
Getting ready
9
How to do it
10
How it works
10
There's more...
10
Editing plugins with the WordPress built-in Plugin Editor
11
Getting ready
11
How to do it
12
How it works
12
There's more...
12
Managing authors and users with the User Manager
12
Getting ready
12
How to do it
13
Deleting users
13
Editing user details
13
How it works
14
Importing and exporting content with the Import and Export tool
14
Getting ready
14
How to do it
14
Importing content
15
Exporting content
17
How it works
18
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
ii
Chapter 2: Finding, Installing, and Tweaking Themes
19
Installing a theme
20
Getting ready
20
How to do it
20
There's more...
22
Classic themes
22
Advanced themes
28
Premium themes
34
Lists of themes
40
Important notes about themes
41
Chapter 3: Get the most out of your WordPress Theme
43
Modifying your theme colors
44
Getting ready
44
How to do it
45
How it works
45
There's more...
46
Modifying your theme fonts
46
Getting ready
46
How to do it
47
There's more...
47
Tips and things to know about fonts
47
Creating and integrating a favicon
48
Getting ready
48
Favicon format
48
How to do it
48
How it works
49
Integrating your own logo
49
Getting ready
50
How to do it
50
How it works
51
There's more...
51
Adding a link to the homepage
52
Adding social bookmarking buttons to your theme
52
Getting ready
52
How to do it
52
How it works
53
There's more...
53
Using CSS to style the social bookmarking widget
53
Adding Del.icio.us live count
54
Code explanation
55
Integrating Feedburner feeds on your theme
55
How to do it
56
How it works
57
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
iii
Integrating Twitter on your theme using the Twitter Tools plugin
57
Getting ready
58
How to do it
59
How it works
59
Displaying your Twitter entries on your blog, using a page template
59
Getting ready
59
How to do it
60
How it works
62
Customizing WordPress admin login page
62
Plugin versus hack
62
How to do it
63
How it works
64
Using conditional tags to display content on specific pages
64
Getting ready
64
How to do it
64
How it works?
66
There's more...
66
Special parameters
67
Using page templates in your theme
67
Getting ready
68
How to do it
68
How it works
69
Creating an archive page
69
Getting ready
69
How to do it
69
How it works
70
There's more...
71
Creating a custom 404 error page
71
Getting ready
71
How to do it
72
How it works
72
There's more...
73
Using a static page as a homepage
73
Getting ready
73
How to do it
73
How it works
74
There's more...
74
Creating a Featured Posts block on your homepage
74
Getting ready
75
How to do it
75
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
iv
How it works
76
There's more...
76
Making your new posts stands out with a custom style
76
Getting ready
77
How to do it
77
How it works
78
There's more...
79
Chapter 4: Doing anything with Plugins and Widgets
81
Installing plugins
82
Getting ready
82
How to do it
82
How it works
83
Getting rid of comment spams with Akismet
83
Getting ready
83
How to do it
83
How it works
84
Backing up your database with WP Database Backup
84
Getting ready
84
How to do it
84
How it works
85
There's more...
85
Scheduling automatic backups
85
How it works
85
There's more…
85
Optimizing your blog performances with WP Super Cache
86
Getting ready
86
How to do it
86
How it works
87
There's more...
87
Prevent URLs from being cached
87
Adding redirects for changed Permalinks
88
Getting ready
88
How to do it
88
How it works
89
There's more...
89
Using redirects for affiliate marketing and cloaking
89
Get more comments with the Subscribe to Comments plugin
89
How to do it
89
How it works
90
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
v
There's more...
90
Accessing real time statistics with WordPress.com Stats
90
Getting ready
91
How to do it
91
How it works
91
Monetizing your blog with ISIS Ads Management
92
Getting ready
92
How to do it
92
How it works
93
Extending WordPress search with Search Unleashed
93
Getting ready
93
How to do it
93
How it works
94
Installing widgets
95
Plugins versus widgets
95
Getting ready
95
How to do it
96
How it works
96
There's more...
96
Installing downloaded widgets
97
Make your sidebar widget-ready
97
Getting ready
97
How to do it
97
How it works
98
Creating two (or more) different widget-ready zones
98
Getting ready
99
How to do it
99
How it works
100
There's more...
100
Modifying core widgets
101
Getting ready
101
How to do it
101
How it works
102
Creating your own widget
102
Getting ready
102
How to do it
102
How it works
103
There's more...
104
Complete widget code
104
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
vi
Chapter 5: Displaying Posts
107
Getting posts within the WordPress loop
108
Getting ready
108
How to do it
108
How it works
108
Retrieving posts from a particular category only
108
Getting ready
109
How to do it
110
How it works
110
Getting an exact number of posts
110
Getting ready
110
How to do it
110
How it works
111
Retrieving posts by date
111
Getting ready
111
How to do it
111
How it works
112
Getting posts published today
112
Getting ready
112
How to do it
112
How it works
113
Getting posts published exactly a year ago
113
Getting ready
113
How to do it
113
How it works
114
Using two different loops without duplicate posts
114
How to do it
115
How it works
115
Complete code
116
Accessing post data outside of the WordPress loop
116
Getting ready
116
How to do it
116
How it works
117
Usage
118
Accessing permalinks outside the loop
118
Getting ready
118
How to do it
118
How it works
119
There's more...
119
Using the $post global variable
119
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
vii
Displaying any RSS feed on your blog
110
Getting ready
120
How to do it
120
How it works
120
There's more...
120
Displaying thumbnails on your blog homepage
121
Getting ready
121
How to do it
121
How it works
122
There's more...
123
Defining a default image
123
Alternating background color on post list
123
Getting ready
124
How to do it
124
How it works
124
Displaying posts in two columns
125
Getting ready
125
How to do it
125
How it works
126
Save time by using WordPress shortcodes
126
Getting ready
126
How to do it
127
How it works
127
There's more...
128
Creating a nice download message box using a shortcode
128
Getting ready
129
How to do it
129
How it works
130
Chapter 6: Managing and Enhancing Multi-Author Blogs
131
Creating an author page template
132
Getting ready
132
How to do it
132
How it works
133
There's more...
134
Displaying a custom login form in your blog's sidebar
134
Getting ready
135
How to do it
135
How it works
136
Adding a control panel to your blog's sidebar
137
Getting ready
137
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
viii
How to do it
137
How it works
138
There's more...
138
Adding a login form and a control panel
139
Configuring author roles
141
Getting ready
141
How to do it
141
How it works
142
There's more...
142
Controlling what authors can do
142
Displaying author-related information on posts
145
Getting ready
145
How to do it
146
How it works
146
There's more...
147
Displaying author picture on posts
147
Getting ready
147
How to do it
148
How it works
148
There's more...
148
Displaying the author's gravatar picture on posts
149
Getting ready
149
How to do it
151
How it works
151
Adding moderation buttons to the comments
151
Getting ready
152
How to do it
152
How it works
153
Getting notified when a new draft is saved
153
Getting ready
153
How to do it
154
How it works
154
Allowing multiple authors on posts
154
Getting ready
154
How to do it
155
How it works
155
Displaying a list of all of the authors
156
Getting ready
156
How to do it
156
How it works
156
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
ix
There's more...
156
Controlling the wp_list_authors() function
157
Chapter 7: Securing your WordPress Blog
159
Creating manual backups of your WordPress blog
160
Getting ready
160
How to do it
160
How it works
161
There's more...
161
Restoring a MySQL backup
161
Getting ready
162
How to do it
162
How it works
163
Creating backups of your WordPress files
163
Getting ready
163
How to do it
164
How it works
164
Using a shell script to create automatic files and database backups
164
Getting ready
164
How to do it
164
How it works
165
Securing your plugins directory
165
Getting ready
165
How to do it
166
How it works
166
Removing a WordPress version from the theme files
166
Getting ready
167
How to do it
167
How it works
167
Getting rid of the Administrator account
168
Getting ready
168
How to do it
168
How it works
169
Automatically forbid login after some failed login attempt
169
Getting ready
169
How to do it
169
How it works
170
Protecting the wp-admin directory brute force with the help of AskApache
171
Getting ready
171
How to do it
171
How it works
173
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
x
Restricting wp-admin directory to your IP address
174
Getting ready
174
How to do it
174
How it works
175
There's more...
175
Allowing access to more than one IP
175
Testing your blog security
176
Getting ready
176
How to do it
176
How it works
178
There's more...
179
Deny comment posting on no referrer requests
179
Getting ready
179
How to do it
180
The .htaccess method
180
The PHP method
180
How it works
180
Chapter 8: SEO Tips and Tricks to Get More Visits
181
Optimizing your permalinks for SEO
182
Getting ready
182
How to do it
182
How it works
183
There's more...
183
Structure tags reference
184
Further optimizing your permalinks
184
Migrating your permalinks safely
185
Getting ready
186
How to do it
186
How it works
186
Optimize your title tag for SEO
187
Getting ready
187
How to do it
188
How it works
189
Create Meta descriptions for your posts
189
Getting ready
189
How to do it
190
How it works
190
There's more...
190
A more sophisticated code by using custom fields
190
Avoid duplicate content with a robot.txt file
191
Getting ready
191
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
Table of Contents
xi
How to do it
191
How it works
192
There's more...
192
PHP code to avoid duplicate content
192
Adding a sitemap to your blog
193
Getting ready
193
How sitemaps works
193
General rules for creating sitemaps
194
How to do it
195
How it works
196
Basic options
196
Using Google Webmaster Tools
197
How to do it
197
How it works
198
There's more...
198
Overview
199
Statistics
199
Links
199
Sitemaps
200
Tools
200
Pinging third party services
200
Getting ready
200
How to do it
201
How it works
202
There's more...
202
Services to ping
202
Enhancing your WordPress blog SEO with the All in One SEO Pack plugin
203
Getting ready
203
How to do it
204
There's more...
206
Five more tips for a better SEO
206
Chapter 9: Making Money with WordPress
209
Integrating Adsense to your WordPress blog
210
Getting ready
210
How to do it
211
Method 1: Using your Adsense code in your theme files
211
Method 2: Using a text widget to display your Adsense ads
212
How it works
212
Display ads anywhere in your posts by using WordPress shortcodes
213
Getting ready
213
How to do it
213
How it works
214
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012
Download at Boykma.Com
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。