[[wp/カテゴリ別記事一覧を表示]]

目次つくるには
http://pc.casey.jp/archives/153894000

Table of Contents Generator
◦インストールは ylsy_toc.php をプラグインディレクトリにアップロードして有効化
&#9702;記事中に <!&#8211;TOC&#8211;> を入れると置換される
&#9702;表示を変えたいときは /wp-content/plugins/ylsy_toc.php を編集する
&#9702;サイドバーなどテンプレートファイルに入れるときは <?php echo $post->post_toc; ?>
&#9702;一番使われているようだが公式から検索&インストールはできないようだ
&#9702;ダウンロード:Table of Contents Generator WordPress plugin | SYP
&#9702;参考:hnタグから目次を作成するWordPressプラグイン「Table of Contents Generator」
&#9702;参考:power source* &raquo; WP plugin[up]: 目次生成 &#8211; Table of Contents Generator をアップグレード
&#9702;参考:Table of Contents Generator:自動で見出しを作成 &raquo; WordPressメモ
&#9702;参考:Table of Contents Generator WordPress plugin(目次自動生成) | teralog
&#9702;参考:記事の目次を表示するプラグインを入れてみた | HappyQuality
記事中に表示した例
テンプレートファイル(single.php)とCSS ファイル(style.css) に追記した表示例

ソースを表示印刷SyntaxHighlighterについて
1 // single.php  

2 echo $post->post_toc;  

3 echo '<br style="clear:both;">'; 
ソースを表示印刷SyntaxHighlighterについて
1 /*style.css*/ 

2 .toc {  

3 border: #ccc solid 1px;  

4  float: left;  

5 font-size: .9em;  

6 margin: 0 0 5px 12px;  

7 width: 98%;  

8 clear:both;  

9 }  

10 .toc ol {  

11   margin: 5px;  

12   padding-left: 30px;  

13 } 


サイドバーに表示した例
ソースを表示印刷SyntaxHighlighterについて
1 //  sidebar.php  

2 if (is_single() || is_page()) {  

3  echo '<li id="text-9">';  

4  echo '<h4 style="cursor: n-resize;">目次</h4>';  

5  echo $post->post_toc;  

6  echo '</li>';  

7  } 
ソースを表示印刷SyntaxHighlighterについて
1 .toc {}  

2 .toc ol {}  

3 .toc ol li {  

4  list-style-image: none;  

5  list-style-type: circle;  

6 } 


WP-TOC


&#9702;記事中に [toc depth="2] などを入れると置換される
&#9702;ダウンロード:WordPress &#8250; WP-TOC &laquo; WordPress Plugins
TOC For WordPress




&#9702;記事中に [toc]  を入れると置換される(Master Post Advert にタグを書いたら変換してくれた)


Table Of Content
&#9702;記事中に[table-of-content][/table-of-content](その他ショートコード用オプションあり)などを入れると置換される
&#9702;似ているが TableOfContents ではない
jQuery Table of Contents


&#9702;ダウンロード:WordPress &#8250; jQuery Table of Contents &laquo; WordPress Plugins
&#9702;参考:目次を自動生成するプラグインWordPress jQuery Table of Contents plugin &#8211; 携帯ドロップシッピングで月商100万円稼ぐ!
&#9702;参考:WordPress jQuery Table of Contents plugin | Ted Carnahan
Tiny Table Of Content &#8211; TinyTOC
&#9702;よくわからなかった
Table of Contents Creator




&#9702;記事中に <&#8211;toc-creator&#8211;> を入れると置換され・・・ない!?
&#9702;サイトマップ(人間向け)もつくってくれる
さらに探す
&#9702;WordPress &#8250; toc &laquo; Tags &laquo; WordPress Plugins
JavaScript で実装する
&#9702;h1からh6の見出しを抽出し、ページ内リンク(toc)を自動生成するjavascript|1bit::memo
関連記事
&#9702;WordPress 自動バックアッププラグイン
&#9702;WordPress 携帯端末対応プラグイン
&#9702;WordPress 高機能アクセス解析プラグイン
&#9702;[WordPress] ウィジットでPHP を実行
&#9702;[WordPress] 関連記事を自動的に表示するプラグイン
&#9702;WordPress 標準機能だけで営業日カレンダー表示
&#9702;WordPress FAQプラグイン

この記事を読んだ人は、こんな記事にも興味をもっています
&#9702;WordPress 高機能アクセス解析プラグイン
&#9702;[WordPress] 関連記事を自動的に表示するプラグイン
&#9702;WordPress「続きを読む」(moreタグ)関連プラグイン
&#9702;[WordPress] ビジュアルエディタにTinyMCE を使う
&#9702;[WordPress] 全記事の置換を行う &#8211; Search Regex
&#9702;WordPress つぶやくボタンの設置


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS