看起来您的语法对于税务查询有点不合适。尝试以下操作:
$query = new WP_Query( array(
\'post_type\' => \'post\',
\'cat\' => \'-1\',
\'posts_per_page\' => 2,
\'tax_query\' => array( array(
\'taxonomy\' => \'post_format\',
\'field\' => \'slug\',
\'terms\' => array(\'post-format-aside\', \'post-format-gallery\', \'post-format-link\', \'post-format-image\', \'post-format-quote\', \'post-format-status\', \'post-format-audio\', \'post-format-chat\', \'post-format-video\'),
\'operator\' => \'NOT IN\'
) )
);
(旁白:如果您没有使用某些帖子格式,可以将其从“术语”数组中删除。但如果目标是只显示“正常”格式,您可能希望将其全部保留在那里,以防将来内容发生更改。)