{"id":6448,"date":"2009-08-14T04:28:33","date_gmt":"2009-08-14T04:28:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-clap\/"},"modified":"2010-09-12T06:58:45","modified_gmt":"2010-09-12T06:58:45","slug":"wp-clap","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-clap\/","author":868242,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.5","stable_tag":"trunk","tested":"3.0.5","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"WP-Clap","header_author":"Ariagle","header_description":"","assets_banners_color":"","last_updated":"2010-09-12 06:58:45","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/blog.lolily.com\/","header_plugin_uri":"http:\/\/blog.lolily.com\/wordpress-plugin-wp-clap.html","header_author_uri":"http:\/\/blog.lolily.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":4427,"num_ratings":1,"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":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[221,68016,107],"plugin_category":[],"plugin_contributors":[93259],"plugin_business_model":[],"class_list":["post-6448","plugin","type-plugin","status-closed","hentry","plugin_tags-ajax","plugin_tags-clap","plugin_tags-comments","plugin_contributors-ariagle","plugin_committers-ariagle"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-clap.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Not everyone wants to leave a comment, and you don't know who have read your post without feedback. WP-Clap helps you make your visitors leave simple feedback without type a comment.<\/p>\n\n<p>WP-Clap will creat a clap area after your post. Just like the comment area, your readers can clap for your post after reading, but they do not need to type anything. You can also use our function in your homepage to show how many claps the posts have, just like how many comments there are.<\/p>\n\n<p>\u5e76\u4e0d\u662f\u6bcf\u4e2a\u4eba\u90fd\u4f1a\u7559\u8a00\uff0c\u65e5\u5fd7\u51b7\u573a\u73b0\u8c61\u7ecf\u5e38\u51fa\u73b0\u3002WP-Clap\u63d2\u4ef6\u5141\u8bb8\u4f60\u7684\u8bfb\u8005\u5728\u6d4f\u89c8\u65e5\u5fd7\u540e\u80fd\u8f7b\u677e\u7b80\u5355\u5730\u7559\u4e0b\u8def\u8fc7\u7684\u5370\u8bb0\uff0c\u51cf\u5c11\u51b7\u573a\u73b0\u8c61\u3002<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>AJAX Clapping<\/li>\n<li>Avatar suppor<\/li>\n<li>Clapper details(name, email, url, date)<\/li>\n<li>Image clap link<\/li>\n<li>Custom clap text<\/li>\n<li>Custom HTML notice<\/li>\n<li>Auto insert into post and excerpt<\/li>\n<\/ul>\n\n<p><strong>equires Version:<\/strong><\/p>\n\n<p>I don\u2019t know whether WP-Clap can work at WP 2.5 or lower, but you can have a try.<\/p>\n\n<p><strong>Supported Languages:<\/strong><\/p>\n\n<ul>\n<li>US English\/en_US (default)<\/li>\n<li>\u7b80\u4f53\u4e2d\u6587\/zh_CN (translate by <a href=\"http:\/\/blog.lolily.com\/\">Ariagle<\/a>)<\/li>\n<li>\u65e5\u672c\u8a9e\/ja_JP (translate by <a href=\"http:\/\/xiaolife.com\/\">\u6653\u6653<\/a>)<\/li>\n<li>Dutch\/nl_NL (translate by <a href=\"http:\/\/blog.bokhorst.biz\/\">Marcel<\/a>)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Unzip archive to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to 'Setting-&gt;WP-Clap', and change the setting<\/li>\n<li>If you Check the options of the 'Display', you do not need to pay attention to the following content<\/li>\n<li>(If you uncheck the above options) In your 'single.php' file add the following line:<\/li>\n<\/ol>\n\n\n\n<pre><code>&lt;?php if(function_exists('wp_clap')) { wp_clap(); } ?&gt;\n<\/code><\/pre>\n\n<p>You can use the following functions in 'index.php' to show how many claps there are:<\/p>\n\n\n\n<pre><code>&lt;?php if(function_exists('get_wp_claps')) { get_wp_claps(zero, one, more, mode, link, echo, post_id); } ?&gt;\n<\/code><\/pre>\n\n<p><strong>Parameters of get_wp_claps():<\/strong><\/p>\n\n<pre><code>NAME            TYPE       DESCRIPTION                                           DEFAULT      VERSIONS\nzero            string     Text to display when there are no claps.              'No Claps'   1.0\none             string     Text to display when there is one clap.               'One Clap'   1.0\nmore            string     Text to display when there are more than one claps,   '% Claps'    1.0\n                           '%' is replaced by the number of claps.\nmode            integer    Which number you want to show.                        0            1.0\n                           0 = Total claps,\n                           1 = Total clappers,\n                           2 = Average claps.\nlink            integer    0 = No link, 1 = A link to the clap area.             0            1.0\necho            integer    0 = echo, 1 = return value.                           1            1.0\npost_id         integer    Target post. Generally you do not need to set it.     0            1.0\n<\/code><\/pre>\n\n<p><strong>Using Examples:<\/strong><\/p>\n\n<p>As the function get_wp_claps(), generally you do not neet to reset the $link, $echo and $post_id. There are some examples:<\/p>\n\n<pre><code>&lt;?php get_wp_claps('No Claps', 'One Clap', '% Claps'); \/\/ total claps ?&gt;\n&lt;?php get_wp_claps('0 Clap', '1 Clap', '% Claps', 1); \/\/ total clappers ?&gt;\n&lt;?php get_wp_claps('0 Clap', '1 Clap', '% Claps', 2); \/\/ average claps ?&gt;\n&lt;?php get_wp_claps('0 Claps', '1 Clap', '% Claps', 0, 0); \/\/ total claps with no link ?&gt;\n<\/code><\/pre>\n\n<p><strong>Custom CSS:<\/strong><\/p>\n\n<ul>\n<li>WP-Clap will load wp-clap-style.css .<\/li>\n<li>If you want to use your own style, just check the style checkbox in 'Setting-&gt;WP-Clap'.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>How to display the Clap Area?<\/dt>\n<dd><p>There are 2 ways to display the clap area:<\/p>\n\n<ol>\n<li><p>In the 'Setting-&gt;WP-Clap' page, check the options of 'Display' and the clap area will be inserted into where you want.<\/p><\/li>\n<li><p>Add the following line to where you like to display it:<\/p><\/li>\n<\/ol><\/dd>\n<dt>How to display the number of claps in the index?<\/dt>\n<dd><p>There are 2 ways to display the number of claps:<\/p>\n\n<ol>\n<li><p>In the 'Setting-&gt;WP-Clap' page, check the option 'Auto insert frequency into post and excerpt' of 'Display', and the number of claps will be inserted into the right top of the post and excerpt. Posts can be also clapped here.<\/p><\/li>\n<li><p>You can use the function get_wp_claps(). Go to Installation to learn the parameters of this function.<\/p><\/li>\n<\/ol><\/dd>\n<dt>Widget<\/dt>\n<dd><p>Sorry, WP-Clap doesn't have widget now. Maybe widget will appear at the next version.<\/p><\/dd>\n<dt>The Clap Area's style is wrong in my blog!<\/dt>\n<dd><p>We can not make sure that the WP-Clap's default style suits for everyone's themes. You can check the style option in the WP-Clap setting page and add your custom style to your theme's 'style.css' file.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2010\/09\/12<\/h4>\n\n<ul>\n<li>Version 1.5<\/li>\n<li>Check for WP3.0, MultiSite is supported now.<\/li>\n<li>Add a new option that you can choose which page(s) do not display claps.<\/li>\n<li>Edit default style.<\/li>\n<\/ul>\n\n<h4>2010\/04\/29<\/h4>\n\n<ul>\n<li>Version 1.4<\/li>\n<li>Custom HTML supported.<\/li>\n<\/ul>\n\n<h4>2009\/10\/11<\/h4>\n\n<ul>\n<li>Version 1.3<\/li>\n<li>Fix a bug.<\/li>\n<li>Now only administrator can edit the setting page.<\/li>\n<\/ul>\n\n<h4>2009\/08\/25<\/h4>\n\n<ul>\n<li>Version 1.2<\/li>\n<li>Fix a bug.<\/li>\n<li>Add new options.<\/li>\n<\/ul>\n\n<h4>2009\/08\/16<\/h4>\n\n<ul>\n<li>Version 1.1<\/li>\n<li>Auto insert into post.<\/li>\n<\/ul>\n\n<h4>2009\/08\/14<\/h4>\n\n<ul>\n<li>Version 1.0<\/li>\n<li>New plugin Publish.<\/li>\n<\/ul>","raw_excerpt":"Not everyone wants to leave a comment, and you don&#039;t know who have read your post without feedback. WP-Clap helps you make your visitors leave si &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6448"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ariagle"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6448"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6448"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6448"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6448"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6448"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}