Amazon.co.jp ウィジェット

is_sticky() – WordPress テンプレートタグのリファレンス

“この投稿をフロントページに固定する”チェックボックスが、現在の投稿にチェックされていた場合にtrueを返します。この例では、投稿IDの引数が与えられないので、投稿IDのループ投稿のように使用されます。注:このタグは、バージョン2.7から追加されました。

原文(翻訳元)Returns true if “Stick this post to the front page” check box has been checked for the current post. In this example, no post ID argument is given, so the post ID for the Loop post is used. Note: this tag was added at Version 2.7.

is_sticky(’17′)

投稿17が固定投稿と見なされた時にtrueを返します。

原文(翻訳元)Returns true when Post 17 is considered a sticky post.

Tags:

HOME » WordPressの条件タグ » is_sticky()
Page 1 of 11