WordPressのテーマって、どんなフローで開発していますか? 新しいテーマフレームワーク「Beas」なら、便利なコンポーネントを組み合わせて進められるので、テーマ制作が捗りそうです。 いますぐWordPressテーマを自分で作成したいなら、しっかりとコーディングされた信頼できるテーマフレームワークの利用をお勧めします。フレームワークはWordPressに一般的な機能やコンポーネントを提供してくれるので、独自のデザインを作成できるようになります。また、フレームワークを利用するとテーマの作成時間を劇的に短縮できます。 Thierry Mullerが作成した新しいWordPressのテーマフレームワークの1つ、Beansを試してみたので紹介します。Beansについては過去にJames GeorgeがSitePointの『Introducing Beans: A Streamlined Wor
WordPressのカスタムフィールドに入力したデータを取得する方法と表示する方法です。データを取得するにはいくつか方法がありますので、分かる範囲で書き出してみました。(カスタムフィールドに値があるかないかで表示を分ける条件分岐も追加しました。) 1. get_post_meta() でデータを取得して表示する パラメータ <?php $meta_values = get_post_meta($post_id, $key, $single); ?> $post_id データを取得する投稿のIDを指定します。表示中の投稿を指定するなら $post->ID を指定する。 $key 表示したいカスタムフィールドに入れた名前(日本語で大丈夫) $single trueかfalseを指定。falseで配列でデータを出力する。trueで指定されたフィールドの”値”の1つを文字列で出力。 使用例 下のよ
WordPressテーマをカスタマイズする際のメモです。 既存テーマのカスタマイズは子テーマを作成して行うと、元ファイルを一切いじらずに済み、テーマのバージョン更新時に変更が上書きされる心配などがなくなります。 子テーマの作成方法は簡単で、wp-content/themes以下に子テーマ用のフォルダを作成し、カスタマイズ用のstyle.cssを入れるだけです。これでテーマの一覧に子テーマが追加され選べるようになります。 子テーマのstyle.cssの中身はこんな感じになります。 /* Theme Name: twentyten_child Template: twentyten */ @import url('../twentyten/style.css'); /* 以下、カスタマイズ内容を書く */ コメント内の「Theme Name」「Template」は必須で、それぞれ子テーマ名・親
In recent years, WordPress has gained a lot of fans and users. Because of its popularity, it comes as no surprise to see the number of WordPress themes, both free and premium, explode. Although it sounds like good news to a web designer, the vast number of options to choose from can be quite a headache. It’s hard to know which theme works best for you and the project you’re working on. There are a
株式会社ネットビジネスエージェント 〒852-8151 長崎県長崎市泉2丁目19-3 URL:http://www.nb-a.jp/ E-mail:info@nb-a.jp
Discover is a premium WordPress theme with flat and modern design. It is created for the magazines, news and blogs sites but due to its superb flexibility, it allows you to create the websites for any other purpose. It features very clean and responsive design, which looks very good on any device. The theme is packed with a bunch of easy to configure options to make your site unique. Theme include
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く