https対応 †
httpsのページ内のiframeでhttpが指定してあると表示されない。
「//」のようにプロトコルが省略されてい場合httpとして扱われる。
明示的に「https://」と変更する事で、httpsページ内でも表示されるようになる。
- 「src="//」「src="http://」 -> 「src="https://」
- Amazon Associate
<script src="https://
Google AdSenseの広告を右側に表示させる †
- pukiwiki/skin/pukiwiki.skin.php に「<!-- 右側に広告追加 -->」〜「<!-- /右側に広告追加 -->」の部分を追加
<table border="0" style="width:100%; table-layout: fixed;">
<tr>
<td class="menubar">
<div id="menubar"><?php echo do_plugin_convert('menu') ?></div>
</td>
<td valign="top">
<div id="body"><?php echo $body ?></div>
</td>
<!-- 右側に広告追加 -->
<td style="width:160px; vertical-align:top;">
<div>
<!-- Google AdSense のスクリプトを貼る -->
</div>
</td>
<!-- /右側に広告追加 -->
</tr>
</table>
- 整形済みテキストが長い場合での、横スクロールバー防止
オープンソースの広告システム †
- /.htaccess ファイルを作成
# land.to 広告自動挿入停止
LayoutIgnoreURI *.html
LayoutIgnoreURI *.php
- pukiwiki/skin/pukiwiki.skin.php を編集