Skip to main content

Home/ WordPress Beginners/ Group items tagged link

Rss Feed Group items tagged

Toshiro Shimura

WordPressウィジェット一覧 - 0 views

  •  
    WordPress CodexのThird Party Widgetsより、 2007.5.18現在、177個 * 30Boxes (http://ottodestruct.com/blog/2006/04/28/30boxes-widget/) - 30Boxes カレンダーのエベントを表示(要PHP 5) * A Yahoo SiteExplorer Widget (http://www.utheguru.com/yahoo-sidebar-link-badge-widget-for-wordpress/) - Yahoo Site Explorer Badge をウィジェット化 - デモ:Yahoo Badge Widget Demo * About Me Widget (http://www.samdevol.com/about-me-widget-for-wordpress/) - 画像などを加えた'About Me'(自分について)を表示 * Active Discussions (http://jayandrewallen.com/active-discussions-sidebar-plug-in-for-wordpress-20/) - コメントの多い投稿を表示 * Ad Rotator (http://kpumuk.info/wordpress/wordpress-widgets-ad-rotator/) - <!-more->で区切った複数のHTMLコードを順番に表示 * AddThis Sidebar Wiget (http://foolip.org/blog/2007/05/06/addthis-sidebar-widget/) - フィード購読とソーシャルブックマークのボタン * Adsense Widget for WordPress (http://www.mikesmullin.com/2006/04/01/adsense-widget-wordpress-sidebar/) - Adsenseの色、サイズ、h2をコントロール * Apple Trailer (http://www.sosuechtig.de/wordpress-widgets/) - apple.com から映画の予告編をランダムに表示 * Around This Date In The Past (http://www.junyent.org/blog/arxius/2006/05/20/around-this-date-in-the-past-wordpress-widget/) - x 年前の今日の投稿記事を表示 * Associative Dictionary (http://dirkie.nu/2006/05/01/associative-dictionary-widget/) - 個人辞書を作成表示 * AvFuel (http://blog.dannyevarts.net/2006/06/28/avfuel-my-first-useful-wordpress-widget/) - 最新の航空燃料の値段を表示 * Battlefield 2 Stats (http://www.viper007bond.com/wordpress-plugins/battlefield-2-stats/) - Battlefield 2 プロファイルを表示 * BDP RSS Agregator (http://wordpress.org/support/topic/67364?replies=1) - BDP RSS Agregator plugin (http://www.ozpolitics.inf
Toshiro Shimura

ウィジェット領域を2つ以上つくる | WordPressカスタマイズメモ【企業ホームページ制作方法】 - 0 views

  • WordPressのウィジェット領域は、標準ではsidebar.php内の1カ所だけだが、index.phpやfooter.phpなど、その他のエリアにもウィジェット領域を持たせる。
  • ■手順1:テーマフォルダ/functions.php 3行目register_sidebar(array(これをregister_sidebars(3,array(※数字は、ウィジェット領域の数
  • ■手順2:(例:index.phpのループの前と後に2つの領域を挿入)テーマフォルダ/index.php 5行目 have_postsの前に以下を挿入<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>ここはウィジェット「2」※ウィジェットに何も登録されていない時にここの内容を表示<?php endif; ?&gt;テーマフォルダ/index.php 40行目 endifの後に以下を挿入<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(3) ) : ?>ここはウィジェット「3」※ウィジェットに何も登録されていない時にここの内容を表示<?php endif; ?>※分かりやすくするためにdivで囲って色を付けてあります。※サイドバーには、ウィジェットが登録されていない場合は従来どおりの標準的な内容が表示されます。
  • ...2 more annotations...
  • ■手順3:ウィジェットを追加管理画面>Design>Widgetにて、右側「Current Widget」のプルダウンメニューにウィジェット領域が3つ出来たことを確認し、それぞれの領域にウィジェットを設定する。左側に並んでいるウィジェットの「Add」ボタンを押すと右側に追加されるので、上下の順番をドラッグ&ドロップで変えて「Save Changes」をクリック。■結果:ループの前と後、右サイドバーそれぞれに別々のウィジェット領域が追加されました。標準のウィジェット類やアフィリエイトのバナー(テキストウィジェット)の他、PHPを実行可能なウィジェットも追加すれば、使い方次第でかなり凝った複雑なサイトでもすごく簡単にレイアウト変更ができるようになります、クライアント側でも。
  • ■補足:テーマフォルダ/functions.php 4~7行目に、それぞれのウィジェットの前後に挿入されるタグ類を指定する「before_widget」「after_widget」「before_title」「after_title」という項目があります。標準ではそれぞれli、h2となっています。上記テストではそこはいじってないです。
Toshiro Shimura

WordPress ME 2.07 から WordPress 2.1へ - Liner Note - 0 views

  • WordPressは 2.1 からXML形式(WXR)で投稿やコメントがインポート&amp;エクスポート出来るようになって移転などが楽になったですが、当然 2.0x にはそんなものはありません。ただ、ユーザーによってWXR形式でエクスポートできるプラグインが公開されていて、これで 2.1 以外のユーザーもデータのエクスポートをすることが出来ます(詳細はならぬものはならぬ: Plugin::Wordpress Exportで)
  • 記事IDが全体的に変わっちゃったことについては、ちょっととまどっています。MySQLAdminから弄ろうにも記事IDがいろんな値の基軸になっているので、おいそれと変えると不整合が生じるだろうからです。既にリンクしてくださった方にはご迷惑をおかけします*5 。一応、ブックマークを頂いている記事は .htaccess で該当記事までリダイレクトしています*6 。
Toshiro Shimura

記事のいろいろな情報をGetする。 | WordPressカスタマイズメモ【企業ホームページ制作方法】 - 0 views

  • WordPressはテンプレートタグを使うことで簡単にいろいろな情報を呼び出せるけど、もっといろんな呼び出し方がある。phpの関数を併用する場合などは、例えば記事の本文を呼び出す場合 the_content()を使う代わりに $post-&gt;post_contentという呼び出し方をすると、phpの関数の引数に放り込めるので、いろいろに加工できる。 ■記事の本文or抜粋を取得 $post-&gt;post_content$post-&gt;post_excerpt
Toshiro Shimura

caramel*vanilla » WordPress2.5でもBookmarkletから投稿する - 0 views

  • WP2.5のファイルを見てみると「wp-admin」ディレクトリ内にbookmarklet.phpがありました。新規投稿画面ではなく簡易投稿画面に移動してサッと投稿するにはこちら。http://site-url/の部分は各自編集してください。
  • 冒頭にあげたfuuriさんの記事へのコメント欄でNaoさんが紹介していたQuickPostプラグインがWPのBookmarkletよりも高機能です。 WordPress › QuickPost « WordPress Plugins WordPress Plugins/JSeries » QuickPost 日本語版 このプラグインで表示される投稿画面ではタグとカテゴリーしか設定できないので簡単にサクッと投稿する人(記事)向き。TumblrのBookmarkletのようなイメージです。
  • Bookmarkletではありませんが、ブラウザで今見ているページのリンクと選択範囲を引用文として投稿画面に貼り付けるならFirefox用のblogエディターを使うという手もあると思います。 ScribeFire :: Firefox Add-ons インストールすると右クリックのコンテキストメニューとステータスバーの「Blog this page」から今見ているページを投稿することができます。
Toshiro Shimura

Favicon Generator · Dagon Design - 0 views

  • Favicon Generator This free tool allows you to create a custom favicon for use on your website. Simply upload an image (JPG, PNG, or GIF - 100KB max) and it will automatically convert it to a standard 16×16 favicon. If you upload an image that is larger than 16×16 it will resize it for you, although for best results use an image that is already that size. Transparent favicons can also be created by uploading a transparent GIF.
Toshiro Shimura

WordPressのブログ丸コピ方法のまとめ - Liner Note - 0 views

  • WordPressでは標準でXML(WXR形式)でのインポート・エクスポート機能を実装していますが、現状ではデメリットが大きくて使わない方が得策です。なぜかというと‥ 添付ファイルの個別URLがおかしくなる(guidとmime-typeが引き継がれない) 記事IDを1からふり直すので、IDを中心にURLを設計していた場合はURLが変わってしまう 記事の抜粋が消えてしまう エクスポートしたファイルが大きい場合は(ファイル自体を分割しない限り)サーバの処理時間制限にひっかかって、インポートできない場合がある というわけです。念のためnightlyビルドも試してみましたが、2007/9/12現在ではまだ直っていません。 なので、元サーバ(以下、サーバA)のMySQLAdmin*1 経由でエクスポート→移行先サーバ(以下、サーバB)のMySQLAdmin経由でインポートすることにします。MySQLAdminは、さくらインターネットやXREAなど並のレン鯖屋さんなら使えるはずです。
Toshiro Shimura

WordPress › Post Thumb Revisited « WordPress Plugins - 0 views

  • All thumbnails are dynamically created when needed and then saved. So, there is no complex thumbnail management. The nice Highslide javascript library is included in the plugin and used if desired. It adds nice expansion effect to each link/thumbnail created by post-thumb revisited. So, Post-Thumb revisited is a thumbnail management system. Install the plugin, and then, you can add a thumbnail display in the Loop by a simple function: &lt;?php the_thumb(); ?&gt; This will show the thumbnail of the first picture in the post for each post in the Loop.
Toshiro Shimura

power source* » WP plugin: タグ付け補助・タグ管理(スラッグ編集問題もクリア) - Advanced Tag Entry - 0 views

  • WP 本体のタグ入力欄: スラッグ表示に変更 デフォルトの WP でも、「タグスラッグ」を入力するとスラッグ編集済みタグを付けられるが、記事を「保存して編集を続け」たり改めて編集画面で開いたときに「タグ名」が再度読み込まれるため、その状態で記事を保存すると、その「タグ名」を元に生成したスラッグで存在チェックがかかってしまい、新規タグが作られてしまう。 ここをスラッグ表示にしておけば、常にそのスラッグで存在チェックが行なわれるので、スラッグ編集済みタグともマッチしてくれる。 スラッグ未編集の日本語タグは URLエンコード文字列が表示されてしまうが*2、表示上のタグ名(スラッグではない方)は、Advanced Tag Entry 欄で確認できる。
  • Advanced Tag Entry 欄: 編集中の記事にタグ付け: 「Current tags on post(この投稿に追加済みのタグ)」(タグ名)を表示。 既存タグをプルダウンメニューより選択してタグ付け。 記事に付けてあるタグをプルダウンメニューから選択して除去。 タグ管理: 編集中の記事とは関係なく、全てのタグについて次の処理が行なえる。 新規タグの作成(タグ名・スラッグ) 既存タグの編集(タグ名・スラッグ) 使われていないタグの DB からの削除 (注) Advanced Tag Entry 欄に表示される existing tag(既存タグ)には、カテゴリも含まれている模様。つまり「既存 term」が表示される。 同名カテゴリ・タグは一つの term として登録され、カテゴリ名をタグとしても使いまわせるのが本来の姿なので、たぶんプラグインの状態で正しい。
Toshiro Shimura

Plugins/WordPress Widgets « WordPress Codex - 0 views

  • Pre Wordpress 2.3 Widgets WordPress Widgets (WPW) is like a plugin, but designed to provide a simple way to arrange the various elements of your sidebar content (known as "widgets") without having to change any code. The Widgets SubPanel explains how to use the various Widgets that come delivered with WordPress, and the Widgets page at Automattic explains how to 'widgetize' themes and plugins. Using Text Widgets Using RSS Widgets Widget-ready themes Resources
  • Last.fm - last.fm music charts as a graphic in your sidebar Last.fm Adds the new version of the chart. Customizable color and type.
  • Feedburner - subscribe to blog via Feedburner Flickr Badge Widget - display your flickr photos in the sidebar Flickr Widget - same widget that www.wordpress.com uses flickr RSS Widgets - display flickr Photos on sidebar Flickr Photo Album - display Flickr album sets FlickerRSS - display Flickr photos; requires flickrRSS Plugin Flickr Spinnr - display Flickr photos in rotating cube Flickr Tag Cloud Widget - display a link tag cloud from your Flickr account
  • ...2 more annotations...
  • In many cases, the built-in Text Widget can be used to add new abilities to your sidebar. The Widget Plugin allows you to specify how many text widgets you need. Once you have specified the number of text widgets you need, each of those widgets is added to the "Available Widgets" column in the Presentation, Sidebar Widget Administration Panel. Clicking on the icon on the right side of the widget allows you to enter the widget Options. There you can enter a description or title for that particular widget and also enter (in the large text box) the text or HTML code for the widget. Here's a list of content known to work via text widgets. Each of these content providers supplies the necessary code for you to copy and paste into your widget to display their content on your blog.
  • The built-in RSS Widget can be used to add feeds to your sidebar. The Widget Plugin allows you to specify how many RSS widgets you need. Once you have specified the number of RSS widgets you need, each of those widgets is added to the "Available Widgets" column in the Presentation, Sidebar Widget Administration Panel. Clicking on the icon on the right side of the widget allows you to enter the URL for the feed, a description of the feed, and how many items from the feed you want displayed. Here's a sample of RSS feeds you can use in your widgets.
Toshiro Shimura

10 Things You Need to Know About WordPress 2.6 - 1 views

  • Post Versioning Developers familiar with Subversion, or SVN, understand the concept of versioning and diffs. Compare one file, or revision, against another file, or revision, and see a breakdown of differences between the two. With the help of GUI tools, developers can see a color-coded red vs. green (removed vs. added) presentation. This concept has now been applied to posts so you can view differences between posts as well as “revert” to an earlier version of a post. I absolutely love this feature and you can see an example of a “revision compare” built directly into WordPress.
  • Google Gears Support Gears is the Google technology that allows for Firefox (apparently IE 6 too, but I can’t confirm) to “pre-cache” pages and speed up access. Gears has been integrated with WordPress 2.6 on the admin side and speeds things up tremendously. This is particularly important where broadband access is limited or inaccessible (third world, for instance). To enable Gears in your new WordPress 2.6 installation, click on the Turbo link in the upper right corner of your WordPress admin.
  • XML-RPC Editor Functionality Quietly, a new bit of functionality snuck into WordPress trunk that threw a number of developers and kicked off an interesting discussion. In the development cycle, XML-RPC and Atom Pub API for remote editing was turned off by default as a “security precaution” since many recent WordPress security issues seem to stem from the XML-RPC protocol.
  • ...7 more annotations...
  • SQL Security - $wpdb-&gt;prepare() Back in WordPress 2.3, the prepare() first emerged, initially unused… but there. The method was very experimental at the time and was not ready for prime-time so, though it was included, it was not yet used. We started to see its emergence in WordPress 2.5 and in WordPress 2.6 it is being used just about everywhere.
  • Shift-Click Selection of Multiple Checkboxes in WP-Admin As the backend of WordPress continues to evolve after the release of the drastically redesigned admin in WP 2.5, usability enhancements are also making their way in.
  • More Avatar Options With the Automattic acquisition of Gravatar last year, in-built support for Gravatars was introduced in WordPress 2.5. WordPress 2.6 gives the blogger more options by allowing for selection of the “default” avatar. Out of the box, the default Gravatar can be “Mystery Man”, a generic grey avatar with a white silhouette of someone. Default avatars can also be “blank” (self-explanatory), the Gravatar logo, Identicons, Wavatars or MonsterIDs. These have all been a part of WordPress.com for some time and now come to the rest of us. For more information, Matt wrote a post for the WP.com community that you should probably check out. The difference here being, of course, that WordPress.com offers “dashboard avatars” and WPFROU (WordPress for the Rest of Us) does not include this functionality.
  • Page Templates over XML-RPC In addition to the XML-RPC/APP security measures listed above, a new key bit of functionality has now been exposed for API editors (and also, if you think about it, demonstrates the power behind XML-RPC and why you might want to turn it off if you don’t use it). The XML-RPC interface now allows for managing page templates from an API editor. To the best of my knowledge, no editor supports this yet and may not. However, increasingly there is the ability to remotely post content from places like YouTube, Utterz and others. None of these services would have any real use for this functionality either, however I want to point out that because they can post remotely anything that is exposed to the remote world can also be managed.
  • Press This Press this! is a new enhancement of a long-existing concept. Bookmarklets. In fact, WordPress used to have a bookmarklet included that would allow a user to quickly start a new post from the browser toolbar, but the functionality was limited.
  • Integrated Theme Preview Theme previewing has been a bugaboo for many a theme designer. How do we check and develop without affecting the rest of the site. Some folks resorted to using Ryan’s venerable Theme Preview plugin. Others setup a beta version of a site that was sandboxed off from the rest of the world. Lots of different approaches, all of which remain valid.
  • Plugin Management Overhaul Finally, the plugin management interface has received a face-lift and some added functionality. Active plugins and inactive plugins are segregated and with that new fangled Shift-click functionality I talked about before, plugin management just got really freaking simple. Note that Active plugins can be deactivated in bulk and Deactivated plugins can be activated or even deleted in bulk. Clean up that stale plugin list in a snap. But… there’s always a but… make a backup before you go nuts.
1 - 15 of 15
Showing 20 items per page