WP Manifestindependent plugin directory
manifest / ai / gd-autotag

GD AutoTag

Plugin for Content automation using AI.

★ 0stars

Install

Download source zip No release zip yet

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/glitchdata/gd-autotag/archive/refs/heads/main.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

A lightweight WordPress plugin scaffold (generated by Copilot) with automatic GitHub-based updates.

Features

  • PSR-4 autoloading with Composer
  • Admin and frontend asset management
  • Automatic updates from GitHub Releases
  • Unit test scaffolding with PHPUnit
  • Admin dashboard with plugin information and settings
  • Automatic tag generation for posts with customizable exclusion list
  • Posts summary with tag coverage visualization

Documentation

Looking for detailed usage instructions, settings walkthroughs, and AI customization tips? See docs/PLUGIN_GUIDE.md.

Installation

  1. Upload the gd-autotag folder to your /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' screen in WordPress.

Development

Setup

# Clone with submodules
git clone --recursive https://github.com/terence/gd-autotag

# Or if already cloned, initialize submodules
git submodule update --init --recursive

# Install dependencies (optional, only needed for tests)
composer install

Running Tests

composer test

Validating Update Checker

php validate-update-checker.php

Automatic Updates

This plugin uses plugin-update-checker to enable automatic updates from GitHub Releases.

How It Works

  1. The plugin checks your GitHub repository for new releases
  2. When a new version is tagged and released, WordPress will show an update notification
  3. Users can update directly from the WordPress admin panel

Creating a Release

  1. Update version in gd-autotag.php:

    • Header: Version: 1.0.1
    • Constant: define('GD_AUTOTAG_VERSION', '1.0.1');
  2. Commit and tag the release:

    git add gd-autotag.php
    git commit -m "Bump version to 1.0.1"
    git tag v1.0.1
    git push origin main --tags
  3. Create a GitHub Release with a ZIP asset:

    • Go to your repository → Releases → Create new release
    • Choose the tag you just pushed
    • Add release notes
    • Attach a ZIP file of your plugin (or use GitHub's auto-generated source code ZIP)
  4. WordPress installations will automatically detect the new version

Private Repositories

For private GitHub repositories, uncomment and configure authentication in gd-autotag.php:

$updateChecker->setAuthentication('your_github_personal_access_token');

License

MIT