中文名:
WordPress 宝典
原名:
WordPress Bible
别名:
WordPress,Bible,宝典,PHP,CMS
作者: Aaron Brazell资源格式: PDF
出版社: Wiley书号: 978-0-470-56813-2发行时间: 2010年
地区: 美国
语言: 英文
简介:
WordPress 是一种使用 PHP 语言和 MySQL 数据库
开发的开源、免费的 Blog(博客,网志)引擎,用户可以在支持 PHP 和 MySQL 数据库的服务器上建立自己的 Blog。
WordPress 是一个功能非常强大的博客系统,插件众多,易于扩充功能。安装和使用都非常方便。目前
WordPress 已经
成为主流的 Blog 搭建平台。
WordPress 的原版是英文版的,UTF-8 编码,最新版本为 2.9。为满足日益庞大的中文用户需求开辟了中文官方站点且提供中文版程序下载。还有爱好者
开发了中文语言包,使其可以支持中文。不过,由于使用的编码原因,中文字符截断时会出现乱码。不过桑葚网友制作的中文
WordPress 工具箱插件可以解决这个问题。
WordPress 可以说是世界上目前最先进的 weblog 程序。目前
开发的程序大多都是根据它仿造的。它更能把握搜索引擎,在你使用
WordPress 并掌握几种插件后,对于优化将不用过多的操心,它会为你想的更多。
WordPress有许多第三方
开发的免费模板,安装方式简单易用。不过要做一个自己的模板,则需要你有一定的专业知识。比如你至少要懂的HTML代码、CSS、PHP等相关知识。
Install
WordPress and go beyond blogging
WordPress is so flexible that developers are now tapping it to create robust applications for content, contact, and e-mail management. Whether you
're a casual blogger or programming pro, this comprehensive guide covers
WordPress from the basics through advanced application development. Learn how to use custom plugins and themes, retrieve data, maintain security, use social media, and modify your blog without changing any core code. You
'll even get to know the ecosystem of products that surrounds this popular, open-source tool.
Enhance your blog
's findability in the search engines and beyond
Discover hooks and leverage the
WordPress event-driven programming interface
Create
WordPress widgets in o
nly a few minutes
Explore alternate uses of
WordPress
Enhance your blog with
WordPress MU
Ensure your plugins maintain future compatibility
Create highly customizable and dynamic themes using template tags
Learn best security practices as a user and developer
Companion Web Site
Visit www.wiley.com/go/
wordpressbible for all of the author
's example files from the book.
Install, secure, and maintain
WordPress
Extend
WordPress with plugins and themes
Enhance your blog with
WordPress MU
目录:
Credits
A
bout the Author
A
bout the Technical Editor
Co
ntents
Preface
WordPress Versio
ning
Getting the Most Out of This Book
Using the Margin Icons
Part I: Getting Started with
WordPress
Chapter 1: Learning A
bout
WordPress
A Brief History of
WordPress
Leveraging the
WordPress Community
WordPress by the Numbers
10 Things You Need to Know A
bout
WordPress
Understanding Open Source and the General Public License
Summary
Chapter 2: Installing and Co
nfiguring
WordPress
System Requirements
Choosing a Web Server
Installing
WordPress
Summary
Chapter 3:
WordPress, SEO, and Social Media Marketing
Understanding the Basics of Search Engine Optimization
Leveraging Social Networks to Extend Your Blog
Summary
Chapter 4: Finding Help in the
WordPress Support System
Using the
WordPress Codex
Staying in the Loop with Mailing Lists
Finding Help in the
WordPress Support Forums
Summary
Part II: Working with Plugins
Chapter 5: Extending
WordPress with Plugins
Understanding
WordPress Hooks
Writing Your Own Plugin
Extending the
WordPress Admin
Creating Events with Actions
Modifying Co
ntent with Filters
Using Multi-Argument Hooks
Localizing Plugins
Summary
Chapter 6: Widgetizing
WordPress
Using Widgets in
WordPress
Building Widgets with the Widget API
Widgetizing Your Theme
Summary
Chapter 7: Understanding the
WordPress Datab
ase Class
Examining the Schema and Properties of the Datab
ase Class
Adding Data to MySQL with
WordPress
Retrieving Data from MySQL with
WordPress
Preventing SQL Injection
Summary
Chapter 8: Dissecting the Loop and WP_ Query
Defining the Loop
Wrangling the Loop with Plugins
Developing Custom and Multiple Loops
Using Loops Strategically
Summary
Part III: Working with Themes and Template Tags
Chapter 9: Using Free or Premium Themes
Understanding the User Experience
Finding and Implementing Free Themes
Finding and Implementing Premium Themes
Summary
Chapter 10: Understanding the Template File Hierarchy
Looking at the Minimum Necessary Template Files
Understanding the Common Template Files
Enhancing the User Experience with Template Files
Developing Custom Template Files
Summary
Chapter 11: Adding JavaS
cript and CSS to Themes
Examining the jQuery and Prototype F
rameworks
Leveraging
WordPress’ JavaS
cript Libraries
Examining
WordPress Plugins that Use JavaS
cript Effects
Looking at Theme Styles
Summary
Chapter 12: Dissecting the Comment Loop, Template Tags, and Theme Best Practices
Using Hooks in Themes
Implementing S
cripts in Themes
Using Template Tags to Make Themes Dynamic
Creating Co
nversations with Threaded Comments and Paged Comments
Perso
nalizing the Reader Experience with Avatars
Summary
Part IV: Creating Co
ntent
Chapter 13: Navigating the Co
ntent Production Experience
Customizing Your Workspace
Leveraging the Elements of Co
ntent Creation
Hacking Your Experience: Getting the Most Out of Writing
Summary
Chapter 14: Using Offline Editors
What Is XML-RPC?
Understanding XML-RPC Security Risks
Looking at Offline Blog Editors
Summary
Part V: Keeping Up with the Joneses: Maintenance and Upgrades
Chapter 15: Performing Automatic Upgrades
Meeting the Minimum Automatic Upgrade Requirements
Disabling the “Upgrade Nag”
Performing Automatic Upgrades
Using SSH for Automatic Upgrades
Summary
Chapter 16: Moving to
WordPress and Backing It Up
Moving a Blog to
WordPress
I
mporting Tags into
WordPress
Looking at Backup Routines
Summary
Chapter 17:
WordPress Maintenance and Security
Upgrading
WordPress
Choosing an FTP Client
Practicing Sound
WordPress Security
Summary
Chapter 18: Caching Strategy to Ensure
WordPress Scales
Understanding Caching
Using
WordPress Caching Mechanisms
Optimizing PHP with Opcode Caching
Caching MySQL with HyperDB and the Query Cache
Harnessing the “Cloud”
Summary
Chapter 19: Understanding
WordPress Roles and Capabilities
Looking at
WordPress Roles and Capabilities
Using the Role Manager Plugin
Summary
Part VI: Alternate Uses for
WordPress
Chapter 20: Using
WordPress for Alternative Blogging
Photoblogging with
WordPress
Implementing a Twitter-style Blog
Using Press This for a Tumble Blog
Summary
Chapter 21:
WordPress as a Co
ntent Management System
Using
WordPress as a Co
ntent Management System
Understanding Enterprise
WordPress Needs
Co
nveying a Co
nsistent Message and Brand
Understanding When a Blog Is Not a Blog
Summary
Part VII: Looking at the
WordPress Ecosystem
Chapter 22: Leveraging
WordPress MU and Multi-Blog Functio
nality
Installing and Co
nfiguring
WordPress MU
Co
nverting a
WordPress Blog to
WordPress MU
Understanding
WordPress MU Plugin Nuances
Adapting to
WordPress MU
Summary
Chapter 23: Adding User Forums with bbPress
Installing bbPress
Finding bbPress Plugins
Understanding the bbPress Theme System
Summary
Chapter 24: Creating Your Own Social Network with BuddyPress
What Is BuddyPress?
Co
nfiguring BuddyPress
Comparing BuddyPress and
WordPress Development
Looking at BuddyPress Theme Co
ncepts
Extending BuddyPress
Summary
Chapter 25: Using BackPress as a Development F
ramework
Defining BackPress
Developing with BackPress
Solving BackPress Dependencies
Summary
Chapter 26:
WordPress.com and the Automattic Products
A
bout Automattic
Taking a Look at Automattic’s Propriety Products
Using
WordPress.com Themes
Getting Your Plugin Included in
WordPress.com
Buying Premium
WordPress.com Features
Summary
Chapter 27: Leveraging Automattic Products
Obtaining a
WordPress.com API Key
Using Akismet to Kill Spam
Making Use of
WordPress.com Stats
Engaging Readers with IntenseDebate
Crowdsourcing with PollDaddy
Summary
Part VIII: Appendixes
Appendix A:
WordPress Hook Reference
Using Actions
Using Filters
Hook Reference: Alphabetical Listing
Hook Reference: General Uses
Summary
Appendix B: Template Tags
Understanding the Template Tag Co
ncept
Breaking Down the
WordPress Templating System
Summary
Appendix C: What A
bout PHP 5?
PHP 4 versus PHP 5: Understanding Core Differences
WordPress and PHP 5
Summary
Appendix D:
WordPress Hosting
Features and Requirements of Web Hosts
Types of Web Hosts
Summary
Appendix E:
WordPress Vendors and Professio
nal Services
Top Co
nsultants in the
WordPress Community
Directory of Automattic-Recommended Co
nsultants
Summary
Appendix F:
WordPress in Government
WordPress Use in the Federal Government
WordPress Use Outside the United States
Summary
Appendix G:
WordPress in Major Media
Newsroom Challenges for
WordPress
Roadmapping
WordPress in Major Media
Summary
Appendix H: The General Public License
Preamble
GNU GENERAL PUBLIC LICENSE