Title: post_format
Last modified: August 31, 2016

---

# post_format

 *  [rvturnage](https://wordpress.org/support/users/rvturnage/)
 * (@rvturnage)
 * [10 years ago](https://wordpress.org/support/topic/post_format-2/)
 * Using the widget and trying to limit the taxonomy to only show post_format “quote”.
   I can’t get get it to work. It returns nothing. how should it be formatted in
   the Limit Taxonomy field? There are samples for category and post tag, but not
   post format.
 * [https://wordpress.org/plugins/recent-posts-widget-extended/](https://wordpress.org/plugins/recent-posts-widget-extended/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [rvturnage](https://wordpress.org/support/users/rvturnage/)
 * (@rvturnage)
 * [10 years ago](https://wordpress.org/support/topic/post_format-2/#post-7230367)
 * I had to edit the functions file of the plugin to get post_format to work. Thought
   I’d share it here so any users that may run into the problem can hack it as well:
 * in the plugin’s functions.php file, add this at line 280, just before the tax_query
   array
    `if( $slug=="post_format") { $field = "slug"; } else {$field ="id";}`
 * then, on line 283 in the tax_query array change
    `'field' => 'id',` to be `'field'
   => $field,`
 * Hopefully the author will either incorporate this fix into the plugin, or point
   out what I was doing wrong so I can remove this hack.
 *  [simondor](https://wordpress.org/support/users/simondor/)
 * (@simondor)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/post_format-2/#post-7230675)
 * Thank you for your help. But how do I format it in the field itself (in my widget)?
 * I tried this:
 * `post_format=standard`
 * this
 * `post_format="standard"`
 * & this
 * `post_format='standard'`
 * but nothing works. Any tips?
 * Thank you,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘post_format’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

## Tags

 * [post_format](https://wordpress.org/support/topic-tag/post_format/)
 * [taxonomy](https://wordpress.org/support/topic-tag/taxonomy/)

 * 2 replies
 * 2 participants
 * Last reply from: [simondor](https://wordpress.org/support/users/simondor/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/post_format-2/#post-7230675)
 * Status: not resolved