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

関連記事

(日本語) "コメントを残す" 削除・文言を変更する方法

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

(日本語) ログイン画面・機能をカスタマイズ

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

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

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

(日本語) 翻訳ファイルの子テーマ化

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

no image

(日本語) 投稿タイトル(entry-title)を非表示にする

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

(日本語) Twenty Fourteen "コメントをどうぞ"の非表示と変更方法

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

(日本語) 「Google Analytics for WordPress」投稿URLにやたら長いパラメータがついてしまう

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

(日本語) Twenty Twelve 投稿日・投稿者を非表示に

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

no image

(日本語) パーマリンク・スラッグなどURL カスタマイズ

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

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

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 @sirocco_jp 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 ↑