Book Image

WordPress Development Quick Start Guide

By : Rakhitha Nimesh Ratnayake
Book Image

WordPress Development Quick Start Guide

By: Rakhitha Nimesh Ratnayake

Overview of this book

WordPress is the most used CMS in the world and is the ideal way to share your knowledge with a large audience or build a profitable business. Getting started with WordPress development has often been a challenge for novice developers, and this book will help you find your way. This book explains the components used in WordPress development, when and where to use them, and why you should be using each component in specific scenarios. You begin by learning the basic development setup and coding standards of WordPress. Then you move into the most important aspects of the theme and plugin development process. Here you will also learn how themes and plugins fit into the website while learning about a range of techniques for extending themes and plugins. With the basics covered, we explore many of the APIs provided by WordPress and how we can leverage them to build rapid solutions. Next, we move on to look at the techniques for capturing, processing, and displaying user data when integrating third-party components into the site design. Finally, you will learn how to test and deploy your work with secure and maintainable code, while providing the best performance for end users.
Table of Contents (16 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Securing WordPress sites


The security of the site is one of the main concerns when developing sites or applications with WordPress. Open source code and the old coding techniques to keep the backward compatibility are two reasons for these security concerns. However, the major threat comes with the use of third-party plugins and themes, as there is no guarantee about the quality of them in many cases. So, it's essential to secure WordPress sites as much as possible to prevent attacks through plugins, themes, or known security concerns.

 

 

The WordPress codex provides a separate section called Hardening WordPress for defining the necessary security constraints. You can read this security guide at http://codex.wordpress.org/Hardening_WordPress. Let’s find out the common reasons for WordPress exploits and basic precautions:

  • Username of the admin: This is one of the most basic and primary reasons for exploits in WordPress sites. Many novice clients and developers keep admin as the username of the...