Explore WP Snippets AI features
Launching WP Snippets AI for the first time, you will quickly get to know the dashboard and understand the features. WP Snippets AI is designed to work for you and not the other way around.
Each feature is carefully thought out and handcrafted to perfection because we want you to have the most efficient and enjoyable user-experience possible.
Since 2011, you will love the new look and feel of our third-generation snippet plugin for WordPress, and now with integrated AI capabilities, it’s even more powerful than ever.
Create, manage, and control your snippets with ease
Your Snippets
Creating your first code snippet is simple and intuitive. Just give your snippet a name, select the preferred code language (HTML, CSS, JavaScript, or PHP), and your snippet will show in the panel on the left. You can create as many snippets as you need.
This feature allows you to:
- View all your snippets (sorted by Newest first)
- Reorder snippets by Oldest first, A–Z, or Z–A
- Click to open any snippet in the code editor instantly
- Visually see snippet status, hook, and code type
- Search snippets with instant filtering
Next step: Select a Snippet Hook.
Select Header, Footer or 8 additional snippet hooks
Snippet Hooks
Hooks are pre-defined points in WordPress that allow you to run your snippets safely without altering the original WordPress code. Once you have created your snippet, selecting the hook determines where in the page it will run. For example, the Header hook may be ideal for CSS, analytics tracking, or other essential scripts that need to run before content is displayed.
This feature allows you to:
- Add code to the Header or Footer of the page
- Add code using one of 8 additional snippet hooks including: Body Open, Before Post Content, After Post Content, Before Post Excerpt, After Post Excerpt, Before Posts List, After Posts List, Before Post
- Single click for instant selection (no page refresh)
Next step: Select Snippet Placements.
Run your snippet on single or multiple website locations
Snippet Placements
The Placements widget lists all of your WordPress Pages, Posts, Custom Posts, Tags, and Categories allowing you to select one or more of these website locations where your snippet will run on. You can also run snippets to your entire website – perfect for analytic tracking and advertising scripts, and chatbot widgets.
This feature allows you to:
- Place snippets on WordPress Pages and Subpages, Posts, Custom Posts, Categories, Tags
- Place snippets on WordPress sections including: Entire Website, All Pages, All Posts, Recent Posts, Blog Index, All Categories, Search Pages, All Archives, Tag Archives, Author Archives, Attachment Pages, 404 Errors
- Single click for instant selection (no page refresh)
- Search Placements with instant filtering
Next step: Get to know the Editor Tools.
A powerful editor built for productivity and comfort
Editor Tools
The built-in code editor is designed to make writing code and snippets easy, intuitive, efficient and enjoyable. Get to know the keyboard shortcuts for quick or repetitive actions, and use code auto completion, syntax highlighting and error notices to assist your development.
This feature allows you to:
- Code efficiently and effortlessly using code auto completion
- View coloured syntax-highlighting and custom error notices for HTML, CSS, JavaScript, and PHP
- Beautify your snippet for code readability
- Minify your snippet for code performance
- Utilise platform specific (i.e. Windows or macOS) keyboard shortcuts for Find, Undo/redo, Copy/paste, Code wrapping, Increase/decrease font, Toggle invisibles, Indent/outdent, Code beautify/minify
- Select from 11 light and dark editor themes
Next step: Use AI Tools to generate your code.
Let AI write, analyse, improve, and fix your code
AI Tools
WP Snippets AI integrates smart code generation with the help of Anthropic (Claude) and OpenAI (ChatGPT). All you have to do is describe the function or feature you need, and AI will generate the appropriate code and insert it into your editor. Whether you need a small fix or a complete code block, the AI tool is built to support you every step of the way.
This feature allows you to:
- Generate new code instantly from natural language prompts (Ask AI what you need, code is returned in seconds)
- Receive clean, secure, and optimised code, along with code description
- Analyse, improve, and fix your existing code
- Speed up development with AI-powered suggestions
- Add your own Anthropic or OpenAI API key to use AI services
Next step: Keep tab of your Snippet Revisions.
Track and restore your code changes anytime
Snippet Revisions
Never lose important work again! WP Snippets AI automatically saves your code changes as revisions. Each revision is timestamped and labeled with the author’s name for easy tracking – especially useful for testing and refining your code, or collaborating with your team members.
This feature allows you to:
- Access a history of saved versions for each snippet
- Restore previous versions with one click
- Keep track of changes over time for better version control