In your docker-compose.yaml:
```
version: "2"
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
In your docker-compose.yaml:
```
version: "2"
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
<!-- Get Previous Post --> | |
<?php | |
$prev_post = get_previous_post(); | |
if (!empty( $prev_post )): ?> | |
<a href="<?php echo get_the_permalink($prev_post->ID); ?>"> | |
<span class="c-button c-button-full-width read-more c-button--summer-orange-light">Previous</span> | |
</a> | |
<?php endif; ?> |
var elixir = require('laravel-elixir'); | |
var gutil = require('gulp-util'); | |
// If 'gulp watch' is run | |
if (gutil.env._.indexOf('watch') > -1) { | |
// Enable watchify for faster builds | |
elixir.config.js.browserify.watchify.enabled = true |
/* global jQuery */ | |
/*jshint esversion: 6 */ | |
/** | |
* Use a singleton | |
* Declare trigger options declaratively in code | |
* | |
* | |
* @TODO provide a polyfill for maps | |
* @TODO make library agnostic - especially jQuery |
// Dependency on Rambda | |
var Person = (properties) => { | |
return R.pick(['firstname', 'lastname', 'email'], properties); | |
} | |
var G = Person({firstname:'Gemma', lastname: 'Black', email: 'gbabc.com'}); | |
var User = { | |
business: (properties) => { |
// Compatible with IE10 | |
@function svg-url($svg) { | |
@if not str-index($svg,xmlns) { | |
$svg: str-replace($svg, '<svg','<svg xmlns="http://www.w3.org/2000/svg"'); | |
} | |
$encoded:''; | |
$slice: 2000; |
Adding @k1sul1's suggestion from the comments as it's more concise than what I had before:
I just wanted them all gone, so I ran this in the MySQL shell.
UPDATE wp_posts SET post_content = REGEXP_REPLACE(post_content, "\\[\/?vc(.*?)\]", "");
Note the double backslash. If you forget it, you'll replace all v's and c's with nothing, and the shortcodes will still be there. This works for other shortcode as well, just replace vc.
<?php | |
return [ | |
'group_btm_flex_default', | |
[ | |
'title' => 'Page Content Builder', | |
'label' => 'Add content', | |
'location' => [ | |
[ | |
[ |