{"id":50863,"date":"2016-09-15T11:21:25","date_gmt":"2016-09-15T11:21:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/html-code-comments\/"},"modified":"2016-09-23T17:04:58","modified_gmt":"2016-09-23T17:04:58","slug":"html-code-comments","status":"publish","type":"plugin","link":"https:\/\/mlt.wordpress.org\/plugins\/html-code-comments\/","author":15114399,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"4.7.33","requires":"1.5.2","requires_php":"","requires_plugins":"","header_name":"HTML code in comments","header_author":"Ludovic Scribe","header_description":"","assets_banners_color":"","last_updated":"2016-09-23 17:04:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/ludovicscribe.fr\/blog\/wordpress-commentaires-html","header_author_uri":"https:\/\/ludovicscribe.fr","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1866,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1501280","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1501280","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1501280","resolution":"3","location":"assets"}},"screenshots":{"1":"List of alled HTML tags and attributes","2":"Allowed HTML tags and attribuutes edition forms","3":"Advanced configuration (options)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,131,246,90],"plugin_category":[44,57],"plugin_contributors":[126864],"plugin_business_model":[],"class_list":["post-50863","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-comment","plugin_tags-html","plugin_tags-tag","plugin_category-discussion-and-community","plugin_category-taxonomy","plugin_contributors-ludovicscribe","plugin_committers-ludovicscribe"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/html-code-comments.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/html-code-comments\/assets\/screenshot-1.jpg?rev=1501280","caption":"List of alled HTML tags and attributes"},{"src":"https:\/\/ps.w.org\/html-code-comments\/assets\/screenshot-2.jpg?rev=1501280","caption":"Allowed HTML tags and attribuutes edition forms"},{"src":"https:\/\/ps.w.org\/html-code-comments\/assets\/screenshot-3.jpg?rev=1501280","caption":"Advanced configuration (options)"}],"raw_content":"<!--section=description-->\n<h4>Allowed tags edition<\/h4>\n\n<p>WordPress allows only some HTML tags in comments to prevent XSS vulnerabilities. The not allowed tags are simply deleted when a\ncomment is posted. The allowed tags are stored in a global WordPress variable that you have to edit if you want add allowed tags.\nWith this plugin, you can simply edit this variable and add an HTML tag or an attribute to the allowed tags list. There is no file\nto edit, you just have to go on the plugin configuration page and edit the allowed tags list. It's easy and efficient !<\/p>\n\n<h4>HTML tags encoding<\/h4>\n\n<p>Sometimes, you may have to put HTML code in your comments to answer your visitor's questions. In that case, you generally put\nyour HTML code between two tags : <code>code<\/code> and <code>pre<\/code>. This plugin automatically encode HTML tags which are between <code>pre<\/code> and <code>code<\/code>\ntags. So WordPress will not delete your HTML code and your code will be visible on the web-page.<\/p>\n\n<h4>Force link's target<\/h4>\n\n<p>When your visitors put links in comments, WordPress automatically add the attribute <code>rel=\"nofollow<\/code>. It's really usefull for your\nsite's SEO but you perhaps don't want your visitors follow this links and they leave your site. With this plugin, you can choose\nto force <code>target<\/code> attribute value to <code>_blank<\/code> in all links of your comments. So, the links will be opened in new window, your visitors\ndon't leave your site and you are happy.<\/p>\n\n<h4>Contribute<\/h4>\n\n<p>As you can see, my English is not perfect. If you want to correct me, you are welcome !<\/p>\n\n<p>You can contact me on my website or do a pull request on Github ;)<\/p>\n\n<h4>Links<\/h4>\n\n<p>The Github repository (if you want to contribute) : https:\/\/github.com\/ludovicscribe\/wordpress-html-code-comments<\/p>\n\n<p>The plugin page on my website : https:\/\/ludovicscribe.fr\/blog\/wordpress-commentaires-html<\/p>\n\n<!--section=installation-->\n<p>Automatic installation :<\/p>\n\n<ol>\n<li>On the plugin addition page, enter \"html code comments\" in the search field<\/li>\n<li>Click the install button on the \"HTML Code Comments\" plugin<\/li>\n<li>Wait for installaltion end and click the activate button.<\/li>\n<\/ol>\n\n<p>Manual installation :<\/p>\n\n<ol>\n<li>Unzip the downloaded zip file.<\/li>\n<li>Upload the html-code-comments folder and its contents into the wp-content\/plugins\/ directory of your WordPress installation<\/li>\n<li>Activate HTML Code Comments from Plugins page.<\/li>\n<\/ol>\n\n<p>Next, go on the \"HTML code in comments\" page in \"Settings\" section of your WordPress administration and set your allowed tags and enable\nor disable options. Finally, enjoy !<\/p>\n\n<!--section=changelog-->\n<h4>v2.0<\/h4>\n\n<p><strong>Publication date :<\/strong> 09\/21\/2016<\/p>\n\n<p><strong>Features :<\/strong><\/p>\n\n<pre><code>- Configuration of allowed HTML tags and attributes\n- Forcing of `target` attributes value to `_blank`\n- Adding an option to enable or disable HTML code encoding\n<\/code><\/pre>\n\n<h4>v1.0<\/h4>\n\n<p><strong>Publication date :<\/strong> 09\/15\/2016<\/p>\n\n<p><strong>Features :<\/strong><\/p>\n\n<pre><code>- Encoding of HTML code between `code` and `pre` tags.\n<\/code><\/pre>","raw_excerpt":"This plugin allows to take control of the HTML code allowed in your comments.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50863"}],"author":[{"embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ludovicscribe"}],"wp:attachment":[{"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50863"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50863"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50863"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50863"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50863"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}