I was working on a slideshow tonight in a custom WordPress theme and wanted to use Meteor Slides. The only problem is that Meteor Slides does not come with the post editor enabled. So, I used the “add_post_type_support()” function to enable it:
<?php add_action('init', 'my_custom_init'); function my_custom_init() { add_post_type_support( 'slides', 'editor' ); } ?> |
And whallah! Now Meteor Slides supports the post editor!
Note: Make sure to change “slides” to whatever custom post type you want to enable the features on.
Yeah, add_post_type_support is a super handy function! I have used it a few times to add the excerpt to use as a slide caption.