「WordPress を使いこなそう」というタイトルで、WordPress の高速化について Apple Store Ginza のシアターイベントでしゃべってきました。 使用したスライドは、slideshare にアップロードしてあるので、そちらも見てみてください。
昔からあるWPのプラグインみたい ですが、先日知ったばかりで、と ても助かったので感謝も込めて ご紹介。WordPressのウィジェット 単位で簡単に条件分岐する事が 出来ます。 ウィジェット単位で条件分岐できるプラグイン。結構前から存在してるんですね。初めて知りました。かなり便利ですねこれ。 先日、クライアントさんの要望でTwitterアカウント名とツイート数を指定してツイート表示を簡単に管理できるように、上記のようなウィジェットを作成しました。 そのウィジェットをページ毎に表示したりしなかったり出来ないか、という追加要望を頂きました。スタッフの紹介ページ毎にそれぞれのツイートを表示したい、というものです。 簡単に出来ないか方法を探したところ、見つかったプラグインがWidget Logicだったんですが、結構前から存在してたみたい・・知らずに損した。 ウィジェットにコンディショナルタグを
※BackWPup3が公開されました。BackWPup3でのバックアップ&復旧手順についてはこちらをご覧ください データのバックアップは大切ですよね!疑う余地はないと思います。 WordPressのブログも例外ではありません。バックアップしている人も多いですよね? でも、 「WordPress全体をバックアップできていますか?」 そして、 「実際にリストア(復元)作業を試してみたことはありますか?」 GoogleでWordPressのバックアップ方法を調べてみると、データベースだけバックアップして安心していたり、復元方法の解説がない場合がとても多いです。 しかし、私はこう思います。 実際にリストア作業をやってみなきゃ、安心はできない! リストアできないバックアップは役に立ちません。やはり、一度リストア作業を試してみて、初めて安心できるのではないでしょうか。 そこで今回は、「プラグインを使っ
WordPress Logo / Phil Oakley どうも、おつぱ( @OZPA )です。 WordPressで、トップページやアーカイブページでは投稿の抜粋が表示され、続きを読む場合には「more」だの「続きを読む」だのと言ったリンクをクリックして全文表示するようになるわけですが、今回はその部分のカスタマイズについて。 文言を変える まずはデフォルトですと「(more…)」(「日本語化されている場合は「この投稿の続きを読む »」)となっている部分の文章の変更方法。 「index.php」、もしくは「loop.php」にある [php] <?php the_content() ?> [/php] と言う部分を [php] <?php the_content(‘続きを読む’); ?> [/php] こうすれば(more…)となっていたのが「続きを読む」と表示されます。 「続きを読む」部
2012年6月13日に WordPress バージョン 3.4 "Green" が公開されました。ギタリストの Grant Green から命名されています。このバージョンでの拡張とバグ修正については WordPress Blog および Changelog for 3.4 を参照してください。 Version 3.4, データベースバージョン (db_version in wp_options) が 20596 に変更となり、Trac でのリビジョンは 21076 となりました。 このバージョンでのクローズ済みチケット 主な新機能・変更点 テーマコントロールの拡張 テーマカスタマイザーを使用して新しいテーマを有効化する前にテーマのオプションをカスタマイズ テーマプレビューを使用してフロントエンドのデザインを変更せずに現行のテーマをカスタマイズ カスタムヘッダー カスタムヘッダーの柔軟なサ
昨日、6月15日無事 WordPress 3.4 日本語版がリリースされました。パチパチパチ。すでに更新された方、まだこれからの方、人柱ヲチ様子見の方、いらっしゃると思いますが、お役立ちリンク集をまとめてみました。 バックアップ WordPress のバックアップ – WordPress Codex 日本語版 カウボーイとカナリアはバックアップ取らないんだぜ〜、ワイルドだろぉ〜。でも、取っておいたほうがいいです。 ダウンロード WordPress | 日本語 » WordPress 3.4 日本語版リリースのお知らせ WordPress › Download 本体、テーマの日本語リソース wordpress-i18n – Revision 20205: /ja/branches/3.4 ただいま、日本語リポジトリに WordPress 本体、Twenty Ten および Twenty El
そろそろWordPress3.4の足音が聞こえてきたということで、プラグインの動作チェックなどを行なっていたところ気になる新機能が目につきました。 その名はテーマカスタマイザー!! なにそれ?もう名前だけで、めっちゃ面白そうじゃんということで早速このテーマカスタマイザーを使ってtwentyelevenでロゴ画像を設定できるようにしてみました。 テストした環境 テストした環境は以下のとおりです。 WordPressのバージョン: 3.4-beta4-20800 使用テーマ: twentyeleven 今回はとりあえず動作確認ということでtwentyelevenのfunctions.phpを直接ゴリゴリいじってますが、たぶん子テーマでも使えるはずですよ。^^ テーマカスタマイザーの概要 超かいつまんで説明すると、テーマカスタマイザーとは、テーマを独自にカスタマイズするための項目をUIも含めてと
CMSとして使うなら必須の並び替えプラグイン 記事を表示する際に、並び替えをしたくなる事は大いにあると思いますが、 そんな時に使えるプラグイン「postMash」をご紹介。 記事を一覧からドラッグ&ドロップで並び替えが出来るようになります。 全ての記事の並び替えはもちろん、カテゴリ内の並び替えも可能に。 ↑並び替え画面 これは便利です。WordpressをよりCMS化できますね。 使い方 記事一覧を表示する際に使うhave_posts()の前に 以下のタグを挿入します。 global $wp_query; $wp_query->set('orderby','menu_order'); $wp_query->set('order', 'ASC'); $wp_query->get_posts(); これだけです。 以下の記事で知りました!感謝。
Cawaii Admin(かわいいアドミン)というWordPressの管理画面をかわいくするプラグインを作りました。 みなさん使って下さい。 ダウンロードとインストール WordPress | Plugin Directory | cawaii adminからダウンロードしてください。 !!2011.09/22 朝7時頃 さっそく不具合を見つけていただいたため、修正作業をしています。今のままでも私の環境では動いていますが、アップデート通知が届いた際は、アップデートをお願いします。 2011.09/22 お昼過ぎ 更新しました。普通に使えます! インストールは、展開して出てくるcawaii-adminフォルダを/wp-content/plugins/ディレクトリへアップロードした後、プラグイン一覧画面から有効化です。 または、管理画面のプラグイン > 新規追加でcawaii adminで検索
WordPress の投稿の全てのデータを取得する方法を紹介します。この記事では投稿の全てのデータの取得についてで、添付ファイル(画像ファイルなど)などの投稿に関連するデータまでは取り出しません。 $post の中に全てがある 投稿の著者 ID が欲しいとか、投稿のコメント欄はどうなっているかなどの細かい情報は大抵 $post の中に入っています。試しに $post を print_r() などしてみるといろんなデータが出て来るのが分かります。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 stdClass Object ( [ID] => 1 [post_author] => 1 [post_date] => 2012-04-10 01:35:03 [post_dat
Webサービスなんかでよく見かける 「お気に入りに追加」みたいなやつ を実装できるWordPressプラグイン・ WP Favorite Postsです。Cookieを 使ったシンプルなものですが、これ はこれで手軽で良いかと思います。 既出ですけど、需要ありそうな割に情報が少ない気がしたのでご紹介。 不動産とか、旅行とか、転職とかみたいな情報を探すようなサイトではよく見かける「お気に入りに追加」を実装するWordPressプラグインです。Cookieを使用するシンプルなやつです。 こんなようなやつ。保存はCookieを使用しています。 設定画面では、「お気に入りに追加」とか削除とかテキスト全般の設定やアイコンの設定などが可能です。 使い方 お気に入りに追加、とうリンクを追加するにはテーマファイルに <?php if (function_exists('wpfp_link')) { wpf
備忘録でブログあげます。 ログインのカスタマイズについてです。処理を追いつつ、ログイン周りで設置されてるフックを解説していきます! wp-login.php $user = wp_signon('', $secure_cookie); という箇所で認証の処理を行っています。ログインに成功すれば$user変数にユーザオブジェクトが格納されますし、ログインに失敗すれば、wp_errorオブジェクトが入ります。さて、wp_signon関数の中身を見てみましょう! wp_signon関数の中身 do_action_ref_array('wp_authenticate', array(&$credentials['user_login'], &$credentials['user_password'])); ここでwp_authenticateというフックが出てきました。これはユーザが入力したログ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く