{"id":17777,"date":"2012-04-16T13:04:46","date_gmt":"2012-04-16T13:04:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/flexible-hreview\/"},"modified":"2012-05-15T09:52:07","modified_gmt":"2012-05-15T09:52:07","slug":"flexible-hreview","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/flexible-hreview\/","author":9030524,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5","stable_tag":"trunk","tested":"3.3.2","requires":"3.3.1","requires_php":"","requires_plugins":"","header_name":"Flexible hReview","header_author":"Steve Barnett","header_description":"","assets_banners_color":"","last_updated":"2012-05-15 09:52:07","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/naga.co.za","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1701,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[9302,110],"plugin_category":[53],"plugin_contributors":[91015],"plugin_business_model":[],"class_list":["post-17777","plugin","type-plugin","status-publish","hentry","plugin_tags-hreview","plugin_tags-review","plugin_category-ratings-and-reviews","plugin_contributors-stevebarnett-1","plugin_committers-stevebarnett-1"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/flexible-hreview.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Flexible hReview lets you add an <a href=\"http:\/\/microformats.org\/wiki\/hreview\">hReview<\/a> to a Post, then show that review anywhere on your site using the function or the shortcode.\nAlso available on GitHub: <a href=\"https:\/\/github.com\/SteveBarnett\/Flexible-hReview\">https:\/\/github.com\/SteveBarnett\/Flexible-hReview<\/a>.<\/p>\n\n<p>The options page lets you set:<\/p>\n\n<ul>\n<li>field names for multi-dimensional reviews<\/li>\n<li>the maximum rating<\/li>\n<li>whether or not to calculate and display an average of the ratings<\/li>\n<li>characters for before and after the rating text<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Install <em>Flexible hReview<\/em> via the WordPress.org plugin directory, or by uploading the files to your server.<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress.<\/li>\n<li>Add the function or shortcode in the place you want the hreview to display.<\/li>\n<li>Add CSS to visually hide elements of the hreview you do not wish to display.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I display an hReview in the body of the Post?<\/dt>\n<dd><p>To display the current Post's hReview use\n    [flexible_hreview]<\/p>\n\n<p>To display a different Post's hReview use \n    [flexible_hreview id=\"123\"]\nwhere 123 is ID of the Post.<\/p><\/dd>\n<dt>How do I display an hReview in a Theme file?<\/dt>\n<dd><p>In single.php:<\/p>\n\n<pre><code>&lt;?php\nif(function_exists('flexible_hreview_html')) {\necho flexible_hreview_html();\n};\n?&gt;\n<\/code><\/pre>\n\n<p>In other files:<\/p>\n\n<pre><code>&lt;?php\nif(function_exists('flexible_hreview_html')) {\necho flexible_hreview_html(123);\n};\n?&gt;\n<\/code><\/pre>\n\n<p>where 123 is ID of the Post.<\/p><\/dd>\n<dt>How do hide elements of the hReview?<\/dt>\n<dd><p>Use CSS to visually hide elements of the hReview. For example, to hide the version number:<\/p>\n\n<pre><code>.hreview .version {\nposition: absolute;\nleft: -999em;\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.7<\/h4>\n\n<ul>\n<li>Fixed preview<\/li>\n<li>Maximum Rating saves in Post meta<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Added FAQ section<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Easily add hReview data to a Post. Show it anywhere using the function or the shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17777"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/stevebarnett-1"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17777"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17777"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17777"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17777"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17777"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}