=== Copas === Contributors: abduns Tags: clipboard, copy, classic editor Requires at least: 5.4 Tested up to: 6.7.1 Stable tag: 1.0 Requires PHP: 7.0 License: GPL-3.0 License URI: https://www.gnu.org/licenses/gpl-3.0.html Github: https://github.com/swanagata/copas
A WordPress plugin that adds a customizable "Copy to Clipboard" button integrated with the Classic Editor.
== Description ==
Copas is a WordPress plugin that adds a customizable "Copy to Clipboard" button, integrated with the Classic Editor. This plugin uses the clipboard.js library to enable users to easily copy specified content to their clipboard with a single click.
- Customizable copy button for the Classic Editor.
- Easily specify content to copy using shortcodes.
- Customize button text, success message, and CSS classes.
== Installation ==
-
Upload Plugin files
Upload the
copasfolder to the/wp-content/plugins/directory. -
Activate the Plugin
Activate the plugin through the 'Plugins' menu in WordPress.
== Usage ==
To use the Copas plugin, insert the following shortcode into your post or page:
[copas content="Text to copy" buttontext="Copy" successmessage="Copied!" classtext="my-button-class"]
content: (string) Content to be copied to the clipboard. Default is an empty string.buttontext: (string) Text displayed on the button. Default is "Copy".successmessage: (string) Message displayed after successful copy. Default is "Copied!".classtext: (string) CSS class applied to the button. Default is "button".
== Frequently Asked Questions ==
= How do I use the shortcode? =
Insert the shortcode [copas content="Text to copy" buttontext="Copy" successmessage="Copied!" classtext="my-button-class"] into your post or page.
== Screenshots ==
- This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Screenshots are stored in the /assets directory.
- This is the second screen shot
== Changelog ==
= 1.0 =
- Initial release with basic copy-to-clipboard functionality.
== Upgrade Notice ==
= 1.0 = Initial release.