Sponsored Link
該当する記事上でsticky postクラスが表示されます。このタグはループ内にある必要があります。
Sponsored Link
Displays the sticky post class on a post if applicable. This tag must be within The Loop.
sticky_classのテンプレートタグ使用方法
<?php sticky_class(); ?>
sticky_classのパラメーター
このタグは、パラメーターがありません。
This tag has no parameters.
例
デフォルトの使い方
<div class="post<?php sticky_class(); ?>" id="post-<?php the_ID(); ?>">
Sticky Post 識別子
適用されるそれぞれの投稿に付箋クラスを提供します:
Provides a sticky class to each post that it applies to:
変更ログ
Since: 2.7.0
関連テンプレートタグ
the_ID, the_title, the_title_attribute, single_post_title, the_title_rss, the_content, the_content_rss, the_excerpt, the_excerpt_rss, wp_link_pages, next_post_link, next_posts_link, previous_post_link, previous_posts_link, posts_nav_link, sticky_class, the_meta