1. Trang chủ
  2. » Công Nghệ Thông Tin

Digging into wordpress v3

446 475 1

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • 1.1.1 Welcome

    • 1.1.2 Why WordPress is Amazing

    • 1.1.3. How to Setup and Configure WordPress

    • 1.1.4 How to Implement Advanced Functionality

    • 1.1.5 How to Optimize and Secure WordPress

    • 1.1.6 How to Maintain Your WordPress Site

    • 1.1.7 Don’t Worry

  • 1.2.1 So, You’ve Never Heard of WordPress

    • 1.2.2 One Template, Many Pages

    • 1.2.3 Powerful, Flexible and Extensible

  • 1.3.1 Key Components of a WordPress Site

    • 1.3.2 WordPress Core Files

    • 1.3.3 The WordPress Database

    • 1.3.4 The Back End

    • 1.3.5 The Front End

  • 1.4.1 Tools of the Trade

    • 1.4.2 A Domain Name

    • 1.4.3 Web Host / Server

    • 1.4.4 Text / Code Editor

    • 1.4.5 FTP Program

  • 2.1.1 The Famous Five Minute Install

    • 2.1.2 Where To Install?

    • 2.1.3 Checking Default Performance and Proper Functionality

  • 2.2.1 OK, I’m In. Now What?

    • 2.2.2 Just Publish Something!

    • 2.2.3 Go Look At It!

    • 2.2.4 The Plan

  • 2.3.1 Permalinks: Your URL Structure

    • 2.3.2 HTAccess

    • 2.3.3 Which Style of Permalinks?

    • 2.3.4 Pick One and Stick With It

    • 2.3.5 SEO Consideration: Mind Your Post “Slugs”

  • 2.4.1 Categories and Tags

    • 2.4.2 They Are Basically the Same

    • 2.4.3 Use Only One Category Per Post

    • 2.4.4 Use Multiple Tags Per Post

    • 2.4.5 Don’t Go Overboard!

    • 2.4.6 You Don’t Need to Use Them At All

    • 2.4.7 Custom Taxonomies

  • 2.5.1 Users and Administrators

    • 2.5.2 Add a New Account for Yourself

  • 2.6.1 Choosing the Perfect Theme

    • 2.6.2 Where to Find Awesome Themes

    • 2.6.3 Previewing Themes

    • 2.6.4 Key Things to Look For in a Theme

  • 2.7.1 Getting Started with Plugins

    • 2.7.2 Installing and Activating Plugins

    • 2.7.3 Difference Between Disabling and Uninstalling

    • 2.7.4 Recommended Plugins

  • 3.1.1 Understanding Theme Files

    • 3.1.2 Every Theme is Different

    • 3.1.3 Commonly Used Theme Files

    • 3.1.4 How Theme Files Work Together

  • 3.2.1 Understanding Different Page Views

    • 3.2.2 Page Views are for Pages

    • 3.2.3 Single Views are for Posts

    • 3.2.4 The Many Faces of Archive Views

    • 3.2.5 How WordPress Decides which File to use for Rendering the View

  • 3.3.1 Kicking It Off with the Header

    • 3.3.2 The DOCTYPE and HTML Attributes

    • 3.3.3 META Elements

    • 3.3.4 The Title

    • 3.3.5 Link Elements

    • 3.3.6 The wp_head() Function

    • 3.3.7 Template Tags

    • 3.4.2 The Loop in Plain English

    • 3.4.3 The Loop Just Knows...

    • 3.4.4 Some Common “Loop Only” Functions

    • 3.4.5 Some Common “Outside Loop” Functions

  • 3.5.1 Comments

    • 3.5.2 The comments.php File

    • 3.5.3 Selective Inclusion for Different Views

  • 3.6.1 The Sidebar

    • 3.6.2 Purpose and Placement

    • 3.6.3 Popular Sidebar Functions 75

    • 3.6.4 Widgets, Widgets, Widgets

  • 3.7.1 The Search Form

    • 3.7.2 Why is This a Separate File?

    • 3.7.3 Alternatives to WordPress Search

  • 3.8.1 The Footer

    • 3.8.2 The wp_footer() Hook

    • 3.8.3 Mini Footers / Mega Footers

  • 3.9.1 Theme Functions

    • 3.9.2 Functions are for Specific Themes

    • 3.9.3 Advantage Over Core Hacks

  • 4.1.1 Customizing the Loop

    • 4.1.2 The Loop Doesn't Care About Markup

    • 4.1.3 The Power of query_posts

    • 4.1.4 Displaying Different Numbers of Posts

    • 4.1.5 Excluding Specific Categories

    • 4.1.6 Changing the Sort Order

    • 4.1.7 Show Specific Pages, Embed a Page within a Page

    • 4.1.8 Using Multiple Loops

  • 4.2.1 Sidebars and Footers

  • 4.3.1 Menus, Archive Lists & Tag Clouds

    • 4.3.2 Page-Specific Menu Styles

    • 4.3.3 Create the Perfect Archives Page

    • 4.3.4 Impress Your Visitors with a Tag Cloud

  • 4.4.1 Side Content and Useful Menu Items

    • 4.4.2 Displaying Recent Comments

    • 4.4.3 Displaying Recent Posts

    • 4.4.4. Listing Popular Posts

    • 4.4.5 Listing Recently Modified Posts

    • 4.4.7 Import and Display Twitter

    • 4.4.9 Import and Display Other Content

  • 4.5.1 Creating and Using Child Themes

  • 4.6.1 Styling Your Theme

    • 4.6.2 Different Inclusion Methods

    • 4.6.3 To Reset or Not To Reset?

  • 4.7.1 Using Multiple Themes

  • 4.8.1 Widgetizing

  • 5.1.1 Extensibility

    • 5.1.2 Extending WordPress with Plugins

    • 5.1.3 A Plugin for (Almost) Everything

    • 5.1.4 Do You Need a Plugin?

    • 5.1.5 Choosing the Perfect Plugin

  • 5.2.1 Plugin Usage and Maintenance

    • 5.2.2 Sequential Installation

    • 5.2.3 Keep Plugins Up-To-Date

    • 5.2.4 Subscribe to Plugin Comment Threads

    • 5.2.5 Getting Help with Plugins

    • 5.2.6 Diagnosing Plugin Conflicts

    • 5.2.7 Disabling and Uninstalling Plugins

    • 5.3.2 Plugins vs. Theme Functions (via functions.php)

    • 5.3.3 Useful Examples of Theme Functions

    • 5.3.4 Example #1: Easy Admin Buttons for Comments

    • 5.3.5 Example #2: Sitewide Shortcode Functionality

    • 5.3.6 Example #3: Transferring Plugins to functions.php

    • 5.3.7 Example #4: Transferring Functions to a Plugin

  • 5.4.1 Other Ways to Extend WordPress Functionality

    • 5.4.2 Functions Within Theme Files

    • 5.4.3 Hacking the WordPress Core

  • 5.5.1 WordPress as a Content Management System (CMS)

    • 5.5.2 CMS Features Built Into WordPress

    • 5.5.3 Working With Custom Fields

    • 5.5.4 Users, Roles and Permissions

    • 5.5.5 Categorizing, Tagging, and Custom Taxonomies

    • 5.5.6 Page Templates

    • 5.5.7 Page, Category, and Tag Hierarchies

    • 5.5.8 Dynamic Menus

  • 5.6.1 Extending CMS Functionality

    • 5.6.2 CMS-Related Plugins

    • 5.6.3 Using WordPress as a Forum

    • 5.6.4 Integration with Third-Party Forum Applications

    • 5.6.5 Multiple Blogs with WordPress MU

  • 6.1.1 Working with RSS Feeds

    • 6.1.2 Quick Introduction to Feeds

    • 6.1.3 Dynamic Publishing and Content Distribution

    • 6.1.4 The Pros and Cons of Delivering RSS Feeds

  • 6.2.1 Different Types of WordPress Feeds

    • 6.2.2 Posts Feed

    • 6.2.3 Comments Feed

    • 6.2.4 Individual Post Comments Feed

    • 6.2.6 Other Feed Types

  • 6.3.1 Feed Configurations and Formats

    • 6.3.2 Full Feeds

    • 6.3.3 Partial Feeds

    • 6.3.4 Number of Posts

    • 6.3.5 WordPress Feed Formats

  • 6.4.1 Using FeedBurner For Feed Delivery

    • 6.4.2 Benefits of Using FeedBurner

    • 6.4.3 Setting Up and Configuring a FeedBurner Account

    • 6.4.4 Redirecting to FeedBurner via Plugin

    • 6.4.5 Redirecting to FeedBurner via HTAccess

    • 6.4.6 Redirecting to FeedBurner via PHP

  • 6.5.1 Tracking and Displaying Feed Statistics

    • 6.5.2 Types of Statistics Provided by FeedBurner

    • 6.5.3 Displaying FeedBurner Statistics

    • 6.5.4 Alternatives to FeedBurner

  • 6.6.1 Customizing Feeds

    • 6.6.2 Formatting Feed Images

    • 6.6.3 Adding a Custom Feed Image

    • 6.6.4 Include Comments in Feeds

    • 6.6.5 Creating Custom Feeds

    • 6.6.6 More Feed Customization Tricks

    • 6.6.7 Styling Feeds

    • 6.6.8 Removing the WordPress Version Number

    • 6.6.9 Disable and Redirect Unwanted Feed Formats

    • 6.6.10 Insert Custom Content into Feeds

    • 6.6.11 Importing and Displaying External Feeds

    • 6.6.12 Buffer Period After Posting

    • 6.6.13 Protecting Feed Content

  • 6.7.1 Validating Feeds

    • 6.7.2 Diagnosing and Troubleshooting Errors

  • 7.1.1 Optimizing the WordPress Comments Area

    • 7.1.2 Welcome to the WordPress Comments Area

    • 7.1.3 About the WordPress Comment System

    • 7.1.4 Comments, Pingbacks and Trackbacks

    • 7.1.5 Anatomy of the WordPress Comment Area

  • 7.2.1 Syndicating WordPress Comments

    • 7.2.2 WordPress Main Comments Feed

    • 7.2.3 Post-Specific Comment Feeds

  • 7.3.1 Formatting the Comments Area

    • 7.3.2 Using wp_list_comments() or a Custom Loop?

    • 7.3.3 Implementing Paged Comments

    • 7.3.4 Implementing Threaded Comments

    • 7.3.5 Separating Comments, Pingbacks and Trackbacks

    • 7.3.6 Eliminating Pingbacks and Trackbacks

    • 7.3.7 Control Comments, Pingbacks and Trackbacks Directly with the Database

  • 7.4.1 Customizing Comment Display

    • 7.4.2 Numbering Comments Globally and Locally

    • 7.4.3 Alternating Comment Styles

    • 7.4.4 Custom Styles for Authors and Members

    • 7.4.5 Styling Comments with Gravatars

    • 7.4.6 Add a "Your comment is awaiting moderation" Message

    • 7.4.7 Moderation Links in the Theme Itself

    • 7.4.8 Display Comment, Ping/Trackback Counts

  • 7.5.1 Optimizing the Comment Form

    • 7.5.2 Setup Comment Previews

    • 7.5.3 Rich-Text Editors for Comments

    • 7.5.4 Adding Comment Quicktags

    • 7.5.5 Comment Management and Spam Prevention

  • 7.6.1 Controlling Comment Spam

    • 7.6.2 WordPress' Built-In Anti-Spam Functionality

    • 7.6.3 Anti-Spam Plugins for WordPress

  • 7.7.1 Other Considerations & Techniques

    • 7.7.2 Enhancing and Encouraging Comments

    • 7.7.3 "nofollow" Links

    • 7.7.4 Integrating Twitter

  • 8.1.1 SEO Strengths and Weaknesses

    • 8.1.2 Strong Focus on Content

    • 8.1.3 Built-In "nofollow" Comment Links

    • 8.1.4 Duplicate Content Issues

  • 8.2.1 Controlling Duplicate Content

    • 8.2.2 Meta noindex and nofollow Tags

    • 8.2.3 Nofollow Attributes

    • 8.2.4 Robots.txt Directives

    • 8.3.1 Optimizing Permalink Structure 302

    • 8.3.2 Default URLs vs. "Pretty" Permalinks

    • 8.3.3 Keep Permalinks Short

    • 8.3.4 Maximize Permalink Keywords

  • 8.4.1 Scoring with Google

    • 8.4.2 Content, Content, Content

    • 8.4.3 Detecting Duplicate Content

    • 8.4.4 Optimizing Heading Elements

    • 8.4.5 Optimizing Title Tags

    • 8.4.6 The nofollow Wars

    • 8.4.7 Fixing Broken Links

    • 8.4.8 Using a Sitemap

    • 8.4.9 Other SEO tips

    • 8.4.10 SEO-Related plugins

  • 8.5.1 Tracking the Success of Your Site

    • 8.5.2 Statistical WordPress Plugins

    • 8.5.3 Shaun Inman’s Mint Stats

    • 8.5.4 Google Analytics

    • 8.5.5 Other Metrics

  • 8.6.1 Closing Thoughts on SEO

  • 9.1.1 Keeping a Site Healthy

    • 9.1.2 Securing WordPress

    • 9.1.3 Setting Secure File Permissions

    • 9.1.4 Disabling Directory Views

    • 9.1.5 Forbid Access to Sensitive Files

    • 9.1.6 Neuter the Default "admin" User Account

    • 9.1.7 Remove the WordPress Version Number

    • 9.1.8 Securing Your Database

    • 9.1.9 Secure Multiple Installations

    • 9.1.10 Prevent Hotlinking

    • 9.1.11 More WordPress Security Help

  • 9.2.1 Stopping Comment Spam

    • 9.2.2 Configuring Your WordPress Admin Options

    • 9.2.4 Using the Built-In Comment Blacklist

    • 9.2.5 Disabling Comments on Old Posts

    • 9.2.6 Deny Access to No-Referrer Requests

  • 9.3.1 Monitoring and Fixing Errors

    • 9.3.2 Alex King's 404 Notifier Plugin

    • 9.3.3 Broken Link Checker Plugin

    • 9.3.4 Other Error-Logging Techniques

    • 9.3.5 Online Monitoring Services

  • 9.4.1 Staying Current with WordPress

    • 9.4.2 Updating WordPress

    • 9.4.3 Logging Changes

    • 9.4.4 Backing Up Your Database and Files

    • 9.5.2 Content and File Caching

    • 9.5.3 File Compression Methods

    • 9.5.4 Optimizing CSS and JavaScript

    • 9.5.5 Reducing the Number of HTTP Requests

    • 9.5.6 Plugin Maintenance

    • 9.5.7 Database Maintenance

    • 9.5.8 Other Optimization Techniques

  • 10.1.1 Everybody Loves Bonus Tricks 377 10.2.1 Add Author Bios to Single Posts 377 10.3.1 Adding a T

Nội dung

Digging into wordpress v3

[...]... components 1.3.2 WordPress Core Files When you go to WordPress. org and download a copy of WordPress, you are downloading the WordPress core files It’s a big folder full of files and a few subfolders full of even more files Once you download and unzip the WordPress package, you’ll notice that most of the file and folder names begin with a “wp-” prefix The WordPress core files are the things that make WordPress. .. you need it • Better for site managers - it puts publishing into their hands with tools meant for normal people to use • Better for visitors - because the site you create with it will be fantastic! WordPress. org WordPress. com This book is about the self-hosted, download-andinstall-it-yourself version of WordPress This is the WordPress to which WordPress. org is dedicated, enabling you to download the latest... Optimizing the WordPress Comments Area 227 7.1.2 Welcome to the WordPress Comments Area 227 7.1.3 About the WordPress Comment System 228 7.1.4 Comments, Pingbacks and Trackbacks 228 7.1.5 Anatomy of the WordPress Comment Area 229 7.2.1 Syndicating WordPress. .. safely say that WordPress is amazing If you are buying this because your boss is making you design a site around WordPress and you are none too happy about it… Bummer But hopefully by the end we can turn your frown upside down and bring you into the light Plan 1 Buy Book 2 ??? 3 Profit! 9 1.1.3 How to Set up and Configure WordPress In this book you are going to learn how to set up WordPress You’ll... 5.4.2 Functions Within Theme Files 151 5.4.3 Hacking the WordPress Core 153 5.5.1 WordPress as a CMS 154 5.5.2 CMS Features Built Into WordPress 154 5.5.3 Working With Custom Fields ... of advanced WordPress functionality can happen without discussing plugins The flock of geniuses that is the WordPress community is responsible for an ocean of plugins that extend and advance the built-in functionality of WordPress We will discuss quite a few of these plugins (all throughout the book), and even share the basics of writing your own In section 5.5.1 you’ll learn about using WordPress as... first version of this book, a serious security bug swept through the WordPress world Any version of WordPress prior to 2.8.4 was affected by it The exploit was able to create an additional administrator account inside WordPress giving access to do just about anything with your site The bug was fixed, users just needed to upgrade! WordPress popularity makes it a big target for bad guys But that same... against comment spam using WordPress built-in features In section 9.3.3 you’ll learn about a plugin to watch for broken links on your site 1.1.7 Don’t Worry We sincerely hope none of this sounds daunting or over your head, because it’s not WordPress is easy, especially compared to its beastly competitors 1.2.1 So, You’ve Never Heard of WordPress If this is your first shindig with WordPress, there are a... Welcome to WordPress 1.1.1 Welcome Welcome to the wonderful world of WordPress Say that ten times fast! Sincere thanks for purchasing our book and we hope the information will be as useful to you as it already has been for us 1.1.2 Why WordPress is Amazing There are all sorts of reasons you may have bought this book, but one of them might be because you are already a fan of working with WordPress That’s... version, participate in the forums, and browse the Codex (the extensive and official WordPress documentation) Perhaps introducing slight confusion, there is also a WordPress. com, which is a hosted blogging service owned by the same parent company (Automattic) Sites hosted at WordPress. com are located at URLs like “yoursite .wordpress. com” and are largely used only for blogs There, you have less control, . Josh and Lorelei, for being so awesome. DIGGING INTO CHRIS COYIER & JEFF STARR See that? That’s dog food. It’s a metaphor. We, the authors of Digging Into WordPress, eat our own dog food. We. to WordPress 1.1.1 Welcome 9 1.1.2 Why WordPress is Amazing 9 1.1.3. How to Set up and Configure WordPress 10 1.1.4 How to Implement Advanced Functionality 10 1.1.5 How to Optimize and Secure WordPress. 151 5.4.2 Functions Within Theme Files 151 5.4.3 Hacking the WordPress Core 153 5.5.1 WordPress as a CMS 154 5.5.2 CMS Features Built Into WordPress 154 5.5.3 Working With Custom Fields 155 5.5.4

Ngày đăng: 21/04/2014, 22:21

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w