插件名

WP Post Formats

评分

60

安装步骤:
  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.
描述:

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

下载地址:
点击下载