Skip to content

Instantly share code, notes, and snippets.

@mattmcgiv
Last active January 4, 2016 17:02
Show Gist options
  • Select an option

  • Save mattmcgiv/805733c3b969233691cf to your computer and use it in GitHub Desktop.

Select an option

Save mattmcgiv/805733c3b969233691cf to your computer and use it in GitHub Desktop.
A simple WordPress plugin for getting started quickly on a project.
<?php
/*
Plugin Name: Antym Plugin
Plugin URI: http://antym.com
Description: Adds some features to the site...
Version: .6
Author: Matt McGivney
Author URI: http://antym.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Domain Path: /languages
Text Domain: antym-plugin
*/
if (!defined( ‘ABSPATH’ )) {
exit; //Exit if accessed directly
}
@mattmcgiv
Copy link
Author

Put this in wp-content/plugins of your WordPress installation. Recommend putting it within it's own folder, but it's technically not necessary to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment