Ratnayake, Rakhitha Nimesh.
WordPress Development Quick Start Guide : Build Beautiful and Dynamic Websites for Your Domain from Scratch. - 1 online resource (292 pages)
Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Introduction to WordPress Development -- Introduction to WordPress development -- Posts, pages, and custom post type management -- User management -- Form data management -- Building custom layouts and extending theme layouts -- Setting up the development environment -- Installing the development stack -- Installing and configuring WordPress -- Setting up web browsers and code editors -- Preparing development tools -- Client-side monitoring with browser development tools -- Server-side monitoring with WordPress plugins -- Query Monitor -- Debug This -- Working with the configuration file -- An overview of advanced configurations -- Securing plugins and upload directories -- Configuring advanced debugging settings -- Script debugging -- Logging errors and customizing php.ini rules -- Understanding the role of the WordPress file and directory structure -- How to choose files and directories for development -- A brief overview of WordPress coding standards -- Summary -- Chapter 2: Managing Database Structure, Storage, and Retrieval -- Introduction to the WordPress database -- Understanding the role of built-in database tables -- Posts-related database tables -- wp_posts -- wp_postmeta -- Terms-related tables -- wp_terms -- wp_termmeta -- wp_term_relationships -- wp_term_taxonomy -- User-related tables -- wp_users -- wp_usermeta -- Options and comments tables -- wp_options -- wp_comments -- wp_commentmeta -- Understanding the importance of database usage -- Building existing features on the frontend -- Customizing existing plugins -- How to track database usage in WordPress -- Using MySQL/MariaDB log files -- Comparing database backups -- Creating a manual query logger -- Tracking database usage of common WordPress features. Post creation -- Page creation -- User creation -- Media uploads -- Overview of the multisite database structure -- Creating and managing custom tables -- Creating custom tables -- Executing basic CRUD operations on existing tables -- Inserting records -- Updating records -- Deleting records -- Selecting records -- Executing basic CRUD operations on custom tables -- Inserting records -- Updating and deleting records -- Selecting records -- Summary -- Chapter 3: Designing Flexible Frontends with Theme Development -- Technical requirements -- Introduction to WordPress themes -- Installing and configuring themes -- Understanding the role of themes in development -- What are application-specific themes? -- Understanding built-in theme components -- Identifying theme components that are used in existing sites -- Getting started with developing themes -- What is a child theme? -- Creating a child theme -- Modifying parent themes with a child theme -- Building and customizing designs by modifying template files -- Extending theme features through available filters and actions -- Steps for extending theme-specific hooks -- Working with the WordPress theme template hierarchy -- Archive Page hierarchy -- Author archive pages -- Categories, tags, and custom taxonomy archives -- Date Archive pages -- Custom Post Type Archive -- Singular Page Hierarchy -- Static Page Hierarchy -- Creating and using custom page templates -- Single Post Page hierarchy -- Attachment Post hierarchy -- Blog post hierarchy -- Creating and assigning page templates for posts -- Custom post hierarchy -- Other Pages in the template hierarchy -- Site Front Page template path -- Blog Posts Index Page template path -- Error 404 Page template path -- Search Result Page template path -- Conditionally changing template design and content -- What is conditional template design?. Adding conditions to theme files -- Conditionally loading template files -- Summary -- Chapter 4: Building Custom Modules with Plugin Development -- Technical requirements -- Understanding the role of plugins -- WordPress plugin types based on features -- Creating your first plugin -- Exploring the life cycle of a plugin -- Developing a post attachments plugin -- Creating settings upon plugin activation -- Implementing post attachment uploads -- Uploading attachments and saving attachment data -- Displaying uploaded attachments -- Displaying attachments in posts -- Implementing the post attachments download -- Handling plugin version upgrades -- Handling plugin deactivation -- Uninstalling the plugin to clean the resources -- Identifying the advantages of custom plugin development as a developer -- Guidelines for building quality plugins -- Summary -- Chapter 5: Extending Plugins with Addons, Filters, and Actions -- Technical Requirements -- Introduction to addons -- Creating addons for plugins -- Adding a filter hook for restricting attachments -- Adding an action hook for counting downloads -- Creating the attachments addon -- The WordPress action execution process -- The frontend action execution process -- Scenario 1 - Using parent plugin features -- Scenario 2 - Accessing the WordPress post object -- Scenario 3 - Accessing the WordPress query object -- The backend action execution process -- How to use the priority of actions and filters -- Identifying the extendable features of third-party plugins -- Customizing third-party plugins -- Techniques for customizing third-party plugins -- Customizing look and feel using styles -- Customizing the features with hooks -- Building the WooCommerce product file manager -- Adding the file upload field to WooCommerce products -- Adding scripts for uploading files -- Uploading files to products. Introduction to AJAX in WordPress -- Displaying uploaded files in products -- Integrating multiple plugins for a continuous workflow -- Types of plugin integrations -- Custom integrations -- One-sided integrations -- Mutual integrations -- Considerations in custom plugin integrations -- Checking the feasibility of integration -- Identifying exact data changes and hooks -- Checking the impact with other plugins -- Implementing multiple plugin integrations -- Assigning points for completed orders -- Adding users to BuddyPress private groups -- Summary -- Chapter 6: Practical Usage of WordPress APIs -- Technical Requirements -- A brief overview of WordPress APIs -- Using built-in APIs -- Introducing shortcodes -- Structure of a shortcode -- Developer's perspective of a shortcode -- Content creator perspective of a shortcode -- User's perspective of a shortcode -- Using built-in shortcodes -- Building custom shortcodes -- Creating custom shortcodes -- Restricting content using a shortcode -- Displaying posts with attachments -- Understanding the usage of shortcodes -- Tips for using shortcodes -- Managing custom routes with Rewrite API -- Understanding the need for custom routes -- Creating the routing rules -- Adding query variables -- Flushing the rewriting rules -- Displaying content for custom routes -- Building remote connections with REST API -- Introducing core REST API endpoints -- Understanding and testing Core API endpoints -- Managing custom routes and endpoints -- Creating custom routes for posts -- Creating custom routes and endpoints for custom table data -- Building the REST API client -- REST API client from external site -- Summary -- Chapter 7: Managing Custom Post Types and Processing Forms -- Technical requirements -- Introduction to custom post types -- Why do we use custom post types for modeling data?. Building an object-oriented plugin -- Building custom post types for properties -- Creating property custom post types -- Creating the property types taxonomy -- Managing custom fields for custom post types -- Building the property fields template -- Saving property custom fields -- Limitations of storing data as meta values -- Introduction to form management -- Building custom forms in the frontend -- Adding forms using a shortcode -- Creating properties using custom forms -- Loading forms using custom URLs -- Choosing between custom post types and custom forms -- Using a form management plugin -- Summary -- Chapter 8: Discovering Key Modules in Development -- Technical requirements -- UI components -- Integrating the jQuery image slider -- Building a product image slider -- Creating a plugin menu page -- Saving slider images using AJAX -- Preparing slider images -- Integrating jQuery slider -- Reusing the slider as a widget -- Integrating jQuery accordion -- Creating an accordion model and capturing data -- Preparing accordion content -- Steps for integrating UI components -- Simplifying development with page builders -- Understanding the features of page builders -- Developing components for page builders -- Simplifying and customizing admin features -- Creating custom dashboard widgets -- Registering and building dashboard widgets -- Customizing backend list tables -- Creating and executing custom bulk actions -- Adding custom list columns -- Sorting custom column values -- Summary -- Chapter 9: Enhancing Security, Performance, and Maintenance -- Introduction to testing -- Unit and integration testing -- Code quality testing -- Using the PluginTests service -- Performance testing -- P3 - the Plugin Performance Profiler plugin -- Securing WordPress sites -- Migrating WordPress sites -- Maintaining WordPress sites -- Backup files and databases. Updating WordPress plugins and themes.
WordPress is the most used CMS in the world and it is the ideal way to share your knowledge with a large community as well as 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.
9781789342581
WordPress (Electronic resource).
Blogs.
Electronic books.
TK5105.8885.W66 .R386 2018
338.761006752
WordPress Development Quick Start Guide : Build Beautiful and Dynamic Websites for Your Domain from Scratch. - 1 online resource (292 pages)
Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Introduction to WordPress Development -- Introduction to WordPress development -- Posts, pages, and custom post type management -- User management -- Form data management -- Building custom layouts and extending theme layouts -- Setting up the development environment -- Installing the development stack -- Installing and configuring WordPress -- Setting up web browsers and code editors -- Preparing development tools -- Client-side monitoring with browser development tools -- Server-side monitoring with WordPress plugins -- Query Monitor -- Debug This -- Working with the configuration file -- An overview of advanced configurations -- Securing plugins and upload directories -- Configuring advanced debugging settings -- Script debugging -- Logging errors and customizing php.ini rules -- Understanding the role of the WordPress file and directory structure -- How to choose files and directories for development -- A brief overview of WordPress coding standards -- Summary -- Chapter 2: Managing Database Structure, Storage, and Retrieval -- Introduction to the WordPress database -- Understanding the role of built-in database tables -- Posts-related database tables -- wp_posts -- wp_postmeta -- Terms-related tables -- wp_terms -- wp_termmeta -- wp_term_relationships -- wp_term_taxonomy -- User-related tables -- wp_users -- wp_usermeta -- Options and comments tables -- wp_options -- wp_comments -- wp_commentmeta -- Understanding the importance of database usage -- Building existing features on the frontend -- Customizing existing plugins -- How to track database usage in WordPress -- Using MySQL/MariaDB log files -- Comparing database backups -- Creating a manual query logger -- Tracking database usage of common WordPress features. Post creation -- Page creation -- User creation -- Media uploads -- Overview of the multisite database structure -- Creating and managing custom tables -- Creating custom tables -- Executing basic CRUD operations on existing tables -- Inserting records -- Updating records -- Deleting records -- Selecting records -- Executing basic CRUD operations on custom tables -- Inserting records -- Updating and deleting records -- Selecting records -- Summary -- Chapter 3: Designing Flexible Frontends with Theme Development -- Technical requirements -- Introduction to WordPress themes -- Installing and configuring themes -- Understanding the role of themes in development -- What are application-specific themes? -- Understanding built-in theme components -- Identifying theme components that are used in existing sites -- Getting started with developing themes -- What is a child theme? -- Creating a child theme -- Modifying parent themes with a child theme -- Building and customizing designs by modifying template files -- Extending theme features through available filters and actions -- Steps for extending theme-specific hooks -- Working with the WordPress theme template hierarchy -- Archive Page hierarchy -- Author archive pages -- Categories, tags, and custom taxonomy archives -- Date Archive pages -- Custom Post Type Archive -- Singular Page Hierarchy -- Static Page Hierarchy -- Creating and using custom page templates -- Single Post Page hierarchy -- Attachment Post hierarchy -- Blog post hierarchy -- Creating and assigning page templates for posts -- Custom post hierarchy -- Other Pages in the template hierarchy -- Site Front Page template path -- Blog Posts Index Page template path -- Error 404 Page template path -- Search Result Page template path -- Conditionally changing template design and content -- What is conditional template design?. Adding conditions to theme files -- Conditionally loading template files -- Summary -- Chapter 4: Building Custom Modules with Plugin Development -- Technical requirements -- Understanding the role of plugins -- WordPress plugin types based on features -- Creating your first plugin -- Exploring the life cycle of a plugin -- Developing a post attachments plugin -- Creating settings upon plugin activation -- Implementing post attachment uploads -- Uploading attachments and saving attachment data -- Displaying uploaded attachments -- Displaying attachments in posts -- Implementing the post attachments download -- Handling plugin version upgrades -- Handling plugin deactivation -- Uninstalling the plugin to clean the resources -- Identifying the advantages of custom plugin development as a developer -- Guidelines for building quality plugins -- Summary -- Chapter 5: Extending Plugins with Addons, Filters, and Actions -- Technical Requirements -- Introduction to addons -- Creating addons for plugins -- Adding a filter hook for restricting attachments -- Adding an action hook for counting downloads -- Creating the attachments addon -- The WordPress action execution process -- The frontend action execution process -- Scenario 1 - Using parent plugin features -- Scenario 2 - Accessing the WordPress post object -- Scenario 3 - Accessing the WordPress query object -- The backend action execution process -- How to use the priority of actions and filters -- Identifying the extendable features of third-party plugins -- Customizing third-party plugins -- Techniques for customizing third-party plugins -- Customizing look and feel using styles -- Customizing the features with hooks -- Building the WooCommerce product file manager -- Adding the file upload field to WooCommerce products -- Adding scripts for uploading files -- Uploading files to products. Introduction to AJAX in WordPress -- Displaying uploaded files in products -- Integrating multiple plugins for a continuous workflow -- Types of plugin integrations -- Custom integrations -- One-sided integrations -- Mutual integrations -- Considerations in custom plugin integrations -- Checking the feasibility of integration -- Identifying exact data changes and hooks -- Checking the impact with other plugins -- Implementing multiple plugin integrations -- Assigning points for completed orders -- Adding users to BuddyPress private groups -- Summary -- Chapter 6: Practical Usage of WordPress APIs -- Technical Requirements -- A brief overview of WordPress APIs -- Using built-in APIs -- Introducing shortcodes -- Structure of a shortcode -- Developer's perspective of a shortcode -- Content creator perspective of a shortcode -- User's perspective of a shortcode -- Using built-in shortcodes -- Building custom shortcodes -- Creating custom shortcodes -- Restricting content using a shortcode -- Displaying posts with attachments -- Understanding the usage of shortcodes -- Tips for using shortcodes -- Managing custom routes with Rewrite API -- Understanding the need for custom routes -- Creating the routing rules -- Adding query variables -- Flushing the rewriting rules -- Displaying content for custom routes -- Building remote connections with REST API -- Introducing core REST API endpoints -- Understanding and testing Core API endpoints -- Managing custom routes and endpoints -- Creating custom routes for posts -- Creating custom routes and endpoints for custom table data -- Building the REST API client -- REST API client from external site -- Summary -- Chapter 7: Managing Custom Post Types and Processing Forms -- Technical requirements -- Introduction to custom post types -- Why do we use custom post types for modeling data?. Building an object-oriented plugin -- Building custom post types for properties -- Creating property custom post types -- Creating the property types taxonomy -- Managing custom fields for custom post types -- Building the property fields template -- Saving property custom fields -- Limitations of storing data as meta values -- Introduction to form management -- Building custom forms in the frontend -- Adding forms using a shortcode -- Creating properties using custom forms -- Loading forms using custom URLs -- Choosing between custom post types and custom forms -- Using a form management plugin -- Summary -- Chapter 8: Discovering Key Modules in Development -- Technical requirements -- UI components -- Integrating the jQuery image slider -- Building a product image slider -- Creating a plugin menu page -- Saving slider images using AJAX -- Preparing slider images -- Integrating jQuery slider -- Reusing the slider as a widget -- Integrating jQuery accordion -- Creating an accordion model and capturing data -- Preparing accordion content -- Steps for integrating UI components -- Simplifying development with page builders -- Understanding the features of page builders -- Developing components for page builders -- Simplifying and customizing admin features -- Creating custom dashboard widgets -- Registering and building dashboard widgets -- Customizing backend list tables -- Creating and executing custom bulk actions -- Adding custom list columns -- Sorting custom column values -- Summary -- Chapter 9: Enhancing Security, Performance, and Maintenance -- Introduction to testing -- Unit and integration testing -- Code quality testing -- Using the PluginTests service -- Performance testing -- P3 - the Plugin Performance Profiler plugin -- Securing WordPress sites -- Migrating WordPress sites -- Maintaining WordPress sites -- Backup files and databases. Updating WordPress plugins and themes.
WordPress is the most used CMS in the world and it is the ideal way to share your knowledge with a large community as well as 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.
9781789342581
WordPress (Electronic resource).
Blogs.
Electronic books.
TK5105.8885.W66 .R386 2018
338.761006752