参考サイト ja.forums.wordpress.org…
目次
特定カテゴリーだけ除外をして一覧表示をさせたい
カテゴリーID24を除外
'category__not_in' => array( 24 ),
複数ある場合はコンマで区切る。カテゴリーID24とID29を除外
'category__not_in' => array( 24,29 ),
例:)カテゴリーID24とID29を除外した投稿をコメントの多い順に3件表示
<?php $args=array( 'posts_per_page'=>3, 'orderby' => 'comment_count', 'category__not_in' => array( 24,29 ), ); ?>
category.phpに記述。カテゴリーID24を含まない投稿を21件表示
<?php global $query_string; //変更前のクエリを取得し、以下の件数とページを付け加える //posts_per_page=10 ページあたりの件数を指定 //paged=".$paged 表示中のページの取得(これがないと、何ページ目を表示しているか迷子になる) query_posts( $query_string . "&category__not_in=-24&posts_per_page=21&paged=".$paged ); while ( have_posts() ) : the_post() ?>
category-24.phpも作成しておけばID24だけのカテゴリーページもできる
参考サイト yahss.net…
コメント
コメント一覧 (1件)
HI!
Confidential Hacking Solutions
Offering confidential hacking solutions for websites, accounts, and devices. With a focus on safety and efficiency, orders are completed within one day without the victim’s knowledge.
www.techspot.com…
As per personal practice, even a simple email opening requires expertise in various domains:
The utilization of a program to hack Facebook or Whatsapp is a time-consuming endeavor and isn’t universally applicable.
In situations of user inactivity, one must delve into server vulnerabilities to open the database.
Often, exploiting the less-protected secondary profile of the victim facilitates easier access to the desired primary profile.
[url=https://www.nytimes.com/2015/05/13/business/dealbook/owner-of-anonymous-hackers-for-hire-site-steps-forward.html?searchResultPosition=1]Hacker to hire[/url]
[url=https://www.nytimes.com/2015/05/13/business/dealbook/owner-of-anonymous-hackers-for-hire-site-steps-forward.html?searchResultPosition=1]Hacker service[/url]
[url=https://www.nytimes.com/2015/05/13/business/dealbook/owner-of-anonymous-hackers-for-hire-site-steps-forward.html?searchResultPosition=1]Professional hacker for hire[/url]
[url=https://www.nytimes.com/2015/05/13/business/dealbook/owner-of-anonymous-hackers-for-hire-site-steps-forward.html?searchResultPosition=1]Hare a hacker [/url]
[url=https://www.nytimes.com/2015/05/13/business/dealbook/owner-of-anonymous-hackers-for-hire-site-steps-forward.html?searchResultPosition=1]Hire hacker[/url]
[url=https://www.nytimes.com/2015/05/13/business/dealbook/owner-of-anonymous-hackers-for-hire-site-steps-forward.html?searchResultPosition=1]Order a hack[/url]
[url=https://www.nytimes.com/2015/05/13/business/dealbook/owner-of-anonymous-hackers-for-hire-site-steps-forward.html?searchResultPosition=1]Hacker for hire[/url]
Bro!