Last active
October 5, 2015 00:47
-
-
Save JLeuze/2725756 to your computer and use it in GitHub Desktop.
Plugin to add excerpts to Meteor Slides
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 /* | |
Plugin Name: Meteor Excerpts | |
Description: Adds excerpts to Meteor Slides. | |
Author: Josh Leuze | |
Author URI: http://jleuze.com/ | |
Version: 1.0 | |
*/ | |
function meteorslides_add_excerpt() { | |
add_post_type_support( 'slide', 'excerpt' ); | |
} | |
add_action( 'init', 'meteorslides_add_excerpt' ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment