WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Does not support post formats? (2 posts)

  1. outlierdesign
    Member
    Posted 2 years ago #

    It appears custom post types created with this plugin cannot be made to support post formats, is that correct? Or am I missing something?

    It would be great to be able to do this. Otherwise it's a great plugin.

    http://wordpress.org/extend/plugins/custom-post-type-ui/

  2. sgastevep
    Member
    Posted 1 year ago #

    I just added the following in the plugin code file "custom-post-type-ui.php" right under the group of all the lines that look similar to this:

    <input type="checkbox" name="cpt_supports[]" tabindex="21" value="post-formats" <?php If (isset($cpt_supports) && is_array($cpt_supports)) { If (in_array('post-formats', $cpt_supports)) { echo 'checked="checked"'; } }Elseif (!isset($_GET['edittype'])) { echo 'checked="checked"'; }  ?> />&nbsp;Post Formats <a href="#" title="Adds the post formats meta box when creating content for this custom post type" style="cursor: help;">?</a> <br/ >

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic