19 July cf7 コピペ用 css /* お問い合わせフォーム 各種 */ .cf7{ border:none!important; } .cf7 input{ font-family: Lato, "Noto Sans Japanese", メイリオ, Meiryo, Osaka, Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Pゴシック", sans-serif; } .cf7 tr{ border-top:1px solid #ddd; border-bottom:1px solid #ddd; margin-top: -1px; } .cf7 th, .cf7 td{ border:none; padding:20px 10px; } .cf7 th{ width:250px; background:none; text-align:left; vertical-align:top; } .cf7 .req{ color:red; font-weight:bold; } .cf7 .input_small input{ width:50px; display:inline-block; vertical-align:initial; margin:0 10px; height:23px; } .cf7 .input_medium .wpcf7-list-item { display:block; } .cf7 .input_medium .wpcf7-free-text{ width:150px; display:inline-block; vertical-align:initial; margin:0 10px; height:23px; } .cf7 .input_small_calendar input{ width:200px; display:inline-block; vertical-align:initial; margin:0 10px; } .cf7 .select_small select{ width:70px; display:inline-block; vertical-align:initial; margin:0 10px; } .text-xs-center { text-align: center; margin-bottom:100px!important; } input[type="submit"], input[type="reset"], input[type="button"] { width: 120px; padding: 10px 15px; background: #133f0c; margin: 0 5px; border:none; border-radius:3px; color:#fff; letter-spacing:2px; } input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover{ opacity:0.8; cursor:pointer; } PR
12 July ラジオボタン、チェックボックスを画像で装飾する http://webimemo.com/web/5369 上記サイトの記述を丸コピ ついでに画像もDLしてあてはめてから、自分の好きなように変える inputをopacityで0にしてるけど、横並びにする場合は、めちゃスペース取って邪魔なので、 display:none;で消すのが良いと思う https://cultureacademia.jp/webcreate/303/ ありがてえコード cssのみでラジオボタンとチェックボタン 単純な丸などの場合、こっちのほうがコピペで簡単
03 July WP テーマ Attitude を使う 日本語で説明してる大変詳しいページ http://wp-themetank.com/wordpress-theme-free-multi-purpose-attitude/ http://agn.jp/blog/?p=988 http://agn.jp/blog/?p=1165 http://agn.jp/blog/?p=1306 ※現在ではオリジナル管理画面はなくなって、WPのカスタマイズ機能にすべて収納されています。
03 July WP 固定ページでも抜粋を使いたい add_post_type_support( 'page', 'excerpt' ); 最初から実装しててもよくない? なんでデフォルトから外すのかわかんねー
03 July WP 画像をアップロードできない ディレクトリwp content uploadsを作成できませんでした Unable to create directory wp-content/uploads. Is its parent directory writable by the server? とエラー文がでる 英語サイトほんとやだ エラーでるとマジわかんねーし wp-content uploads 上記2フォルダのパーミッションが755になってると思うので、757にする 終わったら757に戻すとか書いてあるけど、画像アップロードで無理な話じゃねーのか 毎回がぞうアップするのに。 よくわかんないけど uploads フォルダを作成した後は uploadsフォルダのみ757のままにしないと画像が常にアップロードできない。 wp-contentは755戻して大丈夫だった