Created
June 17, 2015 04:22
-
-
Save ianmjones/4995b70f6046a9b5ddd7 to your computer and use it in GitHub Desktop.
A tiny little article plugin to demo Extended CPTs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @link https://deliciousbrains.com/blog/ | |
* @since 1.0 | |
* @package Pixie_Article | |
* | |
* @wordpress-plugin | |
* Plugin Name: Pixie Article | |
* Plugin URI: https://deliciousbrains.com/blog/ | |
* Description: A tiny little article plugin to demo Extended CPTs. | |
* Version: 1.0 | |
* Author: ianmjones | |
* Author URI: https://profiles.wordpress.org/ianmjones | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | |
* Text Domain: pixie-article | |
* Domain Path: /languages | |
* Network: False | |
*/ | |
// If this file is called directly, abort. | |
if ( ! defined( 'WPINC' ) ) { | |
die; | |
} | |
require_once( 'extended-cpts/extended-cpts.php' ); | |
register_extended_post_type( 'pixie-article' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment