Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/sinappsus-agency/wordpress-plugin-quickstart/archive/refs/heads/main.zipUpdates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.
HTH Sample Plugin - WordPress Plugin Development Tutorial
A comprehensive WordPress plugin developed for educational purposes, demonstrating various WordPress development concepts through practical examples.
You can follow the video tutorial on youtube for this repo
📋 Overview
This plugin serves as a complete tutorial for WordPress plugin development, covering essential topics from basic hooks to advanced database operations. Each chapter focuses on a specific aspect of WordPress development.
🎯 Learning Objectives
After working through this plugin, you will understand:
- WordPress hooks (actions and filters)
- Creating custom shortcodes
- Building custom post types
- REST API integration
- Widget development
- Script and style enqueuing
- Database operations with custom tables
📁 Plugin Structure
🚀 Installation
1. Download or clone this repository
2. Upload the hth-sample-plugin folder to your WordPress /wp-content/plugins/ directory
3. Activate the plugin through the 'Plugins' menu in WordPress
4. The plugin will automatically create a custom database table upon activation
📚 Chapter Breakdown
Chapter 1: Actions and Filters (Hooks)
File: chapters/actions.php
Learn about W