Beginning WordPress 3

Beginning WordPress 3

von: Stephanie Leary

Apress, 2010

ISBN: 9781430228967 , 432 Seiten

Format: PDF, OL

Kopierschutz: Wasserzeichen

Windows PC,Mac OSX für alle DRM-fähigen eReader Apple iPad, Android Tablet PC's Online-Lesen für: Windows PC,Mac OSX,Linux

Preis: 34,99 EUR

  • AutoCAD 2012 - Von der 2D-Linie zum 3D-Modell
    Organisiert (DIGITAL lifeguide) - Termine, Kontakte, Aufgaben immer & überall im Griff
    iTunes (DIGITAL lifeguide) - Die besten Tipps und Tricks für entspannten Musikgenuss
    Von PDM zu PLM - Prozessoptimierung durch Integration
    Konstruieren mit CAD - Das Komplettpaket für 3D Modellieren im Maschinenbau

     

     

     

     

 

Mehr zum Inhalt

Beginning WordPress 3


 

Title Page

1

Copyright Page

2

Contents at a Glance

3

Table of Contents

4

About the Author

16

About the Technical Reviewer

17

Acknowledgments

18

Introduction

19

Getting Involved in Development

20

A word of caution

20

CHAPTER 1 About WordPress

21

Why WordPress?

21

Easy to Set Up

21

Easy to Use

22

Easy to Extend

23

The Business Benefits of WordPress

24

Sites Built with WordPress

24

Personal Blogs

24

Blog Networks

26

Social Networks

28

Colleges and Universities

29

Small Businesses

30

WordPress Tour

31

Anatomy of a post

32

Summary

34

CHAPTER 2 Installing and Upgrading

35

System Requirements

35

One-click Installation

35

Installation Using the Web Interface

36

Logging In

40

Editing and Uploading wp-config.php

42

Troubleshooting

43

Installing Themes

45

Installing Plugins

48

Plugging the gaps: Essential Plugins

52

Upgrading Plugins

53

Bulk Upgrades

54

Upgrading WordPress

55

Automatic Upgrades

56

Automatic Upgrades via FTP or SSH

57

Manual Upgrades

58

Moving a WordPress Site

59

Summary

60

CHAPTER 3 Dashboard and Settings

61

The Dashboard

62

QuickPress

63

Incoming Links

63

WordPress Development Blog

64

Plugin dashboard widgets

64

Dashboard Widgets and Users

64

Settings

65

General

65

Writing

67

Remote Publishing and Posting by E-mail

68

Update Services

68

Reading

68

Discussion

69

Default Article Settings

70

Other Comment Settings

71

Comment E-mail Notifications

72

Comment Moderation

73

Avatars

73

Media

74

Directory for file uploads

75

Privacy

76

Permalinks

77

Short URLs

79

Category Base

79

Summary

79

CHAPTER 4 Working with Content

80

Posts

80

Content

82

Dealing with Content from Microsoft Office

84

Shortcodes

85

Permalinks

89

Publish Settings

89

Publication Date and Scheduling Posts

90

Categories

90

Tags

91

Featured Images

93

Excerpts

94

Comments and Trackbacks

94

Revisions

96

Custom Fields

97

Pages

97

Page Attributes: Parents, Templates, and Order

97

Posts vs. Pages: Same, but Different

101

Posts are Pages

Pages are Posts102

Editing Posts and Pages

102

Autosave

102

Screen Options

103

Quick Edit

105

Bulk Edit

106

Media Files

107

Images and Galleries

107

Uploading an Image from Your Computer

108

Inserting an Image from a URL

110

Editing Images

111

Galleries

112

Video

113

oEmbed

113

Audio

115

Podcasting

115

Other File Types

116

File Sizes and Upload Permissions

116

The Media Library

116

Links

117

Basic Link Attributes

117

Link Relationships: XFN™

118

Advanced Link Attributes

120

Link Feed

120

Feeds

120

Summary

122

CHAPTER 5 Importing Content

123

Before Importing

123

Importing Blogs

123

Importing from WordPress.com

125

Importing from Blogger

128

Importing Joomla or Mambo Sites

131

Importing Other MySQL-based Sites

134

Drupal

134

Importing HTML Files

135

After Importing: Fixing What’s Broken

138

Link URLs

138

Paths to Linked Files

139

Truncated or Garbled Content

140

Summary

141

CHAPTER 6 Creating a Basic Theme

142

Using Widgets

142

Using Menus

144

Creating a Menu

144

Editing Menu Items

145

Creating Multiple Menus

146

Using Header and Background Images

147

Turning HTML into a Theme

149

Header

151

Body

152

Body and Post Classes

152

Content: The Loop

153

Comments

156

Sidebar

157

Footer

158

Stylesheet

158

Template Tags

159

Date and Time Tags

160

Theme Files

161

Theme File Hierarchy

162

The Home Page

163

Single Posts

163

Pages

163

Custom Content Types

163

Category Archives

164

Tag Archives

164

Custom Taxonomy Archives

164

Author Archives

165

Date-Based Archives

165

Search Results

165

Error 404 (File Not Found) Page

165

Attachment Pages

166

Listing Comments

166

Including Additional Files

168

Styling Content

168

Changing Appearance Based on Context

168

Conditional Tags

169

Posts vs. Pages

170

Categories

170

Author Archives

171

Search Results

172

Creating Navigation Menus

172

Custom Navigation Tag

172

Page Lists and Page Menus

172

Changing the Page Order

173

Changing Which Pages are Listed

176

Including Links to Things Outside WordPress

176

Category Lists

177

Theme Functions

177

Enabling Widgets

178

Enabling Menus

180

Enabling Featured Images

180

Enabling Custom Backgrounds and Headers

181

Enabling Shortcodes in Text Widgets

182

Changing Excerpt Length and Ellipsis

183

Other Uses

184

Child Themes

184

Child Theme File Hierarchy

185

Troubleshooting Themes

188

Summary

188

CHAPTER 7 Creating an Advanced Theme

189

Modifying the Loop

189

Excluding a Category from the Home Page

190

Showing Only One Category on the Home Page

191

Showing Most Recent Pages Instead of Posts

191

Looping Through All Children of a Page

192

Listing Attached Files

194

Multiple Loops

195

Resetting the Query

197

A Loop for Each Category

197

Showing the Author’s Other Recent Posts

201

Accessing Post Information Outside the Loop

202

Search Engine Optimization (SEO)

202

Improving the Title Tag

202

Using Categories and Tags as Keywords

203

Using the Excerpt as a Description

204

Short Links and Canonical URLs

204

Adding Scripts and Stylesheets

205

Using JavaScript Libraries

205

Adding Your Own Scripts

206

Conditionally Adding Scripts

207

Adding Stylesheets

208

Outside the Theme Hierarchy: Database Errors and Maintenance Messages

208

Theme Options

209

Adding an Options Page

209

Registering Options

210

Creating an Options Form

211

The checked() and selected() Functions

213

Saving Form Input into a Single Variable

214

Adding a Stylesheet to the Options Page

214

Putting it All Together

215

Theme Frameworks

217

Distributing Themes

217

Theme Checklist

217

Summary

219

CHAPTER 8 Creating Widgets

220

Basic Widgets

220

Examining the Calendar Widget

220

The Options Form

222

The Update Function

223

The Widget Output

223

Setting up the Widget

224

Creating Your Own Widget

225

More Widget Examples

232

Dashboard Widgets

233

Configuration Screens

235

Summary

238

CHAPTER 9 Creating Plugins

239

Getting started

239

Creating a Template Tag

240

Creating Template Tags with Arguments

241

Making Room for Options

242

Adding an Options Page

246

The Settings API

248

Registering Settings and Creating Defaults

248

Creating the Options Form

249

Updating Options

253

Deleting Options

254

Wrapping Up

254

Plugin Possibilities

259

The Shortcode API

260

Checking for Capabilities

262

Creating an Editorial Comment Shortcode

262

Listing Private Pages

263

Hooks: Filters and Actions

264

Actions

264

Creating Private Categories

265

Filters

266

Appending a List of Child Pages

267

Changing the “Private” and “Password Protected” labels

267

Other Filters

268

Prioritizing and Troubleshooting Actions and Filters

268

Variations on Option Pages

269

Adding Other Submenus

269

Adding a Top-level Menu Item

