Rewrite non www to www
particleRewriteEngine On RewriteCond %{HTTP_HOST} ^example.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
gulp.task(name, deps, func) was replaced by gulp.task(name, gulp.{series|parallel}(deps, func))
npm init
// npm install npm install gulp gulp-less npm install gulp-sourcemap npm install babelify npm install gulp-minify-css npm install gulp-livereload npm install gulp-babel npm install gulp-concat npm install gulp-uglify npm install gulp-rename npm install gulp-strip-debug npm install babel-preset-es2015 npm install browserify npm install vinyl-source-stream npm install vinyl-buffer @babel/core@^7.0.0
// Load Google fonts add_action( ‘wp_head’, ’themeprefix_load_fonts’ ); function themeprefix_load_fonts() { ?>
// Make pagespeed happy //——————— function remove_style_id($link){ return preg_replace(“/ id=’.*-css’/”, “”, $link); } add_filter(‘style_loader_tag’, ‘remove_style_id’);