The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
let popupCount = 1; // Initialize popup count | |
document.querySelectorAll('*').forEach(element => { | |
let popup; // Declare popup outside the event listeners | |
element.addEventListener('click', (event) => { | |
if (popup && popup.parentNode) { | |
document.body.removeChild(popup); // Remove previous popup | |
} |
(function() { | |
// A product of VR51, Aria and Gemini | |
const colors = []; | |
const elements = document.querySelectorAll('*'); | |
elements.forEach(element => { | |
const styles = window.getComputedStyle(element); | |
for (let i = 0; i < styles.length; i++) { |
<?php | |
/** | |
* Plugin Name: Multisite: Do Password Reset on Local Blog instead of Root Blog | |
* Plugin URI (orig): https://gist.github.com/eteubert/293e07a49f56f300ddbb | |
* Plugin URI (this forke): https://gist.github.com/VR51/33d32082a009de0a2c990e994aea8936/ | |
* Description: By default, WordPress Multisite uses the main blog for passwort resets. This plugin enables users to stay in their blog during the whole reset process. | |
* Instructions: Drop into /wp-content/mu-plugins/ or remove this header and add to functions.php. Use mu-plugins if you want to affect all sites. | |
* Version: 1.0.1 | |
* Author: Eric Teubert + vr51 + others | |
* Author URI: http://ericteubert.de |
When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.
Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008
…………………………
/** | |
* | |
* Moved to https://github.com/VR51/wp-error-logging | |
* | |
**/ |
/** | |
* | |
* Moved to https://github.com/VR51/wp-error-logging | |
* | |
**/ |
<?php | |
/** | |
* Import Files from External Domains v1.0.0 | |
* | |
* This script is written for WordPress sites. | |
* This script can be adapted for use with non WordPress sites. | |
* The code in this script should be copied and pasted into a theme's funcitons.php file or into a functionality plugin | |
* though it can be used in other ways too. | |
* This script does not add files to the WordPress Media Library. |
<?php | |
/* | |
# v1.0.1 | |
# 2021-08-06 | |
# | |
# Extends WP plugin 'Import Users from CSV' to enable scheduled WordPress user imports | |
# | |
# This scheduler has been rolled into my fork of the Import Users from CSV plugin | |
# See https://github.com/VR51/import-users-from-csv | |
# |
<?php | |
function privacy_page_sc_vr51( $atts ) { | |
# Creates a Privacy Page link shortcode. | |
# Use as [privacy title="Privacy Page Title"] or [privacy] | |
# Default page title is Privacy Page. | |
# Page link points to the Privacy Page set in Dashboard > Privacy. | |
# The privacy page will only display if the page is public (status = publish). | |
# Place this snippet into the site theme's functions.php file, a custom functions plugin or some other | |
# suitable place. |