onwp
Follow
Highlights
Pinned Loading
-
Chained select (listbox) on tinymce ...
Chained select (listbox) on tinymce window (modal). For WordPress. 1/* global jQuery, iziToast */
23// Chained select (listbox) on tinymce window (modal)
4tinymce.PluginManager.add('address_shortcode_inserter', function (editor) {
5var addresses = [];
-
Find unused CSS classes in html,php,...
Find unused CSS classes in html,php,js files for multiple themes. Run this script in "themes" directory of Wordpress 1#!/bin/bash
2for dir in $(ls -d */ | grep -v cache | grep -v node_modules | cut -f1 -d'/'); do
3(
4echo "checking $dir :";
5pushd "$dir" &>/dev/null || {
-
Bash script to find unused SCSS vari...
Bash script to find unused SCSS variables 1#!/usr/bin/env bash
2# HOW TO USE
3# Save code to file
4# Run as "SCRIPT_FILE_NAME SASS_DIRECTORY"
5# e.g "./find_unused_scss_variables.sh ./sass"
-
MacOS Desktop Icons on Left. It rear...
MacOS Desktop Icons on Left. It rearranges your desktop icons, keeps it aligned to the left side of screen. 1-- https://gist.github.com/mrienstra/8330528
2-- Based on http://www.tuaw.com/2012/12/24/applescript-desktop-icon-race/
3-- Inspired by http://namesakecomic.com/comic/happy-new-year-from-namesake/#comment-1182035013
45-- Rearranges Desktop icons to flow from left to right, top to bottom.
-
Tidy up your desktop icons on mac
Tidy up your desktop icons on mac 1tell application "System Events"
23tell application "Finder" to activate desktop
45tell process "Finder"
-
Check "Translate" option for all cus...
Check "Translate" option for all custom fields in WPML plugin 1// Scroll into Custom Fields settings
2document.querySelector(".wpml-custom-fields-settings").scrollIntoView();
34// Click on 'Display All' button
5jQuery(".wpml-custom-fields-settings .display-all").click();
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.