WordPressのquery.phpを読む(1) - Shinichi Nishikawa's blog より
[...] のツイートは昨年の9月のもので、以来ずっと気になっており、また最近、query_postsとget_postsの違い[追記あり]という記事も話題になりまして、これはwp-includes/query.phpと関連の深いもの [...]
View ArticleWordPressでホームやアーカイブ毎に表示条件を変える(is_main_query と pre_get_posts フック) |...
[...] query_postsとget_postsの違い query_posts と get_posts の違いを説明されていますが、最後の方に pre_get_postsを使う理由などがまとめられています。 評価:Share:FacebookTwitter続き印刷メールアドレ [...]
View ArticleWordPressでホームやアーカイブ毎に表示条件を変える(is_main_query と pre_get_posts フック) |...
[...] query_postsとget_postsの違い query_posts と get_posts の違いを説明されていますが、最後の方に pre_get_postsを使う理由などがまとめられています。 Share:TwitterFacebookGoogle +1メールアドレス印刷続 [...]
View Articlequery_postsを捨てよ、pre_get_postsを使おう | notnil creation weblog より
[...] って、新規にクエリーを作っているのだから、そう使っていいように見えますよね。派生的なクエリーの作り方に関しては、query_postsとget_postsの違い[追記あり]も参考にしてください。 [...]
View Articleカスタム投稿タイプのFAQページを作りながら、WP_Query、rewind_posts、query_posts、pre_get_postsの表示パフォー...
[...] query_postsとget_postsの違い[追記あり] | notnil creation weblog [...]
View Article