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

関連記事

no image

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

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

(日本語) コメントフォーム・リストのカスタマイズ

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

no image

(日本語) アップグレードで「更新を展開しています... 」のままになった場合の対処のひとつ

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

(日本語) 「タグクラウド」ウィジェット カスタマイズ

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

no image

(日本語) スライダー・ギャラリー プラグイン

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

Contact Form 7 | Failed to send your message~

This has been fixed in WordPress 3.5 When encountered the following message, please try with the

(日本語) Twitterのツイートボタンの設置

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

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

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

(日本語) Twenty Fourteen 「投稿日」や"先頭固定表示"を非表示

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

(日本語) ツールチップ実装プラグイン「WordPress Tooltip」

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 ↑