Generate WordPress Code Snippets “Magically” with WP Hasty

Dealing with WP code snippets can be a real pain. From custom taxonomies to WP_Query loops, developers are always copy-pasting snippets between projects.

With the WP Hasty web app, you can save time and frustration by auto-generating snippets at the click of a button. This free web app offers eight different code generators for common WordPress snippets (with many more on the way!)

Each snippet follows proper coding standards for WordPress themes & plugins, so you can just copy and paste the snippets with ease.

WP hasty WordPress generator

The goal of this site is to help developers create templates for common tasks such as custom taxonomies or unique sidebars without Googling for a tutorial.

Each generator has its own page on the site and it’s a very simple tool to use. As of this writing, these are the eight supported code generators:

  1. WP Menus
  2. WP Sidebars
  3. Taxonomies
  4. Shortcodes
  5. Custom Post Types
  6. Visual Composer Element
  7. Post Status
  8. WP_Query Loop

If you click any of these buttons you’ll get the generator interface on a new page with custom settings for each option.

For example, the shortcode generator allows you to choose if the shortcode should be auto-closing and if it has attributes (plus, what those attributes are).

This way, you can develop a customizable template for your initial setup and work around that. Need an extra attribute for a new shortcode? This generator can do it at the click of a button.

WP hasty shortcode generator

All code output appears on the same page, in a small text editor interface. So, you literally just copy-paste the codes into your theme and you’re good to go!

This is by far one of my favorite WordPress tools because it’s so practical and it’s something you can reuse many times. And, did I mention it’s totally free?

FacebookTwitterInstagramPinterestLinkedInGoogle+YoutubeRedditDribbbleBehanceGithubCodePenEmail