Hello, and welcome to WP-Snippets. Here you’ll find loads of small snippets, ready to enhance that WordPress Theme you’re working on!
- Add a Dashboard Widget
- Add Custom Menus Support
- Add Post/Page Thumbnails
- Add shortcodes
- Add Taxonomies
- Add tweet button
- Change Admin logo
…and many more…
Many is the hour I’ve whiled away trying to find a code snippet for WordPress – one that can save me from learning the intricate dance of MySQL and PHP. So imagine how happy I was to find this.
It’s a collection of snippets: short passages of code that you can copy and paste into your WordPress template (or a widget, if you’ve installed the PHP Code Widget plugin).
You’ll need to know enough PHP to understand the structure and flow of your template, so you can tell just where to place a particular snippet. But you don’t have to grasp more than the basics to put these to work for your blog. And along the way, you just might find yourself learning a thing or two about how WordPress works under the hood.