Skip to content

Instantly share code, notes, and snippets.

@anant1811
anant1811 / acf-genesis-template.php
Last active December 4, 2019 06:54
ACF with Genesis Page templates
<?php
/**
* ACF compatible genesis page template
*
* @author StudioPress
* @package Altitude
* @subpackage Customizations
*/
/*
@anant1811
anant1811 / style.css
Last active July 23, 2016 14:51
Remove link outline
/*Remove dotted outline from links/link elements*/
a, a:hover, a:active, a:focus {
outline: 0;
}
@anant1811
anant1811 / functions.php
Created July 23, 2016 10:06
Customise WordPress "Leave a Reply" title
//Change comment section title
function comment_reform ($arg) {
$arg['title_reply'] = __('Leave a comment:');
return $arg;
}
add_filter('comment_form_defaults','comment_reform');
@anant1811
anant1811 / 0_reuse_code.js
Created January 16, 2016 19:35
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console