Skip to content

Instantly share code, notes, and snippets.

View amirowp's full-sized avatar

Alex Mironov amirowp

View GitHub Profile
<?php
/**
* This file adds a custom template to the AgentPress Child Theme.
*
* @author Brad Dalton
* @link http://wpsites.net/web-design/make-custom-page-template/
* @package Agentpress
* @subpackage Customizations
*/
@amirowp
amirowp / functions.php
Last active June 27, 2019 21:46 — forked from wpspeak/functions.php
Remove 'You are here' texts in Genesis Framework breadcrumb
<?php
//* Remove 'You are here' texts in Genesis Framework breadcrumb
add_filter( 'genesis_breadcrumb_args', 'afn_breadcrumb_args' );
function afn_breadcrumb_args( $args ) {
$args['labels']['prefix'] = '';
return $args;
}
@amirowp
amirowp / gulpfile.js
Created June 15, 2019 20:14 — forked from BaronVonPerko/gulpfile.js
Gulpfile for SCSS and Tailwind
var gulp = require('gulp');
var sass = require('gulp-sass');
var postcss = require('gulp-postcss');
gulp.task('style', function () {
var tailwindcss = require('tailwindcss');
return gulp.src('sass/**/*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(postcss([