Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rvturnage

    (@rvturnage)

    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.

    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.