Skip to content

jonbish/connect-to-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect to GPT for WordPress

A lightweight, secure plugin that connects your WordPress site to a Custom GPT via a dedicated API layer. Built for users who want to manage WordPress content, comments and site structure through natural language commands in ChatGPT, without adding AI to the WordPress front end.

📦 Available on WordPress.org
🔗 Learn more or download from jonbishop.com


Features

  • Content Management

    • Create or update posts, pages and custom post types
    • Set categories, tags, meta fields and featured images
    • Append or replace specific Gutenberg blocks
  • Comment Moderation

    • Retrieve recent comments
    • Approve, trash, hold or mark as spam
    • Post contextual replies
  • Structured Search

    • Find posts, pages, users, media, taxonomies, plugins or themes
  • Site Overview

    • Return a dashboard-style summary of site activity
    • View post counts, drafts and recent changes
  • Safe by Default

    • All changes are created as drafts unless explicitly allowed
    • Access requires Application Password authentication

How It Works

  1. Install and activate the plugin on your WordPress site.
  2. Complete the built-in onboarding flow to set up:
    • GPT name, image and description
    • API key via WordPress Application Passwords
    • Action schema via URL or manual JSON
  3. Use your Custom GPT inside ChatGPT to issue commands like:
    • “Create a new post titled ‘Launch Recap’”
    • “Update the CTA on the homepage”
    • “Show me my latest draft posts”

All logic runs server-side through authenticated REST API endpoints. WordPress handles authentication and capability checks.

Installation

  1. Clone this repository or download the ZIP.
  2. Upload to /wp-content/plugins/connect-to-gpt/
  3. Activate the plugin in the WordPress admin
  4. Go to Settings → Connect to GPT to complete setup
  5. Follow the guided onboarding to configure your Custom GPT

Requirements

  • WordPress 5.8+
  • PHP 7.4+
  • ChatGPT Plus account (required to use Custom GPTs)

Security Notes

  • Plugin actions are only accessible with a valid username and Application Password
  • All content updates are sanitized before being saved
  • Safe Mode is enabled by default, restricting new posts/comments to draft or pending status
  • Only users with manage_options can configure the plugin or access onboarding

Developer Info

  • No front-end components
  • No AI model runs within WordPress
  • API schema is served via /wp-json/gpttk-connect/v1/schema
  • REST actions organized under /content, /manage and /site

Need Help With AI Strategy or Implementation?

If you're looking to go beyond this plugin and explore how AI can integrate across your content workflows, campaigns or site features, check out my AI Consulting Services. I offer fast, focused help with custom GPTs, AI-powered tools, and practical automation for marketing teams, product leads and solo builders.


Author

Built by Jon Bishop
If this project helps you, consider donating

About

Secure, AI-ready WordPress toolkit for custom GPT integration and site management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors