Sticky Copy Button for Code Blocks

Àpèjúwe

This plugin adds a convenient copy button to every code block on your blog posts, allowing users to copy code with a single click.

Highlights:

  • Easy One-Click Copying: Your blog visitors can instantly copy code to their clipboard by simply clicking a button on any code block.

  • Flexible Customization: From a dedicated settings page, you can freely adjust the button’s position, size, color, and labels (for both before and after copying) to perfectly match your site’s design.

  • Lightweight and Fast: The plugin only loads the necessary CSS and JavaScript, ensuring it won’t impact your site’s performance.

This plugin makes it super easy for your blog visitors to grab code snippets. By adding a simple copy button to every code block, it boosts convenience and makes your code content much more user-friendly.

Àwọn àwòrán ìbòjú

  • Plugin settings screen
  • Button display in an actual blog post

Ìgbéwọlẹ̀

  1. Upload via WordPress Dashboard:

    – In your WordPress dashboard, go to ‘Plugins’ ‘Add New’.
    – Search for “stick-copy-button-codeblock” and click ‘Install Now’.
    – Click ‘Activate’ once the installation is complete.
    – (Optional) Go to ‘Settings’ ‘Stick Copy Button’ to configure options.

  2. Manual Installation via FTP:

    – Download the plugin’s zip file and extract it.
    – Connect to your server via FTP and navigate to the “wp-content/plugins/” directory.
    – Upload the extracted “stick-copy-button-codeblock” folder to this directory.
    – Go to ‘Plugins’ in your WordPress dashboard and activate the plugin.
    – (Optional) Go to ‘Settings’ ‘Stick Copy Button’ to configure options.

FAQ

Which code blocks does this plugin support?

It supports code blocks marked up in the pre > code format.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Sticky Copy Button for Code Blocks” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Sticky Copy Button for Code Blocks” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.1

  • Minor bug fixes

1.0.0

  • Initial release
  • Optimized and fixed code for official distribution.
  • Added internationalization support.