KOZ Copy Actions lets you turn selected text, values, buttons, links or other frontend elements into copy-to-clipboard targets. You choose what can be copied by adding simple CSS selectors in the plugin settings. The plugin then handles mouse clicks and keyboard activation, shows optional feedback,
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.2 and PHP 8.0.
SourceWordPress plugins · Oct 25, 2026
01 / Source details
Aboutthistool.
KOZ Copy Actions lets you turn selected text, values, buttons, links or other frontend elements into copy-to-clipboard targets.
You choose what can be copied by adding simple CSS selectors in the plugin settings. The plugin then handles mouse clicks and keyboard activation, shows optional feedback, and copies the value directly in the visitor’s browser.
No copied content is sent to the developer or to an external service.
Part of the KOZ Suite
KOZ Copy Actions is one focused module of the broader KOZ Suite , a family of independent WordPress plugins that share a common KOZ administration experience and visual identity.
Each KOZ plugin remains independently installable, so site owners can use only the modules they need or combine several modules into one toolkit.
Current public KOZ plugins:
KOZ SEO Core — technical SEO, schema, sitemaps, AI discovery and OpenAI Vision image ALT.
Close single shortcodes with /] . Without it, WordPress treats a later [/koz_copy] on the same page as the end of the earlier shortcode and the enclosed shortcodes disappear.
Attributes: text , target , label , display ( button or inline ), format ( text or html ), key (sent with the copy event) and class .
In the block editor, add the Copy button block and set the value, label and display in the block settings.
The shortcode and block work on every page where they are placed, independently of the selector settings and display conditions.
Copy buttons for code blocks
In Add a copy button to , list elements that should receive a separate Copy button, for example:
pre
Allowed entries: pre , code , blockquote , kbd , samp , a class or ID, or one of these tags combined with a class or ID (for example pre.wp-block-code ). Whitespace inside these elements is always preserved, so copied code keeps its indentation.
Formatted copying
With Copy format set to Formatted (HTML and text) , element content is copied as HTML and plain text together, so links, bold text and lists survive when pasting into editors that support formatting. Explicit values and form fields are always plain text. Override one element with data-copy-format="text" or data-copy-format="html" .
Supported selectors
For safety and predictable behaviour, settings accept simple selectors only:
A class selector such as .copy-me
An ID selector such as #copy-code
Supported data-attribute selectors such as [data-copy-value] , [data-copy-target] , [data-copy-key] and [data-uafree-copy]
Add one selector per line. Duplicate entries are removed automatically.
Limit copy actions to selected pages
The Allowed paths field is optional.
Leave it empty to enable matching copy targets on all public paths.
Add one local path per line to restrict where the frontend handler runs.
Examples:
/contact/ /donate/ /products/*
An ending * matches all paths beginning with that prefix.
You can also limit the handler to single views of selected post types , or to specific post or page IDs . When paths, post types or IDs are set, the handler loads where any of them matches.
For multilingual sites with language-specific URLs, add each required language path, for example:
/en/contact/ /uk/kontakty/
Accessibility and feedback
KOZ Copy Actions can:
Add keyboard focus to matching non-interactive elements.
Add button semantics and an accessible label where appropriate.
Support activation with Enter or Space.
Show an optional copy icon.
Show localized success or error messages.
Position feedback at the bottom centre, bottom left or bottom right.
Preserve formatting or collapse repeated whitespace.
Prevent navigation when a matching link is used as a copy action.
Multilingual sites and translations
The plugin is internationalized with the koz-copy-actions text domain.
Admin labels and frontend messages such as Copied , Could not copy and Copy to clipboard use WordPress translation functions and remain compatible with the standard WordPress.org translation system.
Version 1.1.13 also includes the KOZ Suite runtime language baseline: Ukrainian, Chinese, Spanish, Arabic, Indonesian, Portuguese, French, Japanese, German and Hindi, with English fallback. The WordPress user locale controls the administration interface. On the frontend, supported language-prefixed routes use the matching bundled copy feedback language.
The copy logic itself is language-independent: it works with the rendered content of the current page, so the same selector configuration can be used with multilingual plugins and translated pages.
If your multilingual setup uses different URL paths for each language and you use Allowed paths , add the corresponding path for each language.
KOZ Copy Actions does not translate the content being copied. It copies the value or text that is already rendered on the current page.
Privacy
Clipboard operations happen in the visitor’s browser.
The plugin does not:
Store copied values.
Store IP addresses or visitor identifiers.
Set tracking cookies.
Send analytics or telemetry.
Make external requests for copy functionality.
Compatibility notes
KOZ Copy Actions can detect another active clipboard plugin and warns administrators before two copy handlers are enabled on the same elements.
Compatibility with historical UA FREE Copy settings and frontend data attributes is retained for existing installations, but new installations do not need to configure or know about the former package.
02 / Source details
Gettingstarted.
01Install KOZ Copy Actions from the WordPress Plugin Directory or upload the plugin ZIP through Plugins -> Add New Plugin -> Upload Plugin .
02Activate the plugin.
03Open KOZ Suite -> Copy Actions .
04Enable copy actions.
05Add one or more CSS selectors for the elements that should be copyable.
06Optionally restrict the feature to selected paths.
07Configure the copy icon, feedback message, whitespace and accessibility options.
08Click Save settings .
09Test the selected elements on a public page with both mouse and keyboard.
03 / Source details
Frequently asked questions.
Do I need to edit theme PHP files?
No. If your page builder, block editor or theme lets you add a CSS class or supported data attribute to an element, you can normally configure the copy action without editing PHP.
What happens if I use `.copy-me` as a selector?
Every public element with the class copy-me becomes a copy target on allowed pages. Normal text elements copy their rendered text. Form controls copy their current value.
Can the copied value be different from the visible text?
Yes. Add data-copy-value to the matching element.
Can one button copy text from another element?
Yes. Use data-copy-target="#element-id" and make sure the referenced element has that ID.
Does it work with WPML, Polylang or other multilingual setups?
The plugin does not require a specific multilingual integration. It operates on the rendered frontend content and simple selectors, so it can work on translated pages. If you restrict copy actions by URL path, configure the required path for each language.
Does the plugin translate copied content?
No. It copies the content already displayed on the current page.
Are the plugin interface and copy messages translatable?
Yes. User-facing strings are internationalized with the koz-copy-actions text domain and are compatible with the WordPress.org translation system.
Does the plugin send copied values anywhere?
No. Clipboard operations are performed locally in the browser and copied values are not sent to the developer or an external service.
Can I disable navigation on links used for copying?
Yes. Enable Prevent navigation when a matching link is clicked in the plugin settings.
Website LLMs.txt and LLMs-Full.txt Generator is an LLMs.txt generator and llms-full.txt generator for WordPress. It helps site owners generate, manage, preview, validate, and serve AI discovery files from published public content. Use it to create structured /llms.txt and optional /llms-full.txt end
EngageDock AI is a customizable floating contact widget for WordPress websites that want more leads and faster visitor communication. It helps small businesses turn website traffic into calls, texts, emails, and callback requests from one clean contact panel. Key Features: Click-to-Call – One tap ca
Altify AI is an auto ALT text and AI ALT text plugin for WordPress images. It helps generate descriptive image ALT text for accessibility and image SEO. Use bulk image ALT text tools for your Media Library, generate featured image ALT text automatically, and scale WooCommerce image ALT updates with
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati