WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-68134b-18.MAI' (Errcode: 28 "No space left on device")]
SELECT p.*, o.option_value, GROUP_CONCAT(DISTINCT CONCAT(m.meta_key, "::", m.meta_value) separator "::::") as seo_meta, t.slug, tr.language_code as language FROM wp_posts p JOIN wp_postmeta m ON p.ID = m.post_id JOIN wp_options o ON o.option_name = "siteurl" JOIN wp_term_relationships r ON r.object_id = p.ID JOIN wp_term_taxonomy x ON x.term_taxonomy_id = r.term_taxonomy_id JOIN wp_terms t ON t.term_id = x.term_id JOIN wp_icl_translations tr ON p.ID = tr.element_id WHERE post_type = "page" AND post_status = "publish" AND tr.language_code = 'en' AND t.slug IN ('jquery') AND x.taxonomy = "page_cat" AND tr.element_type = "post_page" AND meta_key IN ("_yoast_wpseo_title", "_yoast_wpseo_metadesc") GROUP BY p.ID

Clipboard

Bootstrap 5 Clipboard

Copy to clipboard feature for the latest Bootstrap 5. Let your users easily copy text or links with one click.

Note: Read the API tab to find all available options and advanced customization


Basic example

By adding button with class name clipboard and data-mdb-target attribute you can easily make your text copyable.


Copy from element

There is no difference if element is an input or just div element.

Here is text to copy!

Copy from data attribute

By adding to target of copying data-mdb-clipboard-text you can set text to copy insted of text from text content.

Copy text from data-mdb-attr instead of text content.

Clipboard - API


Usage

Via data attributes


        <button class="btn btn-primary clipboard" data-mdb-clipboard-target="#copy-target">
          Copy
        </button>
      

Via JavaScript


        var myClipboard = new mdb.Clipboard(document.getElementById('clipboard'), options)
      

Via jQuery

Note: By default, MDB does not include jQuery and you have to add it to the project on your own.


        $('.example-class').clipboard(options);
      

Options

Name Type Default Description
clipboardTarget Null / String 'null' Points an element from which you will copy text.

Methods

Name Description Example
dispose Manually deletes an instance of clipboard myClipboard.dispose()
getInstance Static method which allows you to get the clipboard instance associated to a DOM element. Clipboard.getInstance(myClipboardEl)

        var myClipboardEl = document.getElementById('myClipboard') 
        var clipboard = new mdb.Clipboard(myClipboardEl)
        clipboard.dispose()
      

Events

Name Description
copy.mdb.clipboard This event fires immediately after copying text.

        var myClipboardEl = document.getElementById('myClipboard')
        myClipboardEl.addEventListener('copy.mdb.clipboard', function (e) {
          // do something...
        })
      

Import

MDB UI KIT also works with module bundlers. Use the following code to import this component:


      import { Clipboard } from 'mdb-ui-kit';
    

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-68134b-19.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-68134b-1a.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`