Linux 软件免费装

Flexible hReview

开发者 steve.barnett
更新时间 2012年5月15日 17:52
PHP版本: 3.3.1 及以上
WordPress版本: 3.3.1

标签

review hreview

下载

详情介绍:

Flexible hReview lets you add an hReview to a Post, then show that review anywhere on your site using the function or the shortcode. Also available on GitHub: https://github.com/SteveBarnett/Flexible-hReview. The options page lets you set:

安装:

  1. Install Flexible hReview via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Add the function or shortcode in the place you want the hreview to display.
  4. Add CSS to visually hide elements of the hreview you do not wish to display.

常见问题:

How do I display an hReview in the body of the Post?

To display the current Post's hReview use [flexible_hreview] To display a different Post's hReview use [flexible_hreview id="123"] where 123 is ID of the Post.

How do I display an hReview in a Theme file?

In single.php: <?php if(function_exists('flexible_hreview_html')) { echo flexible_hreview_html(); }; ?> In other files: <?php if(function_exists('flexible_hreview_html')) { echo flexible_hreview_html(123); }; ?> where 123 is ID of the Post.

How do hide elements of the hReview?

Use CSS to visually hide elements of the hReview. For example, to hide the version number: .hreview .version { position: absolute; left: -999em; }

更新日志:

0.7 0.6 0.5