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 | |
/* | |
* Creates the section, settings and the controls for the customizer | |
*/ | |
function shoestrap_social_customizer( $wp_customize ){ | |
$sections = array(); | |
$sections[] = array( 'slug' => 'shoestrap_social', 'title' => __( 'Social Links', 'shoestrap' ), 'priority' => 8 ); |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<title><?php wp_title('|', true, 'right'); ?></title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.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 | |
get_template_part('templates/head'); | |
$layout = get_theme_mod( 'shoestrap_layout' ); | |
?> | |
<body <?php body_class(); ?>> | |
<!--[if lt IE 7]><div class="alert">Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</div><![endif]--> | |
<?php | |
do_action('get_header'); |
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
<h2 class="entry-title"> | |
<a href="http://tiltrue.com/breaking-up-breaking-down-breaking-us-breaking-up-breaking-down-breaking-through/"></a> | |
</h2> |
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 | |
/* | |
* Extract the name of the webfont and enqueue its style. | |
*/ | |
function shoestrap_typography_webfont() { | |
$webfont = get_theme_mod( 'shoestrap_google_webfonts' ); | |
$webfont_weight = get_theme_mod( 'shoestrap_webfonts_weight' ); | |
$webfont_character_set = get_theme_mod( 'shoestrap_webfonts_character_set' ); |
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 | |
/* | |
* CSS needed to apply the selected styles to text elements. | |
*/ | |
function shoestrap_text_css() { | |
$background_color = get_theme_mod( 'shoestrap_background_color' ); | |
$link_color = get_theme_mod( 'shoestrap_link_color' ); | |
$text_color = get_theme_mod( 'shoestrap_text_color' ); | |
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 | |
function my_custom_header_top_navbar_override() { | |
?> | |
<header class="banner navbar navbar-default topnavbar <?php echo shoestrap_navbar_class(); ?>" role="banner"> | |
<div class="navbar-inside <?php echo shoestrap_container_class(); ?>"> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-main, .nav-extras"> | |
<span class="sr-only">Toggle navigation</span> | |
<span class="icon-bar"></span> |
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( 'shoestrap_pre_navbar', 'shoestrap_branding' ); | |
function remove_branding() { | |
remove_action( 'shoestrap_below_top_navbar', 'shoestrap_branding', 5 ); | |
} | |
add_action ( 'init', 'remove_branding' ); |
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 | |
function custom_content() { | |
while (have_posts()) : the_post(); ?> | |
<article <?php post_class(); ?>> | |
<?php do_action( 'shoestrap_in_article_top' ); ?> | |
<header> | |
<h1 class="entry-title"><?php the_title(); ?></h1> | |
</header> | |
<div class="entry-content"> |
OlderNewer