• このエントリーをはてなブックマークに追加

関連記事

(日本語) ポップアップが実装できるプラグイン「Anything popup」「Easy Modal」

Easy Modal[/caption] Easy Modal[/caption] Easy Modal[/caption][caption id="attachment_8281" align="

(日本語) ブルー・オレンジ・ピンクと選べるテーマ「Bouquet」をカスタマイズ

Sorry, this entry is only available in 日本語.

(日本語) 管理画面のCSSをカスタマイズ

Sorry, this entry is only available in 日本語.

(日本語) Twenty Twelve 投稿者情報を表示/非表示に

Sorry, this entry is only available in 日本語.

(日本語) Twenty Thirteen テーマ用フォント "Source Sans Pro" / "Bitter"の使用を止

Sorry, this entry is only available in 日本語.

(日本語) 独自のCSSやJSを読み込む

Sorry, this entry is only available in 日本語.

(日本語) 投稿記事から「(ログイン)ユーザー名」がバレるのを防ぐ

Sorry, this entry is only available in 日本語.

(日本語) プラグイン関連のJSやCSSの読み込みをフィルター

Sorry, this entry is only available in 日本語.

(日本語) 「続きを読む」(moreタグ)をカスタマイズ

Sorry, this entry is only available in 日本語.

(日本語) Twenty Fourteen カスタマイズ

Sorry, this entry is only available in 日本語.

Comment

  1. コメント欄停止・コメント削除ですが

    設定>ディスカッション>新しい投稿へのコメントを許可する
    の方法もあります。

    サイトタイトルの横スペースにリンク集を入れる方法を教えてください。

    • コメントありがとうございます。
      いただいたコメントは「質問いただいた」と理解して
      (1) Twenty Thriteenで表示されるような検索フォームをTwentyTwelveに組み込みたい。
      (2) Twenty Twelveで表示されるような検索フォームをTwenty Thirteenに組み込みたい。
      どちらでしょうか?

      (2)の場合を試してみたあと、いただいた質問をよくよく読むと上の疑問がでてきました。
      ひとまず、(2)の場合は、これでいけるはずです...!
      ーー
      Twenty Thirteenでは検索フォームがHTML5対応されていますのでまずそれを外します。

      // 子テーマのfunctions.phpに追加
      function my_twentythirteen_setup() {
          remove_theme_support( 'html5');
          add_theme_support( 'html5', array(
              'comment-form', 'comment-list', 'gallery', 'caption'
          ));
      }
      add_action( 'after_setup_theme', 'my_twentythirteen_setup', 9999);
      

      あとは、子テーマのstyle.cssにTwentyTwelveのスタイルを追加

      /* 子テーマのstyle.cssに追加 */
      #s {
          border: 1px solid #ccc;
          border-radius: 3px;
          font-family: inherit;
          padding: 0.428571rem;
      }
      
      input#searchsubmit {
          background-color: #e6e6e6;
          background-image: -moz-linear-gradient(center top , #f4f4f4, #e6e6e6);
          background-repeat: repeat-x;
          border: 1px solid #d2d2d2;
          border-radius: 3px;
          box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
          color: #7c7c7c;
          font-size: 0.785714rem;
          font-weight: normal;
          line-height: 1.42857;
          padding: 0.428571rem 0.714286rem;
      }
      
    • 返信ありがとうございます!

      私がやりたいと思ったのは、(1)のほうです。
      分かりにくい文ですみませんでした。。

  2. "ヘッダー画像は、管理画面の「概観」→「ヘッダ」で設定できます。大きさを変更するには、add_theme_supportのcustom-headerに設定したい値を渡します"

Leave a Reply to aa Cancel reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    PAGE TOP ↑