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

関連記事

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

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

(日本語) Twenty Thirteen ナビゲーションメニューを固定

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

(日本語) 多言語化プラグイン「qTranslate」

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

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

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 日本語.

(日本語) RSS/Atomフィード カスタマイズ

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

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

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

(日本語) 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 wordpressでwebサイトを立ち上げ時にやる事"まとめ" 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 ↑