SPM – Selfmade Plugins Manager

Version: 1.2.0
Requires WordPress: 5.8+
Tested up to: 6.3
Downloads: 0

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 Shortcodes

php
// 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:

  1. Comprehensive Installation Guide – Multiple installation methods with troubleshooting
  2. Detailed ReadMe – Complete documentation following WordPress standards
  3. Quick Start Guide – For users who want to get started immediately
  4. Multiple Languages – English and Danish support
  5. Developer Documentation – API, hooks, and template overrides
  6. 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 shortcodes

php
// 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:

  1. Omfattende installationsvejledning – Flere installationsmetoder med fejlfinding
  2. Detaljeret ReadMe – Komplet dokumentation, der fΓΈlger WordPress-standarder
  3. Hurtigstartvejledning – Til Brugere, der ΓΈnsker at komme i gang med det samme
  4. Flere sprog – Engelsk og dansk support
  5. Udviklerdokumentation – API, hooks og skabelonoverrides
  6. 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.