售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
WordPress 3.7 Complete Third Edition
Table of Contents
WordPress 3.7 Complete Third Edition
Credits
About the Authors
About the Reviewers
www.packtpub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code for the book
Errata
Piracy
Questions
1. Introducing WordPress
Getting into WordPress
Using it for a blog or website
Understanding the common terms
Post
Categories and tags
Comments
Theme
Plugin
Widget
Menus
RSS
Page
Users
Choosing WordPress – the reason why
A long time in refining
Active in development
Large community of contributors
Amazingly extendable
Getting to know the WordPress family
Digging into WordPress – the features
Getting familiar with the new feature list since 3.0
Learning more
Learning more with the online WordPress resources
Staying updated through WordPress news
Understanding the Codex
Getting support from other users
Using theme and plugin directories
Summary
2. Getting Started
Building your WordPress website – start here
Using WordPress.com
Publishing your first content on a WordPress.com blog
Installing WordPress manually
Preparing the environment
Downloading WordPress
Upgrading from an earlier version of WordPress
Uploading the files
Installing WordPress
Installing WordPress through a hand-built configuration file
Learning more
Installing WordPress through an autoinstaller script
The WP Admin panel
Changing general blog information
Creating your first post
Writing your first comment
Retrieving a lost password
Getting a Gravatar
Summary
3. Creating Blog Content
WP Admin conventions
Lists of items
Posting on your blog
Adding a simple post
Common post options
Categories and tags
Images in your posts
Adding an image to a post
Controlling default image sizes
Editing an uploaded image
Designating a featured image
Using the visual editor versus text editor
Lead and body
Drafts, pending articles, timestamps, and managing posts
Drafts
Pending articles
Timestamps
Managing posts
Advanced post options
Excerpt
Sending pingbacks and trackbacks
Discussion
Custom Fields
Working with post revisions
Changing the author of the post
Protecting content
The pretty post slug
Custom post format settings
Additional writing options
Press This
Posting via e-mail
External blogging tools
Mobile apps for iOS and Android
Discussion on your blog – comments
Adding a comment
Discussion settings
Submission, notification, and moderation settings
When to moderate or blacklist a comment
Avatar display settings
Moderating comments
How to eliminate comment spam
Getting an Akismet API key
Activating Akismet
Adding and managing categories
Summary
4. Pages, Menus, Media Library, and More
Pages
Adding a page
Parent
Template
Order
Managing pages
Menus
Adding a menu
Displaying a menu
Header
Advanced site customization
Links
Adding a new link
Displaying links
Managing links and categories
Media library
Media Manager
Adding an image gallery
Choosing a post or page
Selecting/uploading images
Importing/exporting your content
Importing content
Exporting content
Summary
5. Plugins and Widgets
Breaking down plugins – what are they?
Why to use plugins
Where to get plugins
Finding new plugins
Installing a plugin – the how-to
Manual plugin installation
Autoinstallation
The must-have pack of plugins
Backing up
Enabling Google Analytics
Caching
Search Engine Optimization (SEO)
Securing your site
Jetpack
Switching to maintenance mode
Widgets
Summary
6. Choosing and Installing Themes
Finding themes
WordPress Themes Directory
Main types of themes
Finding more themes
Some not-design-related theme basics
The structure of a theme
Factors to consider when choosing a theme
The purpose of the theme
Theme licensing
Up-to-date themes only
Themes that are customizable
Themes with responsive structure
Support, reviews, and documentation
Installing and changing themes
Adding a theme within the WP Admin
Downloading, extracting, and uploading
Summary
7. Developing Your Own Theme
Setting up your design
Designing your theme to be WordPress friendly
Two paths of theme development
Building a theme from the ground up
Building a theme with a framework
Converting your design to code
Examining the HTML structure
Examining the CSS
Converting your build into a theme
Creating the theme folder
Adding WordPress content
The functions.php file
The <head> tag
The header and footer
The sidebar
The main column – the loop
Creating templates within your theme
Understanding the WordPress theme
Breaking it up
header.php
footer.php
The sidebar.php file
Your four template files
Archive template
Single template
Page template
Generated classes for body and post
Other WordPress templates
Creating and using a custom page template
Making your theme widget friendly
Going back to our "static" sidebar
Working with functions.php
Adding conditional code to sidebar
Adding some widgets
Further widgetizing options
Enabling a menu in your theme
Creating a child theme
Creating the new theme directory
Creating the stylesheet
Using your child theme
Sharing your theme
Summary
8. Feeds, Podcasting, and Offline Blogging
Feed basics
Feed readers
Learning more
Your built-in WordPress feeds
Adding feed links
Feeds for the whole website
Feeds for comments
Tracking subscribers with FeedBurner
Burning your feed on FeedBurner
FeedBurner plugin
Podcasting
Creating a podcast
Recording yourself
Making a post
Dedicated podcasting
Podcasting plugins
Using a service to host audio files for free
Offline blogging tools
The benefits
The tools
Using Windows Live Writer
Summary
9. Developing Plugins and Widgets
Plugins
Building plugins from scratch
Plugin code requirements
Basic plugin – adding link icons
Naming and organizing the plugin files
Writing the plugin's core functions
Adding hooks to the plugin
Trying out the plugin
Adding an admin page
Adding management page functions
Modifying the ahs_doctypes_regex() function
Adding hooks
Trying out the plugin
Testing your plugins
Plugin with DB access – capturing searched words
Getting the plugin to talk to the database
Adding management page functions
Trying out the plugin
Learning more
Widgets
Custom tag cloud widget
Naming our widget
Widget structure
Widget initiation function
Widget form function
Widget save function
Widget print function
Custom widget styles
Initiating and hooking up the widget
Trying out the widget
Learning more
Bundling a widget with an existing plugin
Shortcodes
Shortcodes and the way they work
Types of shortcodes
Creating a simple shortcode
Enabling shortcodes in widgets
Summary
10. Community Blogging
Concerns for a multiauthor blog
User roles and abilities
Super Admin
Administrator
Editor
Author
Contributor
Subscriber
Managing users
Enabling users to self register
Learning more
User management plugins
Creating a multisite website
Summary
11. Creating a Non-blog Website Part One – The Basics
The must-do tasks
Static websites
The process
Building your home page
Creating easy-to-grasp menus
Corporate or business websites
Picking a clean theme
Branding elements
Good navigation
Custom home page
Optional slider
Meteor Slides
SlideDeck 2 Lite Responsive Content Slider
E-commerce stores
Standard setup
Getting the plugin
Custom menu for the store
Main settings of the plugin
Custom container page for the store
Adding products
Stats – orders, coupons, and reports
Summary
12. Creating a Non-blog Website Part Two – Community Websites and Custom Content Elements
Membership websites
Taking the simple approach
Using membership plugins
Taking the free approach
Installing the plugin
Using the plugin
Video and photo blogs
Exploring themes for video and photo sites
Getting plugins for video and photo sites
Social networks
Installing a social network
Designing your social network
Extending the functionality
User accounts and activity
Introducing custom post types
Registering a new post type
Adding labels
Adding messages
Creating book template files
Registering and using a custom taxonomy
Customizing the admin display
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