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

  1. outlierdesign
    Posted 3 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.


  2. sgastevep
    Posted 2 years 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

  • Custom Post Type UI
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic