SPM – Selfmade Plugins Manager
3. Quick Start Guide
QUICKSTART.md:
# Selfmade Plugins Manager - Quick Start Guide
## β‘ 5-Minute Setup
### 1. Install & Activate
- Upload and activate the plugin
- You'll see "My Plugins" in your admin menu
### 2. Add Your First Plugin (2 minutes)
1. Go to **My Plugins β Add New**
2. Fill in:
- **Title**: My Awesome Plugin
- **Description**: What your plugin does
- **Version**: 1.0.0
- **Download URL**: https://yoursite.com/plugin.zip
3. Click **Publish**
### 3. Display Plugins (1 minute)
Add this shortcode to any page or post: Shortcode: [ spm_plugins ]
### 4. Configure Settings (2 minutes) Go to **My Plugins β Settings** and set: – Default currency – Download limit (recommended: 3) – Enable analytics ## π― Common Use Cases ### For Free Plugins 1. Mark plugin as “Free” 2. Enable donations (optional) 3. Set download URL 4. Users can download immediately ### For Premium Plugins 1. Set price (e.g., $29.99) 2. Add purchase URL (e.g., PayPal link) 3. Users will see “Purchase Now” button ### For Plugin Collections 1. Create categories (e.g., “E-commerce”, “SEO”) 2. Add tags for filtering 3. Use `
` to show categories ## π§ Essential Shortcodesphp
// Basic plugin grid
Shortcode: [ spm_plugins ]
// Filter by category
Shortcode: [ spm_plugins category=”ecommerce” ]
// Custom layout
Shortcode: [ spm_plugins columns=”4″ limit=”8″ show_price=”no” ]
// Categories list
Shortcode: [ spm_plugin_categories ]
// Single download button
Shortcode: [ spm_download_button id=”123″ ]
π Monitoring Success
Check My Plugins β Statistics to see:
Total downloads
Popular plugins
Recent activity
User engagement
π Need Help?
Settings: My Plugins β Settings
Documentation: See README.md
Support: Contact helmuthm@gmail.com
Pro Tip: Use featured images for your plugins to make them more attractive!
4. File Structure Summary
After adding these files, your complete plugin structure will be:
selfmade-plugins-manager/
βββ selfmade-plugins-manager.php # Main plugin file
βββ README.md # Comprehensive documentation
βββ INSTALL.md # Detailed installation guide
βββ QUICKSTART.md # Quick start guide
βββ includes/ # Core functionality
β βββ class-spm-post-types.php
β βββ class-spm-admin.php
β βββ class-spm-frontend.php
β βββ class-spm-downloads.php
β βββ class-spm-reservations.php
β βββ class-spm-metaboxes.php
β βββ class-spm-shortcodes.php
β βββ class-spm-ajax.php
β βββ spm-utilities.php
βββ admin/ # Admin interface
β βββ css/
β β βββ admin.css
β βββ js/
β β βββ admin.js
β βββ partials/
β βββ admin-dashboard.php
β βββ admin-settings.php
β βββ admin-statistics.php
βββ public/ # Frontend assets
β βββ css/
β β βββ public.css
β βββ js/
β β βββ public.js
β βββ partials/
β βββ plugin-single.php
β βββ download-form.php
β βββ categories-list.php
βββ templates/ # Theme templates
β βββ single-spm_plugin.php
β βββ archive-spm_plugin.php
β βββ taxonomy-spm_category.php
β βββ taxonomy-spm_tag.php
βββ assets/ # Images and icons
β βββ images/
β βββ icon-128×128.png
β βββ icon-256×256.png
β βββ placeholder-plugin.png
βββ languages/ # Translation files
β βββ selfmade-plugins.pot
β βββ selfmade-plugins-en_US.po
β βββ selfmade-plugins-en_US.mo
β βββ selfmade-plugins-da_DK.po
β βββ selfmade-plugins-da_DK.mo
βββ tests/ # Unit tests
βββ unit/
β βββ test-post-types.php
β βββ test-metaboxes.php
β βββ test-downloads.php
βββ bootstrap.php
Key Documentation Features:
- Comprehensive Installation Guide – Multiple installation methods with troubleshooting
- Detailed ReadMe – Complete documentation following WordPress standards
- Quick Start Guide – For users who want to get started immediately
- Multiple Languages – English and Danish support
- Developer Documentation – API, hooks, and template overrides
- Support Information – Clear paths for getting help
The plugin is now completely documented and ready for distribution! Users will have everything they need to install, configure, and use the Selfmade Plugins Manager effectively.
3. Lynstartguide
QUICKSTART.md:
# Selvlavet Plugins Manager - Lynstartguide
## ①5-minutters opsætning
### 1. Installer og aktivΓ©r
- Upload og aktiver plugin'et
- Du vil se "Mine Plugins" i din administrationsmenu
### 2. TilfΓΈj dit fΓΈrste plugin (2 minutter)
1. GΓ₯ til **Mine Plugins β TilfΓΈj nyt**
2. Udfyld:
- **Titel**: Mit fantastiske plugin
- **Beskrivelse**: Hvad dit plugin gΓΈr
- **Version**: 1.0.0
- **Download URL**: https://yoursite.com/plugin.zip
3. Klik pΓ₯ **Udgiv**
### 3. Vis plugins (1 minut)
Tilføj denne shortcode til enhver side eller indlæg: Shortcode: [ spm_plugins ]
### 4. Konfigurer indstillinger (2 minutter) GΓ₯ til **Mine Plugins β Indstillinger** og indstil: – Standardvaluta – DownloadgrΓ¦nse (anbefalet: 3) – Aktiver analyser ## π― Almindelige brugsscenarier ### For gratis plugins 1. Marker plugin som “Gratis” 2. Aktiver donationer (valgfrit) 3. Angiv download-URL 4. Brugere kan downloade med det samme ### For premium plugins 1. Angiv pris (f.eks. $29.99) 2. TilfΓΈj kΓΈbs-URL (f.eks. PayPal-link) 3. Brugere vil se knappen “KΓΈb nu” ### For plugin-samlinger 1. Opret kategorier (f.eks. “E-handel”, “SEO”) 2. TilfΓΈj tags til filtrering 3. Brug `
` til at vise kategorier ## π§ Vigtige shortcodesphp
// Grundlæggende plugin-gitter
Shortcode: [ spm_plugins ]
// Filtrer efter kategori
Shortcode: [ spm_plugins category=”ecommerce” ]
// Brugerdefineret layout
Shortcode: [ spm_plugins columns=”4″ limit=”8″ show_price=”no” ]
// Kategorierliste
Shortcode: [ spm_plugin_categories ]
// Enkelt downloadknap
Shortcode: [ spm_download_button id=”123″ ]
π OvervΓ₯gning af succes
Tjek Mine Plugins β Statistik for at se:
Samlede downloads
Populære plugins
Seneste aktivitet
Brugerengagement
π Brug for hjΓ¦lp?
Indstillinger: Mine Plugins β Indstillinger
Dokumentation: Se README.md
Support: Kontakt helmuthm@gmail.com
Pro-tip: Brug fremhævede billeder til dine plugins for at gøre dem mere attraktive!
4. Oversigt over filstruktur
Efter tilføjelse af disse filer vil din komplette plugin-struktur være:
selfmade-plugins-manager/
βββ selfmade-plugins-manager.php # Hovedfil for plugin
βββ README.md # Omfattende dokumentation
βββ INSTALL.md # Detaljeret installationsvejledning
βββ QUICKSTART.md # Lynstartvejledning
βββ inkluderer/ # Kernefunktionalitet
β βββ class-spm-post-types.php
β βββ class-spm-admin.php
β βββ class-spm-frontend.php
β βββ class-spm-downloads.php
β βββ class-spm-reservations.php
β βββ class-spm-metaboxes.php
β βββ class-spm-shortcodes.php
β βββ class-spm-ajax.php
β βββ spm-utilities.php
βββ admin/ # Admin-grΓ¦nseflade
β βββ css/
β β βββ admin.css
β βββ js/
β β βββ admin.js
β βββ partials/
β βββ admin-dashboard.php
β βββ admin-indstillinger.php
β βββ admin-statistik.php
βββ public/ # Frontend-aktiver
β βββ css/
β β βββ public.css
β βββ js/
β β βββ public.js
β βββ partials/
β βββ plugin-single.php
β βββ download-form.php
β βββ categories-list.php
βββ skabeloner/ # Temaskabeloner
β βββ single-spm_plugin.php
β βββ archive-spm_plugin.php
β βββ taxonomy-spm_category.php
β βββ taxonomy-spm_tag.php
βββ aktiver/ # Billeder og ikoner
β βββ billeder/
β βββ ikon-128×128.png
β βββ ikon-256×256.png
β βββ placeholder-plugin.png
βββ sprog/ # OversΓ¦ttelsesfiler
β βββ selfmade-plugins.pot
β βββ selfmade-plugins-da_US.po
β βββ selfmade-plugins-da_US.mo
β βββ selfmade-plugins-da_DK.po
β βββ selfmade-plugins-da_DK.mo
βββ tests/ # Enhedstests
βββ unit/
β βββ test-post-types.php
β βββ test-metaboxes.php
β βββ test-downloads.php
βββ bootstrap.php
Vigtige dokumentations funktioner:
- Omfattende installationsvejledning – Flere installationsmetoder med fejlfinding
- Detaljeret ReadMe – Komplet dokumentation, der fΓΈlger WordPress-standarder
- Hurtigstartvejledning – Til Brugere, der ΓΈnsker at komme i gang med det samme
- Flere sprog – Engelsk og dansk support
- Udviklerdokumentation – API, hooks og skabelonoverrides
- Supportinformation – Tydelige veje til at fΓ₯ hjΓ¦lp
Pluginnet er nu fuldt dokumenteret og klar til distribution! Brugere vil have alt, hvad de behΓΈver for at installere, konfigurere og bruge Selfmade Plugins Manager effektivt.