這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Post Formats

外掛說明

WP Post Formats creates a powerful visual interface using the ACE editor and the Twig template engine for safe, easy and functional modification of your post formats without ever having to enter into the files.

Functions:

The following functions are added to Twig for easy use.

  • {{ permalink() }}
  • {{ content( more_link_text, stripteaser ) }}
  • {{ excerpt() }}
  • {{ title( before, after ) }}
  • {{ tags( before, sep, after ) }}
  • {{ author }}
  • {{ category( seperator, parents ) }}
  • {{ time( ‘F j, Y’) }}
  • {{ post_thumbnail( size ) }}
  • {{ term_list( taxonomy, before, sep, after ) }}
  • {{ post_class() }}
  • {{ shortcode( ‘[some-shortcode]’) }}
  • {{ post_meta( ‘some-postmeta’) }}

Hooks:

WP Post formats has added a number of hooks and filters to enable easy modification of default functionality, this may void your warranty so use with care! If there is not one where you need it, drop me a line i’d be happy to add it in.

If you have any feedback or suggestions, feel free to drop me a line st Tiger Strike Media

螢幕擷圖

  • The Admin Interface Of WP Post Formats

安裝方式

  1. Upload The wp-post-formats folder to the /wp-content/plugins/ directory on your server
  2. Activate the plugin in the admin interface
  3. insert the Template Tag <?php if( function_exists( 'display_wp_post_format' ) ) { display_wp_post_format() ; } ?> in between the loop in your theme where you want the post format differences to be displayed.

常見問題集

None Yet – Ask Me One!

使用者評論

2018 年 1 月 2 日
This plugin work very well and help me to do what I want to do.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Post Formats〉的開發相關工作。

參與者

將〈WP Post Formats〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • UPDATE Twig to 1.28.2
  • FIXED an issue with the post_thumbnail not displaying
    Tested on WordPress 4.7

1.0

  • NEW: Twig Template Engine

0.3

  • Fixed – post-thumbnail bug
  • Added ACE Code editor to change post formats in style

0.2

  • Security Release . Significant Enhancements To Plugin Security With The Introduction Of A Tag System And The Removal Of eval() Usage.

0.1

  • Initial Release