35,99 €
WordPress is the world’s most popular Content Management System (CMS) and you can use it to create any kind of site you or your clients need. Using free plugins and themes for WordPress, you can create a store, a social media site, a review site, a video site, a network of sites or a community site, and more. Wordpress makes your job of creating your own website simple and hassle-free!
If you’ve started using WordPress to create a blog or simple website, you’ll have had a taste of the opportunities offered by this massively popular CMS.
This book will take you through the process of creating ten popular kinds of site using WordPress with free plugins and themes, each chapter covering various functionality of the web. After having learned how to migrate from your static site to Wordpress in the first chapter, you will then explore the world of social networking websites followed focusing on e-commerce. Without writing too much code, you’ll be able to create a store, a video streaming site, a team communications site, a jobs board, and more.
This book is a one-stop solution to resolve all your worries about creating a website that will give the best experience to your users.
Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:
Seitenzahl: 245
Veröffentlichungsjahr: 2015
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: August 2010
Second edition: September 2015
Production reference: 1210915
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-796-8
www.packtpub.com
Author
Rachel McCollin
Reviewers
Felix Arntz
David Kryzaniak
Mario Peshev
Dan Purdy
Commissioning Editor
Dipika Gaonkar
Acquisition Editors
Ruchita Bhansali
Llewellyn Rozario
Content Development Editor
Neeshma Ramakrishnan
Technical Editor
Ankita Thakur
Copy Editor
Swati Priya
Project Coordinator
Shweta H. Birwatkar
Proofreader
Safis Editing
Indexer
Mariammal Chettiyar
Production Coordinator
Arvindkumar Gupta
Cover Work
Arvindkumar Gupta
Rachel McCollin is an experienced WordPress developer and writer with a reputation for making difficult technical subjects easy to understand. She's been building WordPress sites for clients since 2010, and this is her fourth book on the technology. She's a regular writer for some of the most influential web design and development websites and her writing has helped thousands of people learn how to get started with WordPress and gain more from it.
Felix Arntz is a web developer who specializes in WordPress development with a focus on complex web applications, helpful plugins, and backend. In 2012, he started his business, Leaves Webdesign, to provide WordPress solutions for various clients around the world, especially in the U.S. and Germany. He also develops plugins for the WordPress plugin repository.
Besides his work, he is studying applied computer science at the Ruhr Universität Bochum in Germany and looking forward to receiving his degree in early 2016. When he is not coding, he pursues his passion for making music and playing the piano. He also loves going out and enjoying the beautiful city he lives in, playing soccer, and going to the gym. He is also a movie geek and drinks a lot of Mountain Dew.
Having never worked on any book before, he thoroughly enjoyed reviewing this book and is looking forward to help improving books on the same technology in future.
David Kryzaniak is a web application developer at Fox World Travel in Oshkosh, Wisconsin. He holds a BS in information science from the University of Wisconsin, Green Bay. While he is primarily a PHP developer, he tends to do a lot of frontend coding (CSS, JavaScript, and responsive web design) too. He spends a lot of his free time working on both freelance and open source WordPress projects. You can find out more about him at https://davekz.com.
Mario Peshev is the founder of and a WordPress architect at DevriX, a distributed WordPress development agency. He has been building software solutions with PHP, Java, and Python for more than 10 years now.
In addition to his technical background, he is an international speaker and a seasoned trainer with over 10,000 hours on stage. He has conducted training courses on web and database development and security in companies and organizations such as CERN, Saudi Aramco, VMware, and Software AG.
He is currently leading a team of WordPress engineers that builds high-end solutions using the technology. With several WordPress-driven SaaS solutions behind it, the team specializes in complex multisite projects and business-specific solutions based on the popular platform. As a WordPress contributor and active community member, he is often involved with international WordPress or web development events.
Dan Purdy started his career as a technical engineer for a top London recording studio. It was during this time that he started working with WordPress as a blogging tool for his personal projects.
Currently working for a digital innovation agency in Shoreditch, London, as a senior frontend developer, he continues to build sites with WordPress while working on a variety of projects—from product prototypes and e-commerce sites to enterprise-level web applications.
He was also the technical reviewer for Raspberry Pi Gaming, Second Edition, Packt Publishing.
For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.
WordPress is now by far the most popular content management system (CMS) with over a quarter of the total websites on the Web running on it. Originally, it was developed as a blogging platform, but it can do much more than that.
If you're like the millions of people who want to use WordPress to sell products, reach an audience, showcase your work, or communicate with a team, among other things, this book is for you. In each chapter, I've used WordPress and shown you how to set up a site that does exactly that.
You don't need to write code to follow the majority of the chapters; all you need is some familiarity with WordPress and adding content to it and the enthusiasm to create a great website.
So what are you waiting for? Here you go for your fantastic website!
Chapter 1, Migrating a Static Site to WordPress, explains how to move an existing site to WordPress and import content from your old site to your new WordPress site.
Chapter 2, Creating a Social Media Site, shows how to use BuddyPress to create a networking site for a community of users.
Chapter 3, Creating a Network of Sites, shows how to create a WordPress Multisite network that will allow users to create their own blog, such as https://wordpress.com/ or http://edublogs.org/.
Chapter 4, Creating an E-commerce Site, explains how to use the free WooCommerce plugin to create an e-commerce site and add real and virtual products to it for sale.
Chapter 5, Creating a Video Streaming Site, shows how to use WordPress to set up and manage a video streaming site, which automatically updates from your own YouTube channel.
Chapter 6, Creating a Review Site, explains how to create a WordPress site that lets users post reviews on products or services.
Chapter 7, Creating a Jobs Board, shows how to use WordPress to create a jobs board so that users can post job advertisements and apply for jobs.
Chapter 8, Creating a Team Communications Site, shows you how to use the free P2 theme to create a site for the members of a team to communicate with the team and update each other on the progress of a project.
Chapter 9, Creating a Gallery Site, explains how to build a WordPress site using a suitable theme and the popular NextGEN Gallery plugin to display images.
Chapter 10, Creating a Membership Site, shows how to create a site that allows users to register as members and view content, which only the registered members have access to.
To use this book, you will need:
WordPress 4.0 Site Blueprints, Second Edition, is suitable for both new and experienced WordPress users. You don't need to be a PHP developer or have ever created a WordPress theme or plugin; instead, the book will help you use themes and plugins (all free) to create a wide range of sites. Familiarity with the WordPress interface will help you, but you don't need to be able to write code.
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Sometimes, your wp-content directory will have some extra folders, for example, if a plugin adds one."
A block of code is set as follows:
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on the Databases tab."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.
To send us general feedback, simply e-mail <[email protected]>, and mention the book's title in the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from: https://www.packtpub.com/sites/default/files/downloads/7968OS_ColorImages.pdf.
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.
To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.
Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <[email protected]> with a link to the suspected pirated material.
We appreciate your help in protecting our authors and our ability to bring you valuable content.
If you have a problem with any aspect of this book, you can contact us at <[email protected]>, and we will do our best to address the problem.
Many people come to WordPress after some experience of creating static sites using HTML and CSS; in fact, this is what happened to me. I had been building static sites for a while and wanted to start developing with content management system (CMS), which would make it easy for me to import existing static sites and update them using the CMS interface.
The great news is that WordPress makes it possible for you to do this. In this chapter, you'll learn how to move your old site to WordPress as well as gain an understanding of how WordPress works and the benefits of using it. We'll cover these topics:
So let's get started!
In this book, you'll learn how to download and activate a theme that will give your site its styling and layout. If you want to learn how to take your static site and develop your own theme-based on the code in your HTML files, I recommend WordPress Theme Development Beginner's Guide, Packt Publishing.
If you've built static sites before, you'll know that they consist of a number of files that you upload to your server. These will include:
Your WordPress site will include different file types and it will also include a database, which is where your content will be stored.
The main elements of a WordPress site are:
You'll learn more about these and what they do in the next section.
Having read the list of files contained in a WordPress site, you may be feeling quite daunted! But the good news is that you don't need to think about the files I've listed here as WordPress does the thinking for you.
So, let's take a look at the contents of a WordPress site in more detail.
When you install WordPress, a number of files are uploaded to your server. The good news is that you don't need to do anything to these files; in fact, you shouldn't. If you edit these files (referred to as the core files), any changes you make will be lost when you install the next WordPress update.
Later in this chapter, you'll learn how to install WordPress. Once you've done that, you can ignore the core files. Phew!
The next set of files is stored in the wp-content directory, inside your WordPress installation. This directory will normally look similar to this:
Fig 1.1: The wp-content directory
Let's take a look at the file types:
Sometimes, your wp-content directory will have some extra folders, for example, if a plugin adds one. Don't worry if that happens, just leave them alone!
The final piece in the jigsaw is the database. This is where all of your content is stored—your posts, pages, and any settings you've made on your site.
The main benefit of using a database is that it keeps your content and your design separate. As your site grows, this makes your life much easier because you don't have to directly edit HTML files if you want to make changes to your site. The parts of each page that are the same across the site (for example, the header, footer, and sidebars) are kept separate from content, meaning if you want to change them you only have to do it once.
Everything you may need to do with your WordPress site can be done via the WordPress administration screens; you never need to touch the code. If you're not a techie, this will be a very good news!
Now that you understand how WordPress works, you're probably itching to get started! So, let's start by installing WordPress. There are two ways to do this:
Let's start with the easier way, which is to use an installer.
If your hosting provider gives you access to an installer, it will probably be accessible via your hosting dashboard or cPanel, which is a dashboard many hosting providers give you to manage your site.
The exact way this looks and where you find it will vary from host to host, so your screen will probably look slightly different from what you see here, but the process is much the same.
My hosting provider includes a link in its control panel called Web Apps. Yours might be called Fantastico, Softaculous, or something else. If you're unsure, check with your hosting company and ask them if they provide a WordPress installer.
Fig 1.2: Accessing an installer
When I open this, I see a list of the web apps available to me, including WordPress:
Fig 1.3: Choosing WordPress in the installer
These are the steps you need to follow now:
Some installers offer a backup option, which is a good idea to select if available. It's also a good idea to use a backup plugin in your site too. For a review of some of the best backup plugins, visit http://premium.wpmudev.org/blog/premium-freemium-wordpress-backup-plugins/.
Here, you can see an example for the installation I'm setting up:
Fig 1.4: Enter your site details
Once you've entered your details, click on Install