#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
| # See official docs at https://dash.plotly.com | |
| # pip install dash pandas | |
| from dash import Dash, dcc, html, Input, Output | |
| import plotly.express as px | |
| import pandas as pd | |
| df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/gapminderDataFiveYear.csv') |
| 'use strict'; | |
| angular.module('wordpress', []) | |
| .service( 'wpService', | |
| function($http, $q){ | |
| var url = 'http://allin.local/wp-json/'; | |
| return({ |
| <?php | |
| /** | |
| * Allow nested folder paths in WordPress Multisite with subdirectories | |
| * Updated from http://maisonbisson.com/post/14052/wordpress-hacks-nested-paths-for-wpmu-blogs/ to account for latest WordPress code | |
| * .htaccess rules also need to be changed to: | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] |
| <?php | |
| /* | |
| Plugin Name: ACF Customizer Patch | |
| Plugin URI: https://gist.github.com/fabrizim/9c0f36365f20705f7f73 | |
| Description: A class to allow acf widget fields to be stored with normal widget settings and allow for use in customizer. | |
| Author: Mark Fabrizio | |
| Version: 1.0 | |
| Author URI: http://owlwatch.com/ | |
| */ | |
| class acf_customizer_patch |
| <?php | |
| /** | |
| * All custom functions should be defined in this class | |
| * and tied to WP hooks/filters w/in the constructor method | |
| */ | |
| class Custom_Functions { | |
| // Custom metaboxes and fields configuration |
| <?php | |
| /** | |
| * WordPress Chosen Taxonomy Metabox | |
| * Author: Helen Hou-Sandi | |
| * | |
| * Use Chosen for a replacement taxonomy metabox in WordPress | |
| * Useful for taxonomies that aren't changed much on the fly and are | |
| * non-hierarchical in nature, as Chosen is for flat selection only. | |
| * You can always use the taxonomy admin screen to add/edit taxonomy terms. | |
| * Categories need slightly different treatment from the rest in order to |
#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.