{"id":76285,"date":"2017-10-20T09:28:08","date_gmt":"2017-10-20T09:28:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cc-img-shortcode\/"},"modified":"2022-03-16T15:05:53","modified_gmt":"2022-03-16T15:05:53","slug":"cc-img-shortcode","status":"closed","type":"plugin","link":"https:\/\/th.wordpress.org\/plugins\/cc-img-shortcode\/","author":14605250,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"trunk","tested":"5.9.13","requires":"4.8.2","requires_php":"7.2","requires_plugins":"","header_name":"CC-IMG-Shortcode","header_author":"Clearcode","header_description":"This plugin adds the `[img]` shortcode which replaces the `<img>` html tag.","assets_banners_color":"c5dfea","last_updated":"2022-03-16 15:05:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/cc-img-shortcode","header_author_uri":"https:\/\/clearcode.cc","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1237,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"ClearcodeHQ","date":"2017-10-20 09:27:53"},"1.1.0":{"tag":"1.1.0","author":"ClearcodeHQ","date":"2022-03-16 15:05:53"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1749771,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1749771,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1749771,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1749771,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2694889,"resolution":"1","location":"plugin"}},"screenshots":{"1":"<strong>CC-IMG-Shortcode Example<\/strong>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16614,246,19069,80,90],"plugin_category":[43,57],"plugin_contributors":[95640,95641],"plugin_business_model":[],"class_list":["post-76285","plugin","type-plugin","status-closed","hentry","plugin_tags-clearcode","plugin_tags-html","plugin_tags-img","plugin_tags-shortcode","plugin_tags-tag","plugin_category-customization","plugin_category-taxonomy","plugin_contributors-clearcodehq","plugin_contributors-piotrpress","plugin_committers-clearcodehq","plugin_committers-piotrpress"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cc-img-shortcode_c5dfea.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cc-img-shortcode\/trunk\/screenshot-1.png?rev=2694889","caption":"<strong>CC-IMG-Shortcode Example<\/strong>"}],"raw_content":"<!--section=description-->\n<p>This plugin adds the <code>[img]<\/code> shortcode which replaces the <code>&lt;img&gt;<\/code> html tag. It's also enables adding new media to post\/page via the 'Add media' button by automatically inserting the formatted shortcode code to the editor.\nYou can simply add the <code>[img]<\/code> shortcode with a media ID to display:<\/p>\n\n<pre><code>[img 123 \/]\n<\/code><\/pre>\n\n<p>or a fully formatted <code>[img]<\/code> shortcode:<\/p>\n\n<pre><code>[img 123 align=\"center\" size=\"full\" caption=\"Sample text\" title=\"Sample text\" desc=\"Sample text\" alt=\"Sample text\" url=\"http:\/\/example.com\/\" \/]\n<\/code><\/pre>\n\n<p>It's supports <code>srcset<\/code> and <code>sizes<\/code> parameters.<\/p>\n\n<h4>Tips &amp; Tricks<\/h4>\n\n<p>You can use your own html template file for displaying the <code>img<\/code> tag by using filter:<\/p>\n\n<pre><code>add_filter( 'Clearcode\\IMG_Shortcode\\template', function() { return '\/themes\/clearcode.cc\/templates\/img.php'; } );\n<\/code><\/pre>\n\n<!--section=installation-->\n<h4>From your WordPress Dashboard<\/h4>\n\n<ol>\n<li>Go to 'Plugins &gt; Add New'<\/li>\n<li>Search for 'CC-IMG-Shortcode'<\/li>\n<li>Activate the plugin from the Plugin section on your WordPress Dashboard.<\/li>\n<\/ol>\n\n<h4>From WordPress.org<\/h4>\n\n<ol>\n<li>Download 'CC-IMG-Shortcode'.<\/li>\n<li>Upload the 'CC-IMG-Shortcode' directory to your '\/wp-content\/plugins\/' directory using your favorite method (ftp, sftp, scp, etc...)<\/li>\n<li>Activate the plugin from the Plugin section in your WordPress Dashboard.<\/li>\n<\/ol>\n\n<h4>Once Activated<\/h4>\n\n<ol>\n<li>Simply add new media to post\/page via 'Add media' button in your post\/page edit page.<\/li>\n<\/ol>\n\n<h4>Multisite<\/h4>\n\n<p>The plugin can be activated and used for just about any use case.<\/p>\n\n<ul>\n<li>Activate at the site level to load the plugin on that site only.<\/li>\n<li>Activate at the network level for full integration with all sites in your network (this is the most common type of multisite installation).<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<p><em>Release date: 16.03.2022<\/em><\/p>\n\n<ul>\n<li>Added <code>img()<\/code> &amp; <code>src()<\/code> functions.<\/li>\n<li>Added <code>[src \/]<\/code> shortcode.<\/li>\n<li>Added PHP 8.0 support.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p><em>Release date: 16.10.2017<\/em><\/p>\n\n<ul>\n<li>First stable version of the plugin.<\/li>\n<\/ul>","raw_excerpt":"This plugin adds the [img] shortcode which replaces the `` html tag.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/76285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=76285"}],"author":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/clearcodehq"}],"wp:attachment":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=76285"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=76285"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=76285"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=76285"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=76285"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=76285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}