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_action( 'wp_enqueue_scripts', 'sitecare_disable_featherlight_singular_posts' ); | |
/** | |
* Disable WP Featherlight on singular post entries. | |
* | |
* @author WP Site Care <http://www.wpsitecare.com/> | |
* @access public | |
* @return void | |
*/ | |
function sitecare_disable_featherlight_singular_posts() { | |
if ( is_singular( 'post' ) ) { |
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
// Store the original Neat gutter size. | |
$orig-fg-gutter: $fg-gutter; | |
// Temporarily override the Neat gutter. | |
$fg-gutter: 0.5em; | |
.some-element { | |
@include span-columns(6); | |
} | |
.some-other-element { |
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
/* Table Grid Classes | |
--------------------------------------------- */ | |
@media screen and (min-width: 810px) { | |
%table-grid { | |
display: block; | |
float: left; | |
} |
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 | |
add_action( 'flagship_dashboard_main_panel_content', 'prefix_getting_started' ); | |
/** | |
* Add helper content to the main Flagship Dashboard panel. | |
* | |
* @since 1.0.0 | |
* @access public | |
* @return void | |
*/ |
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 | |
/* | |
* Class for displaying the local business information | |
*/ | |
if (!class_exists('LocalBusiness')) { | |
class LocalBusiness | |
{ |
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
// This file controls all base color styles for our theme. All colors should be | |
// defined in _colors.scss. This allows us to at a glance determine global color | |
// styles of our theme and prevents arbitrary color assignment. | |
// Do not use the base theme colors in the scss partial files! Set up your theme's | |
// base colors and then use scoped color values in your Sass partials. | |
// Theme Colors (private vars) | |
//------------------------------------------------------------------------------ | |
$off-black: #1c1e1f; | |
$dark-gray: #494b4c; |
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 | |
/** | |
* Simple Grid helper functions. | |
* | |
* @package SimpleGrid | |
* @subpackage Genesis | |
* @copyright Copyright (c) 2014, Flagship, LLC | |
* @license GPL-2.0+ | |
* @since 1.0.0 | |
*/ |
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 | |
/** | |
* This file adds the Home Page to the Tidy Theme. | |
*/ | |
add_action( 'genesis_meta', 'tidy_home_genesis_meta' ); | |
/** | |
* Add widget support for homepage. If no widgets active, display the default loop. | |
* | |
*/ |
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: Remove H1 Format | |
* Plugin URI: http://calliaweb.co.uk/modify-tinymce-editor/ | |
* Description: A simple plugin to remove the H1 format from the WordPress TinyMCE editor. | |
* Version: 0.0.1 | |
* Author: Jo Waltham | |
* Author URI: http://calliaweb.co.uk/ | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |