Description
This Plugin will add your own kontur Copy Code Button to any code-block on your site. On click it will copy the code to the clipboard. Works as well on mobile devices and the standard Gutenberg WP-Code-Block.
Set your own
* button-text(s),
* class(es),
* button-color,
* button-text-color
* and “pre” Background.
CREDIT: This plugin uses functions from the copy-clipboard-code plugin by sach3932
Screenshots
Installation
This section describes how to install the plugin and get it working.
-
Upload
kontur-copy-code-button.php
to the/wp-content/plugins/
directory -
Activate the plugin through the ‘Plugins’ menu in WordPress
-
Go to WordPress Admin > Appearance > Copy Code Button and change your settings
Note: To use your normal theme button settings ’empty’ the background color setting and the button text color setting. And also set the appropriate class(es) in the settings field.
FAQ
-
Where do I find the settings?
-
Under WordPress Admin > Appearance Copy Code Button or click the link ‘Settings’ under the plugin in your WordPress Admin Plugins section.
-
I need something else. Can I hire you?
-
Yes. Please get in touch via email email with a brief description of your requirements and budget for the project and we will start something else together.
-
This plugin is simple, but I want to show my appreciation?
-
Well, go for it! You can either make a donation or leave a rating to motivate me to keep working on the plugin.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Kontur Copy Code Button” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Kontur Copy Code Button” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.1
- Date: 27.December 2021
- Fixed PHP Errors.
- Fixed PHP Errors.
- Fixed PHP Errors.