269

Adding a Section to an Existing Options Page

270

Publishing a Plugin

272

Readme Files and Screenshots

272

Subversion (SVN)

274

Basic Concepts

274

Branches, Tags, and Trunk

275

Client Software

276

Localization and Internationalization

280

Wrapping Strings in Gettext Calls

280

Adding the Gettext Domain

282

Creating the .POT File

283

Adding the i18n Function Block

283

Summary

284

CHAPTER 10 Users and Roles

285

Users

285

Displaying a User’s Information

287

Extending User Profiles

288

Changing Contact Fields

288

Creating More Profile Fields

289

Displaying All Users’ Information

290

Roles

292

Roles in Action: Notifications, Moderation, and Workflow

293

Improving Workflow with Plugins

295

Notification of Posts Pending Review

295

Notifying All Administrators

295

Viewing Scheduled Posts

296

Complete Workflow

296

Changing, Creating, and Removing Roles

298

Modifying Roles

298

Creating Roles

299

Creating a Role for Designers

300

Removing Roles

301

Managing Roles with Plugins

301

Members Plugin

301

Summary

302

CHAPTER 11 Performance and Security

303

Caching

303

Setting up Super Cache

304

Basic Settings

305

Compression

306

Other Settings

307

Caching and Mobile Stylesheets

308

Permalinks and Performance

309

Tracking Down Performance Problems

310

Securing Logins

311

Login Lockdown

312

SSL

313

Removing The Meta Generator Tag

313

File Permissions

313

Securing .htaccess and wp-config.php

314

Changing File Locations

314

Moving wp-config.php

315

Giving WordPress Its Own Subdirectory

315

Moving wp-content

316

Database Security

317

Changing the Table Prefix

317

Backing Up the Database and Files

318

Monitoring Security Problems

319

Summary

321

CHAPTER 12 Custom Content Types,Taxonomies, and Fields

322

Custom Taxonomies

322

Non-hierarchical Taxonomies

325

Hierarchical Taxonomies

328

Using Custom Taxonomies

329

Other Taxonomy Examples

333

Custom Content Types

334

Non-hierarchical (Post-like) Content Types

337

Hierarchical (Page-like) Content Types

340

Custom Taxonomies for Custom Content Types

341

Changing Edit Screen Columns

343

Changing Column Headers

343

Displaying Column Contents

345

Including Custom Content Types in Your Theme

346

Feeds for Custom Content Types

348

Custom Fields in Custom Content Types

349

Creating the Custom Fields

350

Verifying and Saving User Input

353

All Together

354

Summary

359

CHAPTER 13 Setting up the Network

360

Network Requirements

360

Subdomains

360

Subfolders

361

Activating the Network

361

Configuring the Network

363

Operational Settings

364

Dashboard Settings

364

Registration Settings

365

New Site Settings

366

Upload Settings

367

Menu Settings

369

Creating Additional Network Sites

369

Network Users

370

Splogs

371

Network Plugins and Themes

372

Plugin and Theme Options

374

Upgrading the Network

374

Mapping Domains

375

BuddyPress

377

Features

377

Activity Stream

377

Groups

378

Forum

378

Friends and Private Messages

379

Installation

379

General

380

Components

381

Forums

382

Profile

382

Using BuddyPress

384

Summary

384

APPENDIX A Plugin Index

385

Editing: Inline, Rich Text, Reusable Content, and Attachments

385

Excerpts

385

Custom Post Types, Taxonomies, and Fields

386

Page Order

386

Page Lists & Navigation

386

Alphabetical Sorting

387

Permalinks & Short URLs

387

Feeds

387

E-mail Notifications

387

Forms

388

Users, Permissions, and Login Screens

388

Visitor Statistics

388

Podcasts

388

Social Media

389

Social Networks

389

Events and Calendars

389

Caching

389

Performance, Maintenance, and Diagnostics

389

Mobile

390

Widgets

390

Search Engine Optimization

391

Importing Content

391

Network Sites

391

APPENDIX B Theme Functions

392

APPENDIX C Plugin Recipes

395

Wiki

395

Document Sharing

396

Project Management

397

Newsroom

397

Twitter Archive

398

News Clipping Archive

398

Index

399