Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WordPress Development Quick Start Guide

You're reading from   WordPress Development Quick Start Guide Build beautiful and dynamic websites for your domain from scratch

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781789342871
Length 300 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Rakhitha Nimesh Ratnayake Rakhitha Nimesh Ratnayake
Author Profile Icon Rakhitha Nimesh Ratnayake
Rakhitha Nimesh Ratnayake
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction to WordPress Development FREE CHAPTER 2. Managing Database Structure, Storage, and Retrieval 3. Designing Flexible Frontends with Theme Development 4. Building Custom Modules with Plugin Development 5. Extending Plugins with Addons, Filters, and Actions 6. Practical Usage of WordPress APIs 7. Managing Custom Post Types and Processing Forms 8. Discovering Key Modules in Development 9. Enhancing Security, Performance, and Maintenance 10. Other Books You May Enjoy

Developing a post attachments plugin

In the two preceding sections, we discussed the steps for building a basic plugin and the life cycle events. In this section, we will be developing a plugin, while covering the implementation of life cycle events and critical features in plugin development. Let's summarize the requirement of the plugin.

The use of blog posts and displaying dynamic content after the post is common in most WordPress sites. We already looked at the process of adding content after the post, in the first plugin we developed. Now, we are going to extend the feature to allow attachment downloads after the post. In some sites, it's essential to allow users to download files related to the post. This plugin will allow the administrator to add files to a post from the backend and let users download these files by displaying them after the post's content...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime