Displays or retrieves page title for category archive. Description Useful for category template files for displaying the category page title. The prefix does not automatically place a space between the prefix, so if there should be a space, the parameter value will need to have it at the end. Parameters $prefixstringoptional
Retrieves post categories. Description This tag may be used outside The Loop by passing a post ID as the parameter. Note: This function only returns results from the default "category" taxonomy. For custom taxonomies use get_the_terms() . Parameters $post_idintoptional Default:false Return WP_Term[] Array of WP_Term objects, one for each category assigned to the post. Source function get_the_categ
投稿に付けられた全てのカテゴリーをリンク形式で表示します。 この例はループの中で使わなければなりません。 なお、get_the_category_list() を使っても同じことができます。 <?php $categories = get_the_category(); $separator = ' '; $output = ''; if ( $categories ) { foreach( $categories as $category ) { $output .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '">' . $category->cat
返り値 カテゴリー情報(オブジェクト)を配列に格納して返す。投稿データにカテゴリーが設定されていない場合は、空の配列を返す。 カテゴリー情報のメンバー変数は次の通り。
Section: File Formats (5) Updated: 24 January 1994 Index JM Home Page roff page 名前 crontab - cron を駆動するための一覧表 説明 crontab ファイルには cron(8) デーモンへの命令が 「この日付のこの時刻にこのコマンドを使用せよ」 という形式で書き込まれている。 ユーザはそれぞれ自分用の crontab を持っており、 各 crontab に与えられたコマンドは、 その crontab を所有しているユーザの権限で実行されることになる。 UUCP や News はたいていそれぞれの crontab を持っているので、 cron コマンドの一部で su(1) を明示的に実行する必要性はない。 空行および行頭のスペース・タブは無視される。 行先頭の空白以外の文字が # の行はコメント行で
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く