» アップロードしたWordPressのテーマをギャラリー化、デモページも作成するプラグイン・Showcase ext and i18nの日本語ファイル作った

ネット(net)を有効利用して勝ち人、価値人に変身出来るような情報をかちびと.netで配信します

WordPress

WordPress(RSSRSS)を好んで使用しますのでソフトウェアとは別にトピックを独立させています

   

かちびと.netとは

貴方のネットビジネスを支えたい。かちびと.netはそんな思いを持ったサイトです。Web制作に役立つ素材やソフトウェア、Webサービス、マーケティングに役立つ情報などを配信しています。宜しければメモ代わりにご利用下さい。詳しい情報はAboutをご覧下さい。

About

Kachibito.net is a community-based website for web designers and developers. The site includes a popular weblog, a design gallery, a open source software, design tips, and the various web-news.
 

アップロードしたWordPressのテーマをギャラリー化、デモページも作成するプラグイン・Showcase ext and i18nの日本語ファイル作った

Cat: » WordPress, プラグイン
Day:6月 29, 2009

WPデザインギャラリー

showcase-ext-and-i18n00
最近リリースされたプラグインの中の
「使っているWordPressにアップロード
したテーマをギャラリー化して、デモも
自動的に作成するプラグイン」の
Showcase ext and i18nが僕にとって
あまりにも衝撃でしたので脊髄反射的に
日本語ファイルも作成しました。

Showcase ext and i18nの詳細

showcase-ext-and-i18n
Showcase ext and i18nは使用しているWordPressにアップロードしたテーマファイル
をショートコードでギャラリー形式に表示してデモリンクまで自動的に作成可能な
WordPressのプラグインです。もしかしたら似たようなプラグインもあるのかも知れませんが、
僕は知りませんでしたので感動しましたよ。嬉しい事にlanguageファイルが入っていたので
日本語ファイルも作成しました。

インストール

showcase-ext-and-i18n01
一応日本語ファイル作りましたけど、どっかおかしいかも。見つけたら教えてください。

  1. Showcase ext and i18nをダウンロードして解凍
  2. 日本語ファイルが必要な場合はダウンロードして解凍
  3. 日本語フォルダ内のpo、moファイルをShowcase ext and i18nフォルダ内にコピー
  4. Showcase ext and i18nフォルダごとアップロード
  5. 管理画面でプラグインを有効化
  6. 外観→Showcaseオプションで各種設定
  7. ショートコードを記事やページに挿入
  8. ショーケースが表示されているか確認して完了

使用方法

一応、日本語ファイルを利用したと仮定してご説明します。

ショーケースオプション

ギャラリーの目次の設定です。
テーマ名一覧、サムネイルの表示、その順番を設定可能です。
テーマ名一覧、サムネイル一覧を両方とも表示させる事も可能です。
サムネイルを表示する場合は列数を設定します。記事やページ内で
表示する事になるので、本文が記載される部分の幅を超えない様に
数を設定してください。また、テーマごとの境界を決定できます。
個人的には<hr />が分かりやすいかなと感じました。

テーマ情報オプション

ギャラリーに表示されるテーマの詳細情報の選択です。
作成者、テーマの説明、テーマのタグ、readme.txtへのリンクの有無を
決められます。翻訳タグというのは何故か機能しませんでした。。。
尚、readme.txtが無いテーマもありますので注意して下さい。

ユーザーに定義されたファイル名

Showcase ext and i18nではサムネイル、ギャラリーで表示する画像、ギャラリーの
画像のリンク画像を変更できますが、テーマには通常screenshot.pngが1つ入っている
事が殆どで、無い場合もあります。

このギャラリープラグインの機能を上手く利用するにはサムネイル用の小さな画像、
ギャラリーに表示される中くらいの画像、ギャラリーに表示されている画像のリンク先の
大きな画像を同梱してアップロードすると、上手い具合にギャラリーっぽくなります。

その3種類の画像の名前をそれぞれのテーマフォルダ内で統一し、管理画面で設定します。
僕はサムネイル用にscreenshot-s.png、ギャラリー画像のリンク先の大きな画像に
screenshot-l.pngとして用意しました。テーマのフォルダ内は以下のようになっています。

showcase-ext-and-i18n02

用途

  1. WordPressのテーマでWebデザインブランディング
  2. 有料テンプレートのプレビューで購買意欲促進
  3. 好みのテーマが沢山あるから公開したい
  4. 作成テーマを見てもらって評価してもらいたい

などに如何でしょうか。海外みたいにテーマ配布サイトを作るのも良いかも。
デモを見てもらう事で有料のテーマ、例えばSEOテンプレート「賢威」
などの購買意欲も促す事も可能かと思います。

プラグインの実装

上記の設定を行った上で、実際に以下に実装してみます。
※テーマの画像をクリックするとscreenshot-l.pngがLightbox風に
表示されますが、重いです・・多分フリーズした訳ではないのでご安心下さい。

テーマ一覧

Dark Wood


Foliage [v1.02]
GRID wordpress theme
kachi20
Modern
Notepad Chaos
photo clip
JoshuaInk.com:_bus_full_of_hippies_edition,__flowers_illustration_by_Denis_Radenkovic.__Template_updated_by_Graham_Bancroft_for_the_Creative_Commons_release.__ported_to_Sandbox_for_Wordpress_by_Adam_Freetly.__all_support_inquiries_for_this_version_should_be_directed_to_archGFX._Traduction_francaise_par_WordPress_tuto. VERSION:_0.9.1 AUTHOR:_Andy_Skelton_&_Scott_Allan_Wallick AUTHOR_URI:">The bus full of hippies THEME URI: http://www.plaintxt.org/themes/sandbox/ DESCRIPTION: A theme rich with powerful and dynamic semantic class selectors; a canvas for CSS artists + Based on the famous JoshuaInk.com: bus full of hippies edition, flowers illustration by Denis Radenkovic. Template updated by Graham Bancroft for the Creative Commons release. ported to Sandbox for Wordpress by Adam Freetly. all support inquiries for this version should be directed to archGFX. Traduction francaise par WordPress tuto. VERSION: 0.9.1 AUTHOR: Andy Skelton & Scott Allan Wallick AUTHOR URI:
WordPress Classic
WordPress Default
wp.Vicuna
全 13 テーマ

テーマサムネイル一覧

13 個のテーマのサムネイル一覧
画像をクリックすると、ジャンプします
戻りますか?テーマ一覧
Dark_Wood

Dark Wood

Foliage_[v1.02]

Foliage [v1.02]

GRID_wordpress_theme

GRID wordpress theme

kachi20

kachi20

Modern

Modern

Notepad_Chaos

Notepad Chaos

photo_clip

photo clip

JoshuaInk.com:_bus_full_of_hippies_edition,__flowers_illustration_by_Denis_Radenkovic.__Template_updated_by_Graham_Bancroft_for_the_Creative_Commons_release.__ported_to_Sandbox_for_Wordpress_by_Adam_Freetly.__all_support_inquiries_for_this_version_should_be_directed_to_archGFX._Traduction_francaise_par_WordPress_tuto. VERSION:_0.9.1 AUTHOR:_Andy_Skelton_&_Scott_Allan_Wallick AUTHOR_URI:">JoshuaInk.com: bus full of hippies edition, flowers illustration by Denis Radenkovic. Template updated by Graham Bancroft for the Creative Commons release. ported to Sandbox for Wordpress by Adam Freetly. all support inquiries for this version should be directed to archGFX. Traduction francaise par WordPress tuto. VERSION: 0.9.1 AUTHOR: Andy Skelton & Scott Allan Wallick AUTHOR URI:" alt="The_bus_full_of_hippies__ THEME_URI:_http://www.plaintxt.org/themes/sandbox/ DESCRIPTION:_A_theme_rich_with_powerful_and_dynamic_semantic_class_selectors;_a_canvas_for_CSS_artists_+_Based_on_the_famous_JoshuaInk.com:_bus_full_of_hippies_edition,__flowers_illustration_by_Denis_Radenkovic.__Template_updated_by_Graham_Bancroft_for_the_Creative_Commons_release.__ported_to_Sandbox_for_Wordpress_by_Adam_Freetly.__all_support_inquiries_for_this_version_should_be_directed_to_archGFX._Traduction_francaise_par_WordPress_tuto. VERSION:_0.9.1 AUTHOR:_Andy_Skelton_&_Scott_Allan_Wallick AUTHOR_URI:" src="http://kachibito.net/wp-content/themes/bus full of hippies fr/screenshot-s.png">

The bus full of hippies THEME URI: http://www.plaintxt.org/themes/sandbox/ DESCRIPTION: A theme rich with powerful and dynamic semantic class selectors; a canvas for CSS artists + Based on the famous JoshuaInk.com: bus full of hippies edition, flowers illustration by Denis Radenkovic. Template updated by Graham Bancroft for the Creative Commons release. ported to Sandbox for Wordpress by Adam Freetly. all support inquiries for this version should be directed to archGFX. Traduction francaise par WordPress tuto. VERSION: 0.9.1 AUTHOR: Andy Skelton & Scott Allan Wallick AUTHOR URI:

WordPress_Classic

WordPress Classic

WordPress_Default

WordPress Default

wp.Vicuna

wp.Vicuna

Dark Wood

テストが可能です

作成者: Nischal Maniar

バージョン1.4: High quality WordPress theme. Wood, Brown, Dark. Three Column , Threaded comments. No plugins required, Sidebar widget ready. Compatible with WordPress 2.7. Valid CSS & HTML, Compatible with IE 7, Mozilla, Safari

readmeファイルをご覧下さい: readme.txt

テーマのタグ: Dark, Brown, three-columns, fixed-width, threaded-comments

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

Foliage [v1.02]

テストが可能です

作成者: Derek Punsalan

バージョン1.02: Inspiried by nature, Foliage maintains the simplicity of a single column layout with a obvious bias towards the color green. Green with envy.

readmeファイルをご覧下さい: readme.txt

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

GRID wordpress theme

テストが可能です

作成者: Motoshi Goto

バージョン1.0:

readmeファイルをご覧下さい: readme.txt

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

kachi20

テストが可能です

作成者: shiro

バージョン:

readmeファイルをご覧下さい: readme.txt

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

Modern

テストが可能です

作成者: Ulf Pettersson

バージョン0.9: A light, simple and modern theme.

readmeファイルをご覧下さい: readme.txt

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

Notepad Chaos

テストが可能です

作成者: Evan Eckard

バージョン1.0: Notepad Chaos is a wordpress theme by Evan Eckard

readmeファイルをご覧下さい: readme.txt

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

photo clip

テストが可能です

作成者: Good Design Web

バージョン1.0: A simple, clean blog theme by Good Design Web.

readmeファイルをご覧下さい: readme.txt

テーマのタグ: simple, clean, two-columns, fixed-width, valid-CSS, valid-XHTML

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

JoshuaInk.com:_bus_full_of_hippies_edition,__flowers_illustration_by_Denis_Radenkovic.__Template_updated_by_Graham_Bancroft_for_the_Creative_Commons_release.__ported_to_Sandbox_for_Wordpress_by_Adam_Freetly.__all_support_inquiries_for_this_version_should_be_directed_to_archGFX._Traduction_francaise_par_WordPress_tuto. VERSION:_0.9.1 AUTHOR:_Andy_Skelton_&_Scott_Allan_Wallick AUTHOR_URI:">JoshuaInk.com:_bus_full_of_hippies_edition,__flowers_illustration_by_Denis_Radenkovic.__Template_updated_by_Graham_Bancroft_for_the_Creative_Commons_release.__ported_to_Sandbox_for_Wordpress_by_Adam_Freetly.__all_support_inquiries_for_this_version_should_be_directed_to_archGFX._Traduction_francaise_par_WordPress_tuto. VERSION:_0.9.1 AUTHOR:_Andy_Skelton_&_Scott_Allan_Wallick AUTHOR_URI:">The bus full of hippies THEME URI: http://www.plaintxt.org/themes/sandbox/ DESCRIPTION: A theme rich with powerful and dynamic semantic class selectors; a canvas for CSS artists + Based on the famous JoshuaInk.com: bus full of hippies edition, flowers illustration by Denis Radenkovic. Template updated by Graham Bancroft for the Creative Commons release. ported to Sandbox for Wordpress by Adam Freetly. all support inquiries for this version should be directed to archGFX. Traduction francaise par WordPress tuto. VERSION: 0.9.1 AUTHOR: Andy Skelton & Scott Allan Wallick AUTHOR URI:

テストが可能です

作成者: Andy Skelton & Scott Allan Wallick AUTHOR URI:

バージョン0.9.1 AUTHOR: Andy Skelton & Scott Allan Wallick AUTHOR URI:: A theme rich with powerful and dynamic semantic class selectors; a canvas for CSS artists + Based on the famous JoshuaInk.com: bus full of hippies edition, flowers illustration by Denis Radenkovic. Template updated by Graham Bancroft for the Creative Commons release. ported to Sandbox for Wordpress by Adam Freetly. all support inquiries for this version should be directed to archGFX. Traduction francaise par WordPress tuto. VERSION: 0.9.1 AUTHOR: Andy Skelton & Scott Allan Wallick AUTHOR URI:

readmeファイルをご覧下さい: readme.txt

テストが可能です: JoshuaInk.com: bus full of hippies edition, flowers illustration by Denis Radenkovic. Template updated by Graham Bancroft for the Creative Commons release. ported to Sandbox for Wordpress by Adam Freetly. all support inquiries for this version should be directed to archGFX. Traduction francaise par WordPress tuto. VERSION: 0.9.1 AUTHOR: Andy Skelton & Scott Allan Wallick AUTHOR URI:" target="_blank" alt="テストが可能です" rel="nofollow">デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

WordPress Classic

テストが可能です

作成者: Dave Shea

バージョン1.5: The original WordPress theme that graced versions 1.2.x and prior.

readmeファイルをご覧下さい: readme.txt

テーマのタグ: mantle-color, variable-width, two-columns, widgets

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

WordPress Default

テストが可能です

作成者: Michael Heilemann

バージョン1.6: 有名な Kubrick をもとにした WordPress のデフォルトテーマ

readmeファイルをご覧下さい: readme.txt

テーマのタグ: blue, custom-header, fixed-width, two-columns, widgets

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

wp.Vicuna

テストが可能です

作成者: wu

バージョン1.5.9: wp.Vicuna Structure Template + Skin

readmeファイルをご覧下さい: readme.txt

テストが可能です: デモ

・戻る→ テーマ一覧


・戻る→ テーマサムネイル一覧

注意点など補足的な話

デモがうまく表示されない

デモは現在の記事やページを使ったデモになるので、テーマごとのcssの設定の違いで
当然ながらカラム落ちする事、うまく表示されない事もあります。

コンテンツの重複

デモページが動的に生成されますのでコンテンツが重複する形になります。
対処としてrobots.txtに以下を加えます。

User-Agent: *
Disallow: /?preview_theme=

これで、「http://example.com/?preview_theme=」以下のURLをインデックス
しないはず。。。なんですが、確証ありません。
Yahoo!ならサイトエクスプローラーでパラメーターで指定できます。
エクスプローラー→動的URL設定で設定可能です。
更に、rel=canonicalを加えておくとより安心かと思います。
出来ればmetaタグとしてnoindex,nofollowを加えたいのですが
方法が分かりませんorz
デモのリンクにも一応nofollowを付けておくといいかも。
theme-showcase-ext.phpを開いて393行目

<a href="' . get_bloginfo('url') . '/?preview_theme=' . $theme_name . '" target="_blank" alt="' . __('Let me test run this theme','showcaseext') . '">

の部分に以下のようにrel=”nofollow”を追加

<a href="' . get_bloginfo('url') . '/?preview_theme=' . $theme_name . '" target="_blank" alt="' . __('Let me test run this theme','showcaseext') . '" rel="nofollow">

あまり表示する事は無いと思いますが、ついでにreadme.txtにもnofollowを加えるなら301行目

<a href="' . $localreadme . '">' . $readme . '</a></span>

ここを以下のように追加

<a href="' . $localreadme . '" rel="nofollow">' . $readme . '</a></span>

これでデモとreadme.txtにnofollowを加える事が可能です。


Comments & Trackbacks (2)

 

TRB URL:
  1. 今週の管理人Bookmark (6/28-7/5) - ElectronicBrain is eating BreakFast
  2. プラグイン » テーマをギャラリー化
  1. かちびと.netにリンクの無いトラックバックは受付けてないです。
  2. コメントされる前にガイドラインをご覧下さい

この記事のトラックバックとURL

URL:
TRB:

Leave a Reply