$args = array('numberposts' => 10, 'tag' => 'my-tag', 'ID' => 555'); $posts = get_posts($args);
我只想从特定标签中提取 10 条记录,并且 ID 小于一个数字。有没有办法用 get_posts 参数做到这一点?如何在参数数组中指定大于、小于或不喜欢?
谢谢...
wordpress arguments posts
arguments ×1
posts ×1
wordpress ×1