WP Manifestindependent plugin directory
manifest / content / toc-ad

TOC-AD WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

ワードプレスのプラグインです。目次下に広告(画像)を挿入できるもの。

★ 1stars
3release downloads
v1.0.0latest · 7mo ago

Install

Download TOC_AD_v1.0.0.zip From the v1.0.0 release on GitHub, Mar 31, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/natuki53/toc-ad/releases/download/v1.0.0/TOC_AD_v1.0.0.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WordPressで生成された目次(Table of Contents)のすぐ下に、管理画面から設定したバナー広告を自動で挿入するシンプルなプラグインです。

できること

  • 画像URLとリンク先URLを入力するだけでバナーを登録
  • ALTテキスト、リンクターゲット、画像サイズ、ラッパーclassの調整
  • 管理画面(設定 > TOC下広告)でプレビュー表示

使い方

  1. プラグインを wp-content/plugins/toc-ad に配置し有効化します。
  2. 管理画面の「設定 > TOC下広告」から広告情報を保存します。
  3. サイト内の目次ブロック(classもしくはidに toc を含む要素、[toc] ショートコード、`` コメント)を検出すると、その直後に広告が挿入されます。

フィルターフック

  • tab_ad_markup: 生成された広告HTMLをカスタマイズできます。
add_filter( 'tab_ad_markup', function ( $html, $settings ) {
    return '<div class="custom">' . $html . '</div>';
}, 10, 2 );

ライセンス

MIT

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.0.0 latest
Mar 31, 2026 7mo ago
TOC_AD_v1.0.0.zip
2
Mar 31, 2026 7mo ago
TOC_AD_v0.1.0.zip
1
A grade

Security

TOC-AD 1.0.0 · audited by WP Registry

No security issues found.

Audited release
1.0.0
Findings
none
Worst severity
—
Content hash
65165bb57e77d46eb79e74b1…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.