O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

WordPress 2.7 Complete

Book Description

Create your own complete blog or web site from scratch with WordPress

  • Everything you need to set up your own feature-rich WordPress blog or web site

  • Clear and practical explanations of all aspects of WordPress

  • In-depth coverage of installation, themes, syndication, and podcasting

  • Explore WordPress as a fully functioning content management system

  • Concise, clear, and easy to follow; rich with examples

In Detail

Using WordPress you can easily create dynamic blogs and web sites with great content and many outstanding features. It is an ideal tool for developing blogs and although it is chiefly used for blogging, it can also be used as a complete CMS with very little effort. You can customize the features, incorporate your own design, and even write your own plug-ins with ease. Its versatility and ease of use have attracted a large, enthusiastic, and helpful community of users. While it is easy to get started with WordPress, its full power is not obvious.

If you want to create a powerful, fully-featured blog or non-blog web site in no time, this book is for you. It will give you a rapid and straightforward introduction to the rich and powerful features of WordPress and get you up and running with a state-of-the-art blog as quickly and painlessly as possible. It will help you learn everything WordPress has to offer, from the ground up, so you can build your complete web site. You will see many of WorPress's hidden powers that will help you build a fully functioning web site.

You will be introduced to the main aspects of a blog – users, communities, posts, comments, news feeds – and learn how to manage them using WordPress. You will learn to install WordPress and customize the look-and-feel of your web site. You will develop the skills and confidence to manage all types of content, be it text or images, on your blog, and also understand how users interact with the blog. By working through the book you'll be inspired as well as informed, and have the capability and the ideas to make your blog cutting edge and exciting to maximize its impact.

More advanced users will also pick up tips on creating your own themes and plug-ins, and such technical steps as backing up your WordPress web site and moving it from one server to another.

Table of Contents

  1. WordPress 2.7 Complete
    1. Table of Contents
    2. WordPress 2.7 Complete
    3. Credits
    4. About the authors
    5. About the reviewers
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code for the book
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Introduction to WordPress
      1. What is a blog?
      2. Common terms
        1. Post
        2. Categories and tags
        4. Permalinks
        5. Theme
        6. RSS
        7. Page
      3. What is WordPress?
      4. Why choose WordPress?
        1. A long time in refining
        2. Active in development
        3. Large community of contributors
        4. Amazingly extendable
        5. Detailed feature list
          1. Learning more
      5. Online WordPress resources
        1. WordPress news
          1. Learning more
        2. The Codex
        3. Theme and plugin directories
        4. WordPress.com
      6. Summary
    8. 2. Getting Started
      1. Where to build your WordPress website
        1. Building on WordPress.com
        2. Installing WordPress manually
          1. Preparing the environment
          2. Downloading WordPress
          3. Uploading the files
          4. Installing WordPress
          5. Learning More
      2. Upgrading WordPress from older installations
          1. Learning More
      3. The WP Admin panel
        1. Changing the password
        2. Changing general blog information
        3. Your first post
        4. Your first comment
        5. Retrieving a lost password
      4. Summary
    9. 3. Blogging Your Heart Out
      1. Posting on your blog
        1. Adding a simple post
        2. Common post options
          1. Categories and tags
          2. Adding an image to a post
          3. Using the Visual editor versus the HTML editor
          4. Drafts, timestamps, and managing posts
            1. Drafts
            2. Timestamps
            3. Managing posts
        3. Advanced post options
          1. Excerpt
          2. Trackbacks
          3. Discussion
          4. Custom Fields
          5. Password and private protection
          6. Post slug
        4. Additional writing options
          1. Press This
          2. Posting via email
      2. Discussion on your blog — comments
        1. Adding a comment
        2. Discussion settings
          1. Submission, notification, and moderation settings
          2. When to moderate or blacklist a comment
          3. Avatar display settings
        3. Moderating comments
        4. How to eliminate comment spam
          1. Getting a WordPress.com API key
          2. Activating Akismet
      3. Adding and managing categories
      4. Summary
    10. 4. Pages, Images, Plugins, and More
      1. Pages
        1. Adding a page
            1. Parent
            2. Template
            3. Order
        2. Managing pages
      2. Links
        1. Adding a new link
        2. Managing links and categories
      3. Media library
      4. Adding an image gallery
        1. Choosing a post or page
        2. Uploading images
        3. Tweaking your gallery
            1. Adding captions to thumbnails
            2. Changing the size of the images in the gallery
            3. Changing the image page
      5. Adding plugins
        1. Finding your plugin
        2. Downloading the plugin
        3. Uploading and activating the plugin
        4. Configuring and/or implementing — if necessary
        5. Auto-installation
      6. Summary
    11. 5. Choosing and Installing Themes
      1. Finding themes
        1. WordPress Theme Directory
        2. Top WP themes
        3. Template Monster
        4. Finding more themes
      2. Factors to consider when choosing a theme
      3. Installing and changing themes
        1. What makes a theme?
        2. Downloading and extracting
        3. Uploading the theme
        4. Previewing and activating
      4. Using widgets
        1. Enabling basic widgets
        2. Multiple sidebars
        3. Adding new widgets
      5. Summary
    12. 6. Developing Your Own Theme
      1. Setting up your design
        1. Designing your theme to be WordPress-friendly
        2. Converting your design to code
          1. Examining the HTML structure
          2. Examining the CSS
      2. Converting your build into a theme
        1. Creating the theme folder
        2. Adding WordPress content
          1. The <head> tag
          2. The header and footer
          3. The sidebar
        3. Main column — the loop
      3. Creating templates within your theme
        1. Understanding the WordPress theme
        2. Breaking it up
          1. header.php
          2. footer.php
          3. sidebar.php
          4. Your four template files
        3. Archive template
        4. Single template
        5. Page template
        6. Other WordPress templates
        7. Creating and using a custom template
      4. Making your theme widget-friendly
        1. Making sure your sidebar is one big <ul> tag
        2. Adding functions.php
        3. Adding conditional code to sidebar
        4. Adding some widgets
        5. Further widgetizing options
          1. Learning more
      5. Sharing your theme
      6. Summary
    13. 7. Feeds and Podcasting
      1. Feed basics
        1. Feed readers
          1. Learning more
      2. Your built-in WordPress feeds
      3. Adding feed links
        1. Feeds for the whole website
        2. Feeds for categories
        3. Feeds for post comments
        4. Tracking subscribers with FeedBurner
          1. Create FeedBurner account
          2. FeedSmith plugin
      4. Aggregating feeds
        1. Displaying an external feed in the sidebar
        2. Displaying an external feed in a page
        3. Other useful plugins for syndication
          1. Learning more
      5. Podcasting
        1. How to podcast?
          1. Record yourself
          2. Make a post
        2. Dedicated podcasting
        3. Podcasting plugins
          1. PodPress
          2. Podcasting
          3. iPodCatter
          4. Learning more
        4. Using archive.org to host audio files for free
      6. Summary
    14. 8. Developing Plugins and Widgets
      1. Plugins
        1. Plugin code requirements
        2. Basic plugin — adding link icons
          1. Naming and organizing the plugin files
          2. Writing the plugin's core functions
          3. Adding hooks to the plugin
          4. Trying out the plugin
        3. Adding an admin page
          1. Adding management page functions
          2. Modifying the regex() function
          3. Adding hooks
          4. Trying out the plugin
        4. A plugin with DB access
          1. Getting the plugin to talk to the database
          2. Adding management page functions
          3. Adding hooks
          4. Trying out the plugin
        5. Learning more
      2. Widgets
        1. Top searched words widget
          1. Naming the widget
          2. Initializing the widget
          3. Adding the widget's functions
          4. Adding the widget hook
          5. Trying out the widget
        2. Learning more
      3. Combining the widget and the plugin
      4. Summary
    15. 9. Community Blogging
      1. Concerns for a multiuser blog
      2. Users roles and abilities
        1. Administrator
        2. Editor
        3. Author
        4. Contributor
        5. Subscriber
      3. Managing users
      4. Learning more
      5. Useful plugins
        1. Role Manager
      6. Summary
    16. 10. WordPress as a CMS
      1. Designing your theme
      2. Approach — the flexible WP Post
      3. Getting ready
        1. Using a simple version of the theme
        2. Inputting all content
      4. Product pages
        1. Main products page template
        2. Product category page template
        3. Single product page template
        4. Adding custom variables to the products
          1. Add a custom field to a post
          2. Displaying a custom field in the template
      5. The home page
        1. Setting up the home page
        2. Inserting the news items
        3. Inserting the two blurbs
          1. Using posts — again!
            1. Creating new category and post content
            2. Inserting code into the home page template
          2. Using the Text Snippets plugin
            1. Installing the plugin and entering content for two snippets
            2. Inserting code into the home page template
      6. Customizing the news blog
        1. News category page
        2. Single news item page
      7. Summary
    17. 11. Administrator's Reference
      1. System requirements
      2. The importance of backing up
        1. Easy, quick, frequent content backups
        2. Backing up everything
        3. Verifying your backups
      3. A closer look at upgrading WordPress
            1. Backing up your database
        1. Backing up your WordPress files
        2. Deactivating all your plugins
        3. Downloading and extracting WordPress
        4. Deleting old files
        5. Uploading the new files
        6. Running the WordPress upgrade program
        7. Updating permalinks and .htaccess
        8. Installing updated plugins and themes
      4. Migrating or restoring a WordPress site
      5. Setting file permissions
        1. What are file permissions?
        2. How to set permissions
      6. Troubleshooting
        1. Troubleshooting during installation
          1. Headers already sent
          2. Page comes with only PHP code
          3. Cannot connect to MySQL database
        2. Basic troubleshooting
          1. Cannot see posts
          2. Making a blog totally private
          3. I don't receive the emailed passwords
      7. Tips for theme development
        1. Template tags
        2. Class styles generated by WordPress
          1. Learning more
      8. Summary
    18. Index