Between [company name]
And [customer name].
<?php | |
/* | |
* | |
* This small scripts creates a post and attaches a file using Advanced custom field. | |
* | |
* Created by Miguel Garrido | |
* miguel.co.nz | [email protected] | |
* | |
* Notes: |
<?php | |
/* For AJAX, if frustrated, try the following (see http://www.php.net/manual/en/function.flush.php#91556): | |
@apache_setenv('no-gzip', 1); | |
@ini_set('zlib.output_compression', 0); | |
*/ | |
ob_start(); | |
set_time_limit(0); // for scripts that run really long | |
function force_flush ($add_whitespace = TRUE) { |
// Útil para filtros de Gutenberg como "allowed_block_types" | |
archives | |
audio | |
button | |
categories | |
code | |
column | |
columns | |
coverImage |
<?php | |
if(!function_exists('wc_get_products')) { | |
return; | |
} | |
$paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1; | |
$ordering = WC()->query->get_catalog_ordering_args(); | |
$ordering['orderby'] = array_shift(explode(' ', $ordering['orderby'])); | |
$ordering['orderby'] = stristr($ordering['orderby'], 'price') ? 'meta_value_num' : $ordering['orderby']; |
<?php | |
/** | |
* Payment subscriptions and updating billing and cancelling subscriptions takes place with these hooks | |
* We need the stripe customer user id for updating billing | |
* we need the entry id of subscription so we can cancel it. | |
*/ | |
/** | |
* @param $entry |
<select name="time-hours"> | |
<option value="1">01</option> | |
<option value="2">02</option> | |
<option value="3">03</option> | |
<option value="4">04</option> | |
<option value="5">05</option> | |
<option value="6">06</option> | |
<option value="7">07</option> | |
<option value="8">08</option> | |
<option value="9">09</option> |
Visit my blog or connect with me on Twitter
git init
or
If you just want to fix the issue quickly, scroll down to the "solution" section below.
If you're a Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g
, you may see an error like this:
$ npm update npm -g
<html> | |
<head> | |
<style type="text/css"> | |
table table { | |
width: 600px !important; | |
} | |
table div + div { /* main content */ | |
width: 65%; | |
float: left; | |
} |