wp/wp-content/plugins/option-tree/assets/js/ot-postformats.js
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
     7 
     7 
     8   /* POSTFORMATS CLASS DEFINITION
     8   /* POSTFORMATS CLASS DEFINITION
     9    * ====================== */
     9    * ====================== */
    10   var formats = "input.post-format"
    10   var formats = "input.post-format"
    11     , metaboxes = [
    11     , metaboxes = [
    12           '#ot-post-format-gallery'
    12           '#ot-post-format-aside'
       
    13         , '#ot-post-format-audio'
       
    14         , '#ot-post-format-chat'
       
    15         , '#ot-post-format-gallery'
       
    16         , '#ot-post-format-image'
    13         , '#ot-post-format-link'
    17         , '#ot-post-format-link'
    14         , '#ot-post-format-image'
       
    15         , '#ot-post-format-quote'
    18         , '#ot-post-format-quote'
       
    19         , '#ot-post-format-status'
    16         , '#ot-post-format-video'
    20         , '#ot-post-format-video'
    17         , '#ot-post-format-audio'
       
    18       ]
    21       ]
    19     , ids = metaboxes.join(',')
    22     , ids = metaboxes.join(',')
    20     , insertAfter = '#titlediv'
    23     , insertAfter = '#titlediv'
    21     , imageBox = '#postimagediv'
    24     , imageBox = '#postimagediv'
    22     , placeholder = 'postimagediv-placeholder'
    25     , placeholder = 'postimagediv-placeholder'