{"id":99641,"date":"2019-03-10T18:02:51","date_gmt":"2019-03-10T18:02:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/encode-shortcode\/"},"modified":"2019-03-10T18:03:21","modified_gmt":"2019-03-10T18:03:21","slug":"encode-shortcode","status":"publish","type":"plugin","link":"https:\/\/sr.wordpress.org\/plugins\/encode-shortcode\/","author":15700049,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"trunk","tested":"5.1.0","requires":"4.9","requires_php":"","requires_plugins":"","header_name":"Encode Shortcode","header_author":"Julien MA Jacob","header_description":"Protect email address in your website against spam with shortcode like this : [encode email=\"hello@mail.fr\"]My text to encode[\/encode]","assets_banners_color":"95587a","last_updated":"2019-03-10 18:03:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wprock.fr","header_author_uri":"https:\/\/wprock.fr\/a-propos-julien-ma-jacob\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1152,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"2047676","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"2047676","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"2047676","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[600,80,168919],"plugin_category":[43,54],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-99641","plugin","type-plugin","status-publish","hentry","plugin_tags-security","plugin_tags-shortcode","plugin_tags-spam-protect","plugin_category-customization","plugin_category-security-and-spam-protection","plugin_committers-wpr0ck"],"banners":{"banner":"https:\/\/ps.w.org\/encode-shortcode\/assets\/banner-772x250.jpg?rev=2047676","banner_2x":"https:\/\/ps.w.org\/encode-shortcode\/assets\/banner-1544x500.jpg?rev=2047676","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/encode-shortcode\/assets\/icon-128x128.jpg?rev=2047676","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>WordPress plugin : Encode Shortcode<\/strong><\/p>\n\n<p>A WordPress plugin to protect the email address in your website against bots or spiders that index or harvest email addresses for sending spam. It uses a substitution cipher with a different key for every page load.<\/p>\n\n<p><strong>How to use in the WordPress editor<\/strong><\/p>\n\n<pre><code>[encode email=\"email@mail.fr\"]\n<\/code><\/pre>\n\n<p>Or :<\/p>\n\n<pre><code>[encode email=\"email@mail.fr\"]Text in the link[\/encode]\n<\/code><\/pre>\n\n<p>The result in the HTML code is like :<\/p>\n\n<pre><code>&lt;span id=\"es-23908716\"&gt;[Encoded]&lt;\/span&gt;&lt;script type=\"text\/javascript\"&gt;var a=\"x78UC50DOygu4kZAGq+ei3TbMfcrNYmvP@62Lznt_dQwJWX91HaIRVKEF.s-SjholpB\";var b=a.split(\"\").sort().join(\"\");var c=\"WVdHRkVdHR8Xs\";var d=\"\";for(var e=0;e&lt;c.length;e++)  d+=b.charAt(a.indexOf(c.charAt(e)));document.getElementById(\"es-23908716\").innerHTML=\"&lt;a href=\\\"mailto:\"+d+\"\\\"&gt;\"+d+\"&lt;\/a&gt;\"&lt;\/script&gt;\n<\/code><\/pre>\n\n<p>The result for the user is like :<\/p>\n\n<pre><code>&lt;span id=\"es-24377098\"&gt;&lt;a href=\"mailto:email@mail.fr\"&gt;Text in the link&lt;\/a&gt;&lt;\/span&gt;\n<\/code><\/pre>\n\n<p><strong>How to use in PHP<\/strong><\/p>\n\n<p>Classic method :<\/p>\n\n<pre><code>&lt;?php echo do_shortcode('[encode email=\"email@mail.fr\"]Text in the link[\/encode]'); ?&gt;\n<\/code><\/pre>\n\n<p><strong>Ressourses<\/strong><\/p>\n\n<ul>\n<li>(https:\/\/github.com\/julien-jacob\/encode-shortcode \"Github repository\")<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Add README.txt for prepare submit to WordPress plugins <\/li>\n<li>Better README.md <\/li>\n<li>Add assets (banner and icon)<\/li>\n<li>Add french translation<\/li>\n<li>Add support shortcode : [encode email=\"hello@mail.fr\"]Link text[\/encode]<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First version of the plugin (github)<\/li>\n<li>Support shortcode : [encode email=\"hello@mail.fr\"]<\/li>\n<\/ul>","raw_excerpt":"Protect email address in your website against spam with shortcode like this : [encode email=&quot;hello@mail.fr&quot;]My text to encode[\/encode]","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/99641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=99641"}],"author":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpr0ck"}],"wp:attachment":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=99641"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=99641"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=99641"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=99641"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=99641"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=99641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}