Skip to content

Instantly share code, notes, and snippets.

@mkkeck
mkkeck / class-editor-social-link.php
Last active January 14, 2024 13:48
Patched WordPress block `core/social-link` to allow theme developers to register own social services
@mkkeck
mkkeck / jquery.wait-until-loaded.js
Created May 25, 2019 09:19
Function to queue jQuery in inline scripts, until jQuery is fully loaded async or via script injection.
/*!
* Queue jQuery function calls until jQuery is fully loaded.
*
* This avoids "jQuery / $ is undefined" errors in inline scripts
* if jQuery is loaded asynchron or via script injection
*
* Copyright 2019, Michael Keck <https://github.com/mkkeck>
* Released under the MIT license
*/
@mkkeck
mkkeck / jquery.ui.combobox.js
Created April 3, 2016 14:11
ComboBox Widget for jQuery UI v. 1.11.x
/**
* ui combobox 1.1
* ComboBox Widget for jQuery UI
*
*
* Copyright (c) 2015-2016 Michael Keck
* (https://github.com/mkkeck/jquery-ui-icons)
* Licensed under the GPL license:
* http://www.gnu.org/licenses/gpl.html
*
@mkkeck
mkkeck / jquery.ui.themeswitch.js
Last active April 9, 2016 14:25
ThemeSwitch for jQuery UI v 1.11.x
/**
* ui themeswitch 1.1
* ThemeSwitch for jQuery UI
*
* Copyright: (c) 2015-2016 Michael Keck
* (https://github.com/mkkeck/jquery-ui-icons)
* License: http://www.gnu.org/licenses/gpl.html
* Modified: Michael Keck, 2016-03-02
*
* Depends:
/**
* jQuery UI Multiselect Advanced
*
* Replaces the jQuery UI Multiselect from the page
* <http://www.quasipartikel.at/multiselect/>
*
*
* Author: Michael Keck
*
* Based on the original code from: