This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* add this below line 146 */ | |
#church-pack .calentries { | |
margin-bottom: 60px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// deregister Bitter and Open Sans webfonts only | |
function deregister_default_fonts() { | |
wp_deregister_style( 'twentythirteen-fonts' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'deregister_default_fonts', 100 ); | |
// remove default fonts, add custom fonts, and use a custom minified stylesheet and register but don’t enqueue style.css with all the theme information | |
function add_custom_css() { | |
wp_enqueue_style( 'theme-style', get_stylesheet_directory_uri() . '/style.min.css' ); | |
wp_dequeue_style( 'twentythirteen-style' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Dev site: point search engines at live site | |
*/ | |
// set subdomain | |
$subdomain = 'dev'; | |
// test whether or not this is a dev site | |
if ( strpos( get_site_url(), $subdomain . '.' ) !== false ) { | |
remove_action( 'wp_head', 'rel_canonical' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn | |
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo. | |
# main config | |
PLUGINSLUG="plugin-slug" | |
CURRENTDIR=`pwd` | |
MAINFILE="main-file.php" # this should be the name of your main php file in the wordpress plugin | |
# git config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.largecalendar caption { | |
font-size: 28px; | |
text-align: center; | |
} | |
#calprop0 { | |
display: none; | |
} | |
.calendar_navigation input { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Disable login autocomplete | |
* Description: Disable login password autocomplete | |
* Version: 1.0 | |
* Author: Benjamin Uzelac | |
* Author URI: https://buzelac.com | |
* License: WTFPL | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code | country | |
---|---|---|
af | Afrikaans | |
am | Amharic | |
ar-sa | Arabic (Saudi Arabia) | |
as | Assamese | |
az-Latn | Azerbaijani (Latin) | |
be | Belarusian | |
bg | Bulgarian | |
bn-BD | Bangla (Bangladesh) | |
bn-IN | Bangla (India) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate Private Key | |
openssl genrsa -out server.key 4096 | |
# Generate CSR | |
openssl req -new -out server.csr -key server.key -config openssl.cnf | |
# => Fill in info | |
# Check CSR | |
openssl req -text -noout -in server.csr | |
# Sign Cert | |
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt -extensions v3_req -extfile openssl.cnf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove_custom_header() { | |
remove_theme_support( 'custom-header' ); | |
} | |
// the number 12 is key here - the custom header is added with priority 11, so this has to fire after that function in order to remove it | |
add_action( 'after_setup_theme', 'remove_custom_header', 12 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: Quote Images | |
* Plugin URI: https://gist.github.com/macbookandrew/7172aef947803f1ac439a352548f382f | |
* Description: Quote images with shortcode for random display | |
* Version: 1.0.0 | |
* Author: AndrewRMinion Design | |
* Author URI: https://andrewrminion.com | |
*/ |
OlderNewer