「メイド・イン・ヘブン」スキン適用中

Cocoonフォーラム

サイト内検索
書き込みの前に以下の3点をご確認ください。
  1. 1つのトピックにつき1つの質問を書き込んでください
  2. 不具合・カスタマイズ対象ページのURLを提示高速化を無効にしてください
  3. 該当部分のキャプチャ・環境情報とともに書き込んでいただけると助かります

何を書き込んだら良いか分からない場合は、以下のテンプレートをコピペしてご利用ください。

不具合・カスタマイズ対象ページのURL:

相談内容:

不具合の発生手順:

解決のために試したこと:

※文字だけでは正しく伝わらない可能性があるため、スクショ画像の添付もお願いします。
※高速化設定をしている場合は無効にしてください。
環境情報:

※↑こちらに「Cocoon設定 → テーマ情報」にある「環境情報」を貼り付けてください。

環境情報の取得方法はこちら。
https://wp-cocoon.com/theme-report/
高速化設定を無効にするにはこちら。
https://wp-cocoon.com/theme-trouble/

フォーラム利用ガイドリンク

  1. フォーラムガイドライン
  2. よくある質問と答え(FAQ)
  3. サポート対象外のケース
  4. 原因不明の不具合用トラブルシューティング
  5. トピックにHTMLを貼り付ける方法(推奨ツール:notepad.pw
  6. 真っ白画面でのエラーメッセージの確認方法
  7. ブラウザ環境チェックツール
  8. Cocoonカスタマイズ依頼

フォーラム質問後、問題等が解決した場合は結果を書き込んでいただけると幸いです。同様の問題で調べている方には、結果が一番気になる部分となります。

スキン動作デモ【追加質問】
 
共有:
通知
すべてクリア

スキン動作デモ【追加質問】

4 投稿
2 ユーザー
1 Likes
1,034 表示
(@puppy)
Estimable Member Registered
結合: 3年前
投稿: 124
Topic starter  

ヒロアキさんに教えて頂いた
「Cocoonテーマのスキン切り換えデモを実装する方法」を参考に無事設置できました。

恐縮ですが、追加質問です。

Cocoon設定に実装されているテーマをスキン切り換えデモに追加したい場合はどうすればいいのでしょうか?

以下のskin-simplicityのように、記述を加えればいいのはわかるのですが……
<option value="theme-switch=skin-simplicity" <?php the_option_selected($skin, 'skin-simplicity'); ?>>Like Simplicity</option>

スキン名の記述法がわかりません。

現テーマに実装されているスキンを全て追加するのが、理想なのですが……
方法がありましたら、教えて頂けないでしょうか?

よろしくお願いします。


   
引用
(@puppy)
Estimable Member Registered
結合: 3年前
投稿: 124
Topic starter  

puppyです。

スキン名の記述法がわかりました。

Cocoon親テーマ内の「skins」フォルダの名前を記述して、追加すればいいみたいです。

実際試してみたら、動きました。

お騒がせしました。

ただ、スキン名をひとつずつ記述するのは少々面倒です。

一気に取得する方法ってありますかね?


   
返信引用
はる
(@haruinoue)
Noble Member Moderator
結合: 4年前
投稿: 1066
 

検索等から来た人向け関連トピック:スキン動作デモについて

簡単なPHPを書いて一括で取得してみました。動作確認はしていません。
隠すほどのものでもありませんがPHP自体は一応企業秘密で…。

表示されるスキン名(</option>の直前)は、CSSファイルの中身まで読みにいかないと取得できないのでフォルダ名のままです。

基本的には手作業でコピペしてくしかない気がします。

<option value="theme-switch=bizarre-foods-blackburger" <?php the_option_selected($skin, 'bizarre-foods-blackburger'); ?>>bizarre-foods-blackburger</option>
<option value="theme-switch=bizarre-foods-bluecurry" <?php the_option_selected($skin, 'bizarre-foods-bluecurry'); ?>>bizarre-foods-bluecurry</option>
<option value="theme-switch=bizarre-foods-greensoba" <?php the_option_selected($skin, 'bizarre-foods-greensoba'); ?>>bizarre-foods-greensoba</option>
<option value="theme-switch=bizarre-foods-pinkwine" <?php the_option_selected($skin, 'bizarre-foods-pinkwine'); ?>>bizarre-foods-pinkwine</option>
<option value="theme-switch=bizarre-foods-whiteramen" <?php the_option_selected($skin, 'bizarre-foods-whiteramen'); ?>>bizarre-foods-whiteramen</option>
<option value="theme-switch=hygiene" <?php the_option_selected($skin, 'hygiene'); ?>>hygiene</option>
<option value="theme-switch=lightning-skin" <?php the_option_selected($skin, 'lightning-skin'); ?>>lightning-skin</option>
<option value="theme-switch=m-sora" <?php the_option_selected($skin, 'm-sora'); ?>>m-sora</option>
<option value="theme-switch=m-tomato" <?php the_option_selected($skin, 'm-tomato'); ?>>m-tomato</option>
<option value="theme-switch=mil-light" <?php the_option_selected($skin, 'mil-light'); ?>>mil-light</option>
<option value="theme-switch=simple-blue" <?php the_option_selected($skin, 'simple-blue'); ?>>simple-blue</option>
<option value="theme-switch=simple-green" <?php the_option_selected($skin, 'simple-green'); ?>>simple-green</option>
<option value="theme-switch=simple-navy" <?php the_option_selected($skin, 'simple-navy'); ?>>simple-navy</option>
<option value="theme-switch=simple-pink" <?php the_option_selected($skin, 'simple-pink'); ?>>simple-pink</option>
<option value="theme-switch=simple-red" <?php the_option_selected($skin, 'simple-red'); ?>>simple-red</option>
<option value="theme-switch=skin-colorful-line" <?php the_option_selected($skin, 'skin-colorful-line'); ?>>skin-colorful-line</option>
<option value="theme-switch=skin-colors-black" <?php the_option_selected($skin, 'skin-colors-black'); ?>>skin-colors-black</option>
<option value="theme-switch=skin-colors-blue" <?php the_option_selected($skin, 'skin-colors-blue'); ?>>skin-colors-blue</option>
<option value="theme-switch=skin-colors-green" <?php the_option_selected($skin, 'skin-colors-green'); ?>>skin-colors-green</option>
<option value="theme-switch=skin-colors-pink" <?php the_option_selected($skin, 'skin-colors-pink'); ?>>skin-colors-pink</option>
<option value="theme-switch=skin-colors-red" <?php the_option_selected($skin, 'skin-colors-red'); ?>>skin-colors-red</option>
<option value="theme-switch=skin-colors-yellow" <?php the_option_selected($skin, 'skin-colors-yellow'); ?>>skin-colors-yellow</option>
<option value="theme-switch=skin-dark-enji" <?php the_option_selected($skin, 'skin-dark-enji'); ?>>skin-dark-enji</option>
<option value="theme-switch=skin-dark-kamonoha" <?php the_option_selected($skin, 'skin-dark-kamonoha'); ?>>skin-dark-kamonoha</option>
<option value="theme-switch=skin-dark-ruri" <?php the_option_selected($skin, 'skin-dark-ruri'); ?>>skin-dark-ruri</option>
<option value="theme-switch=skin-demo-csv" <?php the_option_selected($skin, 'skin-demo-csv'); ?>>skin-demo-csv</option>
<option value="theme-switch=skin-demo-json" <?php the_option_selected($skin, 'skin-demo-json'); ?>>skin-demo-json</option>
<option value="theme-switch=skin-demo-php" <?php the_option_selected($skin, 'skin-demo-php'); ?>>skin-demo-php</option>
<option value="theme-switch=skin-dot-rainyblue" <?php the_option_selected($skin, 'skin-dot-rainyblue'); ?>>skin-dot-rainyblue</option>
<option value="theme-switch=skin-dot-winered" <?php the_option_selected($skin, 'skin-dot-winered'); ?>>skin-dot-winered</option>
<option value="theme-switch=skin-fuwari-ebicha" <?php the_option_selected($skin, 'skin-fuwari-ebicha'); ?>>skin-fuwari-ebicha</option>
<option value="theme-switch=skin-fuwari-kachiiro" <?php the_option_selected($skin, 'skin-fuwari-kachiiro'); ?>>skin-fuwari-kachiiro</option>
<option value="theme-switch=skin-fuwari-mirucha" <?php the_option_selected($skin, 'skin-fuwari-mirucha'); ?>>skin-fuwari-mirucha</option>
<option value="theme-switch=skin-fuwari-omeshicha" <?php the_option_selected($skin, 'skin-fuwari-omeshicha'); ?>>skin-fuwari-omeshicha</option>
<option value="theme-switch=skin-ganchan01" <?php the_option_selected($skin, 'skin-ganchan01'); ?>>skin-ganchan01</option>
<option value="theme-switch=skin-ganchan02" <?php the_option_selected($skin, 'skin-ganchan02'); ?>>skin-ganchan02</option>
<option value="theme-switch=skin-ganchan03" <?php the_option_selected($skin, 'skin-ganchan03'); ?>>skin-ganchan03</option>
<option value="theme-switch=skin-ganchan11" <?php the_option_selected($skin, 'skin-ganchan11'); ?>>skin-ganchan11</option>
<option value="theme-switch=skin-ganchan12" <?php the_option_selected($skin, 'skin-ganchan12'); ?>>skin-ganchan12</option>
<option value="theme-switch=skin-ganchan13" <?php the_option_selected($skin, 'skin-ganchan13'); ?>>skin-ganchan13</option>
<option value="theme-switch=skin-ganchan21" <?php the_option_selected($skin, 'skin-ganchan21'); ?>>skin-ganchan21</option>
<option value="theme-switch=skin-metal" <?php the_option_selected($skin, 'skin-metal'); ?>>skin-metal</option>
<option value="theme-switch=skin-mixblue" <?php the_option_selected($skin, 'skin-mixblue'); ?>>skin-mixblue</option>
<option value="theme-switch=skin-mixgreen" <?php the_option_selected($skin, 'skin-mixgreen'); ?>>skin-mixgreen</option>
<option value="theme-switch=skin-mixred" <?php the_option_selected($skin, 'skin-mixred'); ?>>skin-mixred</option>
<option value="theme-switch=skin-modernblack" <?php the_option_selected($skin, 'skin-modernblack'); ?>>skin-modernblack</option>
<option value="theme-switch=skin-momoon-aqua" <?php the_option_selected($skin, 'skin-momoon-aqua'); ?>>skin-momoon-aqua</option>
<option value="theme-switch=skin-momoon-green" <?php the_option_selected($skin, 'skin-momoon-green'); ?>>skin-momoon-green</option>
<option value="theme-switch=skin-momoon-orange" <?php the_option_selected($skin, 'skin-momoon-orange'); ?>>skin-momoon-orange</option>
<option value="theme-switch=skin-momoon-pink" <?php the_option_selected($skin, 'skin-momoon-pink'); ?>>skin-momoon-pink</option>
<option value="theme-switch=skin-momoon-purple" <?php the_option_selected($skin, 'skin-momoon-purple'); ?>>skin-momoon-purple</option>
<option value="theme-switch=skin-samuraiblue" <?php the_option_selected($skin, 'skin-samuraiblue'); ?>>skin-samuraiblue</option>
<option value="theme-switch=skin-samuraiblue-muji" <?php the_option_selected($skin, 'skin-samuraiblue-muji'); ?>>skin-samuraiblue-muji</option>
<option value="theme-switch=skin-season-autumn" <?php the_option_selected($skin, 'skin-season-autumn'); ?>>skin-season-autumn</option>
<option value="theme-switch=skin-season-spring" <?php the_option_selected($skin, 'skin-season-spring'); ?>>skin-season-spring</option>
<option value="theme-switch=skin-season-summer" <?php the_option_selected($skin, 'skin-season-summer'); ?>>skin-season-summer</option>
<option value="theme-switch=skin-season-winter" <?php the_option_selected($skin, 'skin-season-winter'); ?>>skin-season-winter</option>
<option value="theme-switch=skin-simplicity" <?php the_option_selected($skin, 'skin-simplicity'); ?>>skin-simplicity</option>
<option value="theme-switch=skin-tecurio-earth" <?php the_option_selected($skin, 'skin-tecurio-earth'); ?>>skin-tecurio-earth</option>
<option value="theme-switch=skin-tecurio-grape" <?php the_option_selected($skin, 'skin-tecurio-grape'); ?>>skin-tecurio-grape</option>
<option value="theme-switch=skin-tecurio-lime" <?php the_option_selected($skin, 'skin-tecurio-lime'); ?>>skin-tecurio-lime</option>
<option value="theme-switch=skin-tecurio-mango" <?php the_option_selected($skin, 'skin-tecurio-mango'); ?>>skin-tecurio-mango</option>
<option value="theme-switch=skin-tecurio-moon" <?php the_option_selected($skin, 'skin-tecurio-moon'); ?>>skin-tecurio-moon</option>
<option value="theme-switch=skin-tecurio-peach" <?php the_option_selected($skin, 'skin-tecurio-peach'); ?>>skin-tecurio-peach</option>
<option value="theme-switch=skin-tecurio-sky" <?php the_option_selected($skin, 'skin-tecurio-sky'); ?>>skin-tecurio-sky</option>
<option value="theme-switch=skin-tecurio-soil" <?php the_option_selected($skin, 'skin-tecurio-soil'); ?>>skin-tecurio-soil</option>
<option value="theme-switch=skin-tecurio-sunset" <?php the_option_selected($skin, 'skin-tecurio-sunset'); ?>>skin-tecurio-sunset</option>
<option value="theme-switch=skin-template" <?php the_option_selected($skin, 'skin-template'); ?>>skin-template</option>
<option value="theme-switch=skin-test" <?php the_option_selected($skin, 'skin-test'); ?>>skin-test</option>
<option value="theme-switch=veilnui-simplog-amber" <?php the_option_selected($skin, 'veilnui-simplog-amber'); ?>>veilnui-simplog-amber</option>
<option value="theme-switch=veilnui-simplog-blue" <?php the_option_selected($skin, 'veilnui-simplog-blue'); ?>>veilnui-simplog-blue</option>
<option value="theme-switch=veilnui-simplog-brown" <?php the_option_selected($skin, 'veilnui-simplog-brown'); ?>>veilnui-simplog-brown</option>
<option value="theme-switch=veilnui-simplog-cyan" <?php the_option_selected($skin, 'veilnui-simplog-cyan'); ?>>veilnui-simplog-cyan</option>
<option value="theme-switch=veilnui-simplog-deep-orange" <?php the_option_selected($skin, 'veilnui-simplog-deep-orange'); ?>>veilnui-simplog-deep-orange</option>
<option value="theme-switch=veilnui-simplog-deep-purple" <?php the_option_selected($skin, 'veilnui-simplog-deep-purple'); ?>>veilnui-simplog-deep-purple</option>
<option value="theme-switch=veilnui-simplog-green" <?php the_option_selected($skin, 'veilnui-simplog-green'); ?>>veilnui-simplog-green</option>
<option value="theme-switch=veilnui-simplog-indigo" <?php the_option_selected($skin, 'veilnui-simplog-indigo'); ?>>veilnui-simplog-indigo</option>
<option value="theme-switch=veilnui-simplog-light-blue" <?php the_option_selected($skin, 'veilnui-simplog-light-blue'); ?>>veilnui-simplog-light-blue</option>
<option value="theme-switch=veilnui-simplog-light-green" <?php the_option_selected($skin, 'veilnui-simplog-light-green'); ?>>veilnui-simplog-light-green</option>
<option value="theme-switch=veilnui-simplog-lime" <?php the_option_selected($skin, 'veilnui-simplog-lime'); ?>>veilnui-simplog-lime</option>
<option value="theme-switch=veilnui-simplog-orange" <?php the_option_selected($skin, 'veilnui-simplog-orange'); ?>>veilnui-simplog-orange</option>
<option value="theme-switch=veilnui-simplog-pink" <?php the_option_selected($skin, 'veilnui-simplog-pink'); ?>>veilnui-simplog-pink</option>
<option value="theme-switch=veilnui-simplog-purple" <?php the_option_selected($skin, 'veilnui-simplog-purple'); ?>>veilnui-simplog-purple</option>
<option value="theme-switch=veilnui-simplog-red" <?php the_option_selected($skin, 'veilnui-simplog-red'); ?>>veilnui-simplog-red</option>
<option value="theme-switch=veilnui-simplog-teal" <?php the_option_selected($skin, 'veilnui-simplog-teal'); ?>>veilnui-simplog-teal</option>
<option value="theme-switch=veilnui-simplog-yellow" <?php the_option_selected($skin, 'veilnui-simplog-yellow'); ?>>veilnui-simplog-yellow</option>

スパムみたいな書き込みになってしまいすみません。
86個もスキンあるんですね。


   
わいひら reacted
返信引用
(@puppy)
Estimable Member Registered
結合: 3年前
投稿: 124
Topic starter  

はるさん。

ありがとうございます。

わざわざPHPを書いて一括で取得して頂いて感謝です。

ぜひ参考にさせて頂きます、

改めてお礼を申し上げます。

ありがとうございました。


   
返信引用
共有:

問題の解決に至った場合には、トピック冒頭の「解決済み」をクリックしていただけますと幸いです。

また、有用な回答があった場合は返信右下にある「いいね!」もご活用ください。回答者の励みになります。

「いいね!」機能はフォーラム登録者のみが利用できる機能です。

CC BY-ND 2.1)準じていれば(リンクを貼っていただければ)転載も自由です。カスタマイズ記事を書く際にコード等をコピペ利用していただいて構いません。

フォーラムの使い方がよくわからない場合は、テストトピックで自由にテストしていただいて構いません。

最近の書き込みはこちら。

詳細なカスタマイズ依頼をするならこちら。

タイトルとURLをコピーしました