📜  ignore_sticky_posts - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:17.076000             🧑  作者: Mango

代码示例1
$sticky = get_option( 'sticky_posts' );
$query = new WP_Query( 'p=' . $sticky[0] );