{"id":252206,"date":"2025-10-13T14:57:51","date_gmt":"2025-10-13T14:57:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/clipboard-snippet-copier\/"},"modified":"2025-12-04T03:16:55","modified_gmt":"2025-12-04T03:16:55","slug":"clipboard-snippet-copier","status":"publish","type":"plugin","link":"https:\/\/frp.wordpress.org\/plugins\/clipboard-snippet-copier\/","author":17556873,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"trunk","tested":"6.9.4","requires":"5.0","requires_php":"7.2","requires_plugins":null,"header_name":"Clipboard Snippet Copier","header_author":"WebCodingPlace","header_description":"Copy shortcodes or code snippets to clipboard with a single click using AJAX \u2013 without displaying the actual code.","assets_banners_color":"","last_updated":"2025-12-04 03:16:55","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/webcodingplace","header_plugin_uri":"https:\/\/webcodingplace.com\/clipboard-snippet-copier","header_author_uri":"https:\/\/webcodingplace.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":222,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3377616,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3377616,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Add new snippet screen in the admin area.","2":"Example copy button on the frontend."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[17897,249121,2738,249120,240398],"plugin_category":[],"plugin_contributors":[187022],"plugin_business_model":[],"class_list":["post-252206","plugin","type-plugin","status-publish","hentry","plugin_tags-clipboard","plugin_tags-code-copier","plugin_tags-copy","plugin_tags-copy-shortcode","plugin_tags-snippets","plugin_contributors-webcodingplace","plugin_committers-webcodingplace"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/clipboard-snippet-copier.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/clipboard-snippet-copier\/assets\/screenshot-1.png?rev=3377616","caption":"Add new snippet screen in the admin area."},{"src":"https:\/\/ps.w.org\/clipboard-snippet-copier\/assets\/screenshot-2.png?rev=3377616","caption":"Example copy button on the frontend."}],"raw_content":"<!--section=description-->\n<p><strong>Clipboard Snippet Copier<\/strong> allows you to provide demo codes, shortcodes, or any reusable snippets to your users.<br \/>\nInstead of exposing the raw code on the page, snippets are stored securely in the WordPress admin and fetched via AJAX only when copied.<\/p>\n\n<p>This makes it easier for you to share <strong>ready-to-use shortcodes or WPBakery\/Elementor demo layouts<\/strong> without rendering them, while your users can simply click <strong>Copy<\/strong> and paste into their editor.<\/p>\n\n<h3>Features:<\/h3>\n\n<ul>\n<li>\ud83d\udccb Copy any snippet\/shortcode directly to clipboard.<\/li>\n<li>\ud83d\udd12 Snippets are not displayed on the frontend \u2013 fetched via AJAX only.<\/li>\n<li>\u26a1 Lightweight and secure (uses WordPress AJAX + nonces).<\/li>\n<li>\ud83d\uddb1\ufe0f Supports multiple buttons on the same page.<\/li>\n<li>\ud83c\udfa8 Easy integration with any theme or page builder.<\/li>\n<\/ul>\n\n<h3>Example Use Case<\/h3>\n\n<ul>\n<li>Provide <strong>WPBakery demo shortcodes<\/strong> for your users.  <\/li>\n<li>Share <strong>Gutenberg block templates<\/strong> as code snippets.  <\/li>\n<li>Give customers <strong>shortcode presets<\/strong> without exposing messy code.<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<ul>\n<li>Add a new snippet in <strong>Code Snippets \u2192 Add New<\/strong>.<\/li>\n<li>Provide title for your reference<\/li>\n<li>Paste the code in code editor<\/li>\n<li>Place the button in your content with ID: [clipsnco_code_copy_btn id=\"123\" label=\"Copy Demo\"]<\/li>\n<li>When users click the button, the snippet will be copied to their clipboard (without rendering).<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/clipboard-snippet-copier<\/code> directory, or install it directly from the WordPress.org repository.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Add snippets in <strong>Snippets \u2192 Add New<\/strong>.<\/li>\n<li>Place a <strong>copy button<\/strong> anywhere with the shortcode: [clipsnco_code_copy_btn id=\"123\" label=\"Copy Code\"]\nWhere <code>123<\/code> is the ID of your snippet.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20multiple%20buttons%20on%20the%20same%20page%3F'><h3>Can I use multiple buttons on the same page?<\/h3><\/dt>\n<dd><p>Yes, you can place as many as you want. Each button will copy its assigned snippet.<\/p><\/dd>\n<dt id='will%20users%20see%20the%20snippet%20on%20the%20page%3F'><h3>Will users see the snippet on the page?<\/h3><\/dt>\n<dd><p>No. Snippets are stored in the database and fetched via AJAX only when copied.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20page%20builders%20like%20wpbakery%20or%20elementor%3F'><h3>Does it work with page builders like WPBakery or Elementor?<\/h3><\/dt>\n<dd><p>Yes. You can add the copy button shortcode anywhere (page content, widget, or builder block).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fixed: Resource version not set in call to wp_enqueue_style()<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Bug Fixes<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release of Clipboard Snippet Copier.<\/li>\n<\/ul>","raw_excerpt":"Copy shortcodes or code snippets to clipboard with a single click using AJAX \u2013 without displaying the actual code.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/252206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=252206"}],"author":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webcodingplace"}],"wp:attachment":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=252206"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=252206"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=252206"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=252206"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=252206"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=252206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}