Fun is back, find the equilibrium with machine translation. Will it converge?
と・・・今、そのようにやってみたのですが、1つも投稿の無いカテゴリのアーカイブになると、0が返ってきてしまいます。 出るかと思っていましたが、出ないようですね。となると、wp_title() の中身を解析すればよさそうです。 $cat = get_query_var('cat'); $category_name = get_query_var('category_name'); // If there's a category if ( !empty($cat) ) { // category exclusion if ( !stristr($cat,'-') ) $title = apply_filters('single_cat_title', get_the_category_by_ID($cat)); } elseif ( !empty($category_name) ) { if
Sets up The Loop with query parameters. Description Note: This function will completely override the main query and isn’t intended for use by plugins or themes. Its overly-simplistic approach to modifying the main query can be problematic and should be avoided wherever possible. In most cases, there are better, more performant options for modifying the main query such as via the ‘pre_get_posts’ ac
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く