10495334_10152592304313252_4907510294690491306_o

ポートフォリオを簡単につくろう! Jetpack 3.1 でカスタム・コンテンツ・タイプが追加された

[`livedoor` not found]

この記事を読むのに必要な時間は約 10 分 4 秒です。

WordPress を開発している Automatic が運営している WordPress.com では随分と以前からポートフォリオがオプションで有効にできるようになっていました。 Jetpack 3.1 アップデートでカスタム・コンテンツ・タイプのモジュールが追加された。これでインストール型の WordPress.org でもポートフォリオが容易に作成できるようになる 。

  • Enhancement: New Custom Content Types module.
  • Enhancement: New Jetpack Logo.
  • Enhancement: New optional JSON API endpoints for viewing updates and managing plugins and themes.
  • Enhancement: New Custom Post Type: Portfolio!
  • Enhancement: Rearranged buttons on the modules modals for easier management.
  • Enhancement: Jetpack Settings have improved keyboard accessibility.
  • Enhancement: Improved RTL support for After the Deadline, Carousel, Contact Form, Comics CPT, Custom CSS, Omnisearch, Publicize, Related Posts, Slideshow short code, Tiled Gallery, Widget-Visibility and Widgets Gallery.
  • Enhancement: Contact Form: Add an “Empty Spam” option.
  • Enhancement: i18n: Change the priority of where plugin_textdomain is hooked so that the plugins can better translate Jetpack.
  • Enhancement: Monitor: Displays how often the site is checked for downtime.
  • Enhancement: Shortcode: Added Mixcloud shortcode and oEmbed support.
  • Enhancement: Social Links: Improved handling of customizer hooks in non-admin context.
  • Enhancement: Stats: The smiley image is gone by default.
  • Enhancement: Stats: Added link to the configure page for stats so that the stats settings page is easier to find.
  • Enhancement: Theme Tools: Added the responsive videos to theme tools so that themes can support responsive videos more easily.
  • Update: Updated Genericons to version 3.1, new icons for website, ellipsis, foursquare, x-post, sitemap, hierarchy and paintbrush.
  • Bug Fix: Contact Form: Prefix function to avoid conflicts with other plugins.
  • Bug Fix: Custom CSS: Admin UI has a responsive layout.
  • Bug Fix: Custom CSS: Custom $content_width value doesn’t overwrite theme’s $content_width.
  • Bug Fix: Contact Form: Feedback link takes you to the form page.
  • Bug Fix: Carousel: Confirms an avatar is returned by get_avatar before displaying.
  • Bug Fix: Featured Content: Don’t remove setting validation.
  • Bug Fix: Infinite Scroll: Google Universal Analytics support added.
  • Bug Fix: Multisite: Add message when updating multisite settings.
  • Bug Fix: Photon: Photon will no longer upscale images larger than the original size.
  • Bug Fix: Photon: Check that the image exists before rewriting the image URL to utilize Photon.
  • Bug Fix: Sharing: Pinterest adds attribute to display share count.
  • Bug Fix: Sharing: Respect an empty sharing title.
  • Bug Fix: Sharing: Share buttons now appear in the bbPress forms.
  • Bug Fix: Sharing: Support for multiple meta html tag og:image values.
  • Bug Fix: Single Sign On: Logout allows override of forcing Single Sign On.
  • Bug Fix: Single Sign On: Remove the lost password link on auto-forward logout.
  • Bug Fix: Social Links: Do not use anonymous function for compatibility with PHP 5.2.
  • Bug Fix: Tiled Galleries: Update jQuery mouseover caption effect to reduce flickering.
  • Bug Fix: Widgets Visibility: Works better in the customizer admin view.

カスタム・コンテンツ・タイプ

ブログ投稿や固定ページ以外に、異なる種類のコンテンツをサイトで整理して表示できます。
ポートフォリオコンテンツタイプを有効化するには「設定 → 投稿設定 → カスタムコンテンツタイプ」に移動して「ポートフォリオプロジェクト」にチェックが入っているか確認してください。その後、サイドバーの「ポートフォリオ」メニューからプロジェクトを追加できます。いくつかプロジェクトを追加したら、サイトの http://example.com/portfolio/ というページで表示できるようになります。

カスタム・コンテンツ・タイプはビジネス利用の便利を良くする。年間活動のようなプロジェクトの整理、ビジネスで扱っている商品紹介や売り切れ処理であるとか投稿、固定ページでも出来ますが1つ、2つ、3つの間は良いけれども何十ともなると一括管理が効率的ですし通販商品のページはレイアウトを異なるものにするというユーザーにとってすれば利用かっての良い提供ができるようになります。

教育や研究でも分類、活動ごとにプロジェクトを使い分けることで整理できるのが後々情報の引き出しに便利。クリエーターにとっても写真、小説をテーマで分けて修正を繰り返していけます。
書いている途中の物語とか研究発表では見直しがやりやすくなりますね、写真を多く更新する時にアルバムのようにできるのでポートフォリオでの利用が最も需要が多いでしょう。それでカスタム・コンテンツ・タンプのサンプルとしてポートフォリオが見本的に設定できるようになっているのでしょう。

プラグインでポートフォリオを簡単に組み込める対応は数々存在しますが、WordPress.com で出来ることを移植したようなものですので本家からのモジュール提供は、これらにとって代わるでしょう。

見本的に ポートフォリオ・ページを作りました。

digit@maetel

ローカルのケーブル放送局で音楽番組編成と、番組作成を担当。必要とあれば音響の確認に工事スタッフと一緒に店舗まわりもしました。その際、地域の音楽愛好家と交流。
新しい店のスタッフとして声かけられて夜の世界に踏み出す。SNS で依頼を受けて連載したコラム『愛され組曲』が WordPress サイト制作の足がかりとなりました。お客さんからは、とある女優さんに似ていると喜ばれています。
ホームページの制作、コラムの執筆いたします。あなたをスッキリさせるお手伝いもします。気兼ねなくメッセージ下さい。