目次
- アクション機能について
- Nishiki Pro:アクションフック
- /404.php
- /archive.php
- /footer.php
- /front-page.php
- /index.php
- /search.php
- /library/init.php
- /parts/archive/content.php
- /parts/footer/content.php
- /parts/front/section.php
- /parts/header/global-nav.php
- /parts/header/meta.php
- /parts/singular/content-full-width.php
- /parts/singular/content.php
- /templates/content-full-width-title-none.php
- Nishiki:アクションフック
- /404.php
- /archive.php
- /footer.php
- /index.php
- /search.php
- /parts/front/section.php
- /parts/header/content-sidebar-bottom.php
- /parts/header/content-sidebar-left.php
- /parts/header/content-sidebar-nome.php
- /parts/header/content-sidebar-right.php
- /parts/header/content.php
- /parts/header/global-nav.php
- /parts/singular/content-full-width.php
- /parts/singular/content.php
- フィルター機能について
- Nishiki:フィルターフック
- Nishiki Pro:フィルターフック
アクション機能について
ウェブサイト制作や運営をされている方などは、例えばですが、
- タイトルの下にシェアボタンを入れたい
- 本文の上に目次を入れたい
- 本文の最後に広告を入れたい
など、「コンテンツとコンテンツの間に何かを挟む」というカスタマイズをされることもあると思います。
そのようなカスタマイズをされる方のために、WordPress テーマ Nishiki / Nishiki Pro には以下のアクションフックを用意していますので、ご活用ください。
フックを扱うには、比較的レベルの高いカスタマイズ技術が必要です。
使い方や具体的な活用方法などについては、ユーザーコミュニティ でご質問ください。可能な範囲でサポートいたします。
Nishiki Pro:アクションフック
※「/」はテンプレートファイルのルートです。
※ 原則として「nishiki_pro_」の接頭辞がついています。
テンプレートファイル内で、WordPress 本体やプラグインなどで使われているフックも存在します。それらのフックには接頭辞がついていません。あらかじめご理解ください。
/404.php
- nishiki_pro_before_404_header
- nishiki_pro_after_404_header
- nishiki_pro_before_404_title
- nishiki_pro_after_404_title
- nishiki_pro_before_404_container
- nishiki_pro_after_404_container
- nishiki_pro_before_404_content
- nishiki_pro_after_404_content
/archive.php
- nishiki_pro_before_archive_header
- nishiki_pro_after_archive_header
- nishiki_pro_after_archive_title
- nishiki_pro_before_archive_title
- nishiki_pro_before_archive_container
- nishiki_pro_after_archive_container
- nishiki_pro_before_archive_inner_container
- nishiki_pro_after_archive_inner_container
/footer.php
- nishiki_pro_after_content
- nishiki_pro_before_site_footer
- nishiki_pro_after_site_footer
- nishiki_pro_body_close
/front-page.php
- nishiki_pro_before_home_content
- nishiki_pro_after_home_content
/index.php
- nishiki_pro_before_home_container
- nishiki_pro_after_home_container
- nishiki_pro_before_index_container
- nishiki_pro_after_index_container
- nishiki_pro_after_home_inner_container
- nishiki_pro_before_home_inner_container
/search.php
- nishiki_pro_before_search_header
- nishiki_pro_after_search_header
- nishiki_pro_before_search_title
- nishiki_pro_after_search_title
- nishiki_pro_before_search_container
- nishiki_pro_before_search_inner_container
- nishiki_pro_after_search_inner_container
- nishiki_pro_after_search_container
/library/init.php
- nishiki_pro_body_open
- nishiki_pro_toc_fixed_list
- nishiki_pro_before_site_header
- nishiki_pro_after_site_header
- nishiki_pro_before_content
- nishiki_pro_before_global_nav_menu
- nishiki_pro_after_global_nav_menu
- nishiki_pro_is_singular_post_navigation
- nishiki_pro_singular_post_navigation_is_same_term
- nishiki_pro_singular_post_navigation_is_thumbnail
/parts/archive/content.php
- nishiki_pro_before_archive_inner_archives
- nishiki_pro_after_archive_inner_archives
- nishiki_pro_before_home_content
- nishiki_pro_after_home_content
- nishiki_pro_before_search_content
- nishiki_pro_after_search_content
- nishiki_pro_before_archive_content
- nishiki_pro_after_archive_content
- nishiki_pro_before_archive_inner_articles
- nishiki_pro_before_archive_posts
- nishiki_pro_after_archive_posts
- nishiki_pro_after_archive_inner_articles
- nishiki_pro_before_multiple_search_result_content
- nishiki_pro_after_multiple_search_result_content
- nishiki_pro_before_search_no_post
- nishiki_pro_archive_search_form
- nishiki_pro_after_search_no_post
/parts/footer/content.php
- nishiki_pro_before_site_footer_content
- nishiki_pro_after_site_footer_content
- nishiki_pro_before_site_footer_content_inner
- nishiki_pro_after_site_footer_content_inner
/parts/front/section.php
- 'nishiki_pro_before_front_page_section' . $i . '_content'(2020 年 4 月末廃止)
- 'nishiki_pro_after_front_page_section' . $i . '_content'(2020 年 4 月末廃止)
/parts/header/global-nav.php
- nishiki_pro_before_site_nav
- nishiki_pro_after_site_nav
- nishiki_pro_before_site_nav_inner
- nishiki_pro_after_site_nav_inner
- nishiki_pro_before_global_nav_menu
- nishiki_pro_after_global_nav_menu
- nishiki_pro_before_site_nav_inner_search_button
- nishiki_pro_after_site_nav_inner_search_button
- nishiki_pro_before_site_nav_inner_menu_collapse_button
- nishiki_pro_after_site_nav_inner_menu_collapse_button
- nishiki_pro_before_site_nav_inner_menu_button
- nishiki_pro_after_site_nav_inner_menu_button
/parts/header/meta.php
- nishiki_pro_meta
/parts/singular/content-full-width.php
- nishiki_pro_before_singular_header
- nishiki_pro_after_singular_header
- nishiki_pro_before_singular_title
- nishiki_pro_after_singular_title
- nishiki_pro_before_singular_container
- nishiki_pro_after_singular_container
- nishiki_pro_before_singular_inner_container
- nishiki_pro_after_singular_inner_container
- nishiki_pro_before_singular_content
- nishiki_pro_after_singular_content
- nishiki_pro_before_singular_inner_content
- nishiki_pro_after_singular_inner_content
- nishiki_pro_before_single_author_description
- nishiki_pro_after_single_author_description
/parts/singular/content.php
- nishiki_pro_before_singular_header
- nishiki_pro_after_singular_header
- nishiki_pro_before_singular_title
- nishiki_pro_after_singular_title
- nishiki_pro_before_singular_container
- nishiki_pro_after_singular_container
- nishiki_pro_before_singular_inner_container
- nishiki_pro_after_singular_inner_container
- nishiki_pro_before_singular_content
- nishiki_pro_after_singular_content
- nishiki_pro_before_singular_inner_content
- nishiki_pro_after_singular_inner_content
- nishiki_pro_before_single_author_description
- nishiki_pro_after_single_author_description
- nishiki_pro_after_related_posts
/templates/content-full-width-title-none.php
- nishiki_pro_before_singular_container
- nishiki_pro_after_singular_container
- nishiki_pro_before_singular_inner_container
- nishiki_pro_after_singular_inner_container
- nishiki_pro_before_singular_content
- nishiki_pro_after_singular_content
- nishiki_pro_before_singular_inner_content
- nishiki_pro_after_singular_inner_content
Nishiki:アクションフック
※「/」はテンプレートファイルのルートです。
※ 原則として「nishiki_」の接頭辞がついています。
/404.php
- nishiki_before_404_header
- nishiki_after_404_header
- nishiki_before_404_title
- nishiki_after_404_title
- nishiki_before_404_content
- nishiki_after_404_content
/archive.php
- nishiki_before_archive_header
- nishiki_after_archive_header
- nishiki_before_archive_title
- nishiki_after_archive_title
- nishiki_before_archive_content
- nishiki_after_archive_content
/footer.php
- nishiki_before_site_footer
- nishiki_after_site_footer
/index.php
- nishiki_before_recentry_article
- nishiki_after_recentry_article
/search.php
- nishiki_before_search_header
- nishiki_after_search_header
- nishiki_before_search_title
- nishiki_after_search_title
- nishiki_before_search_content
- nishiki_after_search_content
/parts/front/section.php
- nishiki_before_front_page_section_content
- 'nishiki_before_front_page_section' . $i . '_content'
- 'nishiki_after_front_page_section' . $i . '_content'
- nishiki_after_front_page_section_content
/parts/header/content-sidebar-bottom.php
- nishiki_before_site_header
- nishiki_after_site_header
/parts/header/content-sidebar-left.php
- nishiki_before_site_header
- nishiki_after_site_header
/parts/header/content-sidebar-nome.php
- nishiki_before_site_header
- nishiki_after_site_header
/parts/header/content-sidebar-right.php
- nishiki_before_site_header
- nishiki_after_site_header
/parts/header/content.php
- nishiki_before_site_header
- nishiki_after_site_header
/parts/header/global-nav.php
- nishiki_before_site_nav
- nishiki_after_site_nav
- nishiki_before_site_nav_inner
- nishiki_after_site_nav_inner
- nishiki_before_site_nav_inner_search_button
- nishiki_after_site_nav_inner_search_button
- nishiki_before_site_nav_inner_menu_collapse_button
- nishiki_after_site_nav_inner_menu_collapse_button
- nishiki_before_site_nav_inner_menu_button
- nishiki_after_site_nav_inner_menu_button
/parts/singular/content-full-width.php
- nishiki_before_singular_header
- nishiki_after_singular_header
- nishiki_before_singular_title
- nishiki_after_singular_title
- nishiki_before_singular_content
- nishiki_after_singular_content
- nishiki_before_single_author_description
- nishiki_after_single_author_description
/parts/singular/content.php
- nishiki_before_singular_header
- nishiki_after_singular_header
- nishiki_before_singular_title
- nishiki_after_singular_title
- nishiki_before_singular_content
- nishiki_after_singular_content
- nishiki_before_single_author_description
- nishiki_after_single_author_description
- nishiki_after_related_posts
フィルター機能について
フィルターフックは、主にデフォルト値を変更するために用意されています。
例えば、トップページに設定できるセクションやアイテム数の個数を変更することができます。
Nishiki:フィルターフック
/library/constomizer/init.php
- nishiki_section_num
- nishiki_featured_item
Nishiki Pro:フィルターフック
/library/constomizer/init.php
- nishiki_pro_breadcrumbs_separator
- nishiki_pro_is_singular_author
- nishiki_pro_is_singular_post_navigation
- nishiki_pro_is_singular_comment_template
- nishiki_pro_is_singular_related_posts
- nishiki_pro_related_posts_num
- nishiki_pro_related_posts_text
- nishiki_pro_related_posts_columns
/parts/archive/content.php
- nishiki_pro_archive_posts
WordPress テーマ Nishiki Pro

「ウェブサイト運営に本当に必要とされる機能」をテーマ内にまとめて搭載した WordPress テーマです。
ブロックエディター機能を強化し、これまでの WordPress では難しかったコンテンツが簡単に作れます。
ブログ、ポートフォリオ、コーポレートサイト、ビジネスサイトなど、様々な目的のウェブサイトに対応できるテーマです。
最新情報をチェック!

Nishiki / Nishiki Pro テーマに特化した情報を「にしきちゃん」がお伝えします😀
- リリース情報
- 新機能の紹介
- 便利な使い方
- 開発中の機能紹介
- 導入事例
- あるある日常ネタ
など