You are previewing WordPress 3.7 Complete Third Edition.
O'Reilly logo
WordPress 3.7 Complete Third Edition

Book Description

Nothing has simplified website production quite as effectively as WordPress, and this book makes it easier still to build a fully featured site of your own. Packed with screenshots and clear instructions, it covers everything you need for success.

  • Learn how to build a WordPress site quickly and effectively

  • Find out how to create content that’s optimized to be published on the Web

  • Learn the basics of working with WordPress themes and playing with widgets

  • In Detail

    Back in the day, when you wanted to launch a new website, you either had to learn web programming yourself or hire a professional who would take care of the whole process for you. Those times are long gone due to WordPress and the great opportunities it brings. With WordPress, anyone can build an optimized site with the least amount of effort possible and then make it available to the world in no time. WordPress is a flexible and powerful tool that's ideal for creating both blog and non-blog websites. You can customize the features, incorporate your own design, and even write your own plugins with ease. Its versatility and ease of use have attracted a large, enthusiastic, and helpful community of users.

    "WordPress 3.7 Complete: Third Edition" is a practical guide for anyone who wants to start their journey as a web developer. This WordPress book takes you through a step-by-step process of planning out and then building your site.

    "WordPress 3.7 Complete: Third Edition" will take you through the complete process of building a fully functional WordPress site from scratch. You will learn how to create your first blog post, what the difference between posts and pages is, and how to use multimedia files to accompany your content and make it more attractive. Next, you will find out what plugins and themes are and how to use them effectively.

    "With WordPress 3.7 Complete: Third Edition", you will learn all the ins and outs of WordPress and using it for publishing content on the Web. It provides easy-to-apply advice with tons of screenshots and actionable examples.

    Table of Contents

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