Archive for 9 月, 2008

無料サーバー

Posted on 火曜日, 9 月 30th, 2008 at 9:40 PM

無料サーバーでどこかいい所ないだろかと検索。。。

DB MySQL PHP cgi .htaccess sendmail mod_rewrite ssi SSL 可 
容量 大(500MB以上 / すぐ使用可能 (抽選とか 日が かかるし。。。。
そんな条件満たすとこって・・・・ ないw って思ってたら ココ発見(現在使用鯖)

その他含む・・無料サーバー探したのをサクッと書いてみた。。↓↓↓ Read the rest of this entry »

関連記事

wordpress:時間表示変更

Posted on 火曜日, 9 月 30th, 2008 at 6:52 PM

wordpress
index
archive
search
comments などの php
の各時間表示を変更

<?php the_time('F jS, Y'); ?>

<?php the_time('Y,m,d'); ?> とかに

----
時間書式 date
http://us3.php.net/date

関連記事

wordpress:header親カテゴリーのみ表示

Posted on 火曜日, 9 月 30th, 2008 at 4:35 PM

wordpress

現在使用しているテーマは ヘッダー部分にカテゴリを5個表示することができる。

しか~し pluginCategory Order  を使用し 子カテゴリを1つ右にずらしている為
ヘッダー部分表示時 margin-left:1em となり 子のみ見た目ちょっと 隙間が出来る ^^;
----
(サイドバーカテゴリ)
|親|
 |子|
 |子|
----------
(ヘッダーカテゴリ)
|親|親| |子| |子|
--------
現在ヘッダー部分は

Read the rest of this entry »

関連記事

信州:ALPICOバスキティ

Posted on 火曜日, 9 月 30th, 2008 at 3:51 PM

信州限定 アルピコバスキティ

アルピコ

アルピコバス

長野?

関連記事

wordpress:カテゴリ選択時の表示画面変更

Posted on 火曜日, 9 月 30th, 2008 at 3:08 PM

wordpress
各Categoriesを選択した際に表示される画面が

画像なし文字だけ と 抜粋表示されている。まぁ いいんだけど 全表示で いいじゃん。ってことで以下のようにしてみた。

archive.phpの

--------
 <div class="entrybody">
<?php the_excerpt(); _e('<p><a href="'.get_permalink().'">Continue reading about '); the_title(); _e('</a></p>');  ?>
</div>

を次のように書き換えちゃう。

 <div class="entrybody">
<?php the_content('続きを読む・・・ &raquo;');   ?>
</div>
----------
ちなみに tagも 入れたければ
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>を 足せばおk

こんな感じ ↓

<div class="entrybody">
<?php the_content('続きを読む・・・ &raquo;');   ?>
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
</div>

関連記事

wordpress:more・・・の日本語化

Posted on 火曜日, 9 月 30th, 2008 at 2:44 PM

wordpress
Insert More Tag というのを使用すると
表示ページを任意の長さで切ることができる。
その際代わりに表示される言葉は more… や Read the rest of this entry など
テンプレートにより異なるが日本語表示にする場合修正する箇所は以下の通りである。

-----

index.phpの
<div class="entrybody">
<?php the_content('Read the rest of this entry &raquo;');   ?>

を次のように修正すると おk

<div class="entrybody">
<?php the_content('続きを読む・・・ &raquo;');   ?>

--------------
区切る位置をフォントカラー指定の途中などにするとその部分以降がすべて指定カラーとなったりするので注意w
-------------

<?php the_excerpt(__('Read More'));?>の代わりに

<?php the_content('続きを読む・・・ &raquo;');   ?>で おk

関連記事

信州:CentralAlpsホルンキティ

Posted on 火曜日, 9 月 30th, 2008 at 8:23 AM

信州限定 中央アルプスホルンキティ

中央アルプスホルンキティ

中央アルプスキティ

長野?

関連記事

日本アルプス:雷鳥キティ(殻付)

Posted on 火曜日, 9 月 30th, 2008 at 8:20 AM

雷鳥キティ(卵殻付) MOUNTAIN MEADOWS

雷鳥キティ

雷鳥キティ

 

岐阜? 

関連記事

岐阜:おこじょキティ

Posted on 火曜日, 9 月 30th, 2008 at 8:15 AM

 おこじょキティMOUNTAIN MEADOWS

おこじょキティ シルバー

おこじょキティ 銀

おこじょ茶

おこじょキティ 茶

 おこじょキティ ホワイト

おこじょキティ 白

 

岐阜?左から 銀・茶・白

関連記事

wordpress:mod_rewrite なし静的ページ

Posted on 月曜日, 9 月 29th, 2008 at 11:11 PM

wordpress の パーマリンク

当鯖のように mod_rewrite のない(不可)鯖を使用した場合

パーマリンク使用可能かどうか。

可能です。w

カスタムにて

/index.php/を頭につけて %postname% などお好きなのを。続けて書く。

ちなみに あくまでも動的ページを静的ページっぽく 見せかけているだけです。

関連記事