Install
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/nilshellerhoff/wordpress-snippets/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Custom Code Snippets
A simple WP plugin which allows you to add HTML, JS, CSS or PHP snippets to your page
Editing snippet code
Using snippets
ToDo
- [x] show shortcode on settings page
- [x] shortcode with $atts
- [x] settings on own page
- [x] add delete button
- [x] make CSS scoped