Skip to content

Instantly share code, notes, and snippets.

View stirtingale's full-sized avatar

Stirtingale stirtingale

View GitHub Profile
@stirtingale
stirtingale / wp-tinyMCE4.php
Created July 15, 2022 15:33 — forked from martylouis/wp-tinyMCE4.php
A custom WordPress TinyMCE v4 configuration with styles (now called "Formats") drop down menu and submenus.
<?php
/**
* TinyMCE v4 Config
*
* A custom WordPress TinyMCE v4 configuration with styles (now called "Format") drop down menu with submenus.
*
* style_formats: http://www.tinymce.com/wiki.php/Configuration:style_formats
*
*/
@stirtingale
stirtingale / config.yml
Created November 16, 2018 15:50 — forked from brettchalupa/config.yml
Shopify Theme Kit config example for screencast (https://www.youtube.com/watch?v=1xWFsYmBoX0)
development:
store: example.myshopify.com
password: add-password-in-config
theme_id: "live"
bucket_size: 40
refill_rate: 2
ignore_files:
- "*.swp"
- "*~"
- "config/settings_data.json"
@stirtingale
stirtingale / web.config
Created November 8, 2018 15:43 — forked from addisonhall/web.config
WordPress on IIS web.config with headers and cache control. Be sure to update "http://mydomain.com" with your site domain.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<remove name="Vary"></remove>
<add name="Vary" value="Accept-Encoding"></add>
</customHeaders>
</httpProtocol>
<staticContent>
<?php
/**
* Plugin Name: WooCommerce Custom Product Type
* Plugin URI: http://jeroensormani.com
* Description: A simple demo plugin on how to add a custom product type.
*/
/**
* Register the custom product type after init
*/