Created
October 27, 2011 17:28
-
-
Save jmdodd/1320216 to your computer and use it in GitHub Desktop.
Add Post Format to the $post taxonomy array
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 | |
$postarr['tax_input']['post_format'] = 'post-format-aside'; | |
$postarr['tax_input']['post_format'] = 'post-format-chat'; | |
$postarr['tax_input']['post_format'] = 'post-format-gallery'; | |
$postarr['tax_input']['post_format'] = 'post-format-link'; | |
$postarr['tax_input']['post_format'] = 'post-format-image'; | |
$postarr['tax_input']['post_format'] = 'post-format-quote'; | |
$postarr['tax_input']['post_format'] = 'post-format-status'; | |
$postarr['tax_input']['post_format'] = 'post-format-video'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment