This file contains hidden or 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
<div class="icon-button"> | |
<a class="icon-container" href="#"> | |
<i class="fa fa-facebook"></i> | |
</a> | |
</div> |
This file contains hidden or 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
wp core config --dbname=database_name --dbuser=database_user --dbpass=user_password --dbhost=localhost --dbprefix=wp_ |
This file contains hidden or 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
/* Force sticky navigation into position */ | |
#page-header { | |
margin-bottom: 0 !important; | |
} | |
/* Force header image to full height */ | |
#custom-header-media { | |
height: 100vh; | |
max-height: 100%; | |
overflow: hidden; | |
position: relative; |
This file contains hidden or 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
<header id="masthead" class="site-header" role="banner"> | |
<?php if ( has_post_thumbnail() && ( is_single() || ( is_home() || ( is_page() && ! twentyseventeen_is_frontpage() ) ) ) ) : ?> | |
<span class="has-header-image twentyseventeen-front-page home"> | |
<div id="page-header" class="custom-header"> | |
<div id="custom-header-media" class="custom-header-media" > | |
<div id="wp-custom-header" class="wp-custom-header"> | |
<?php if ( is_home() && ! twentyseventeen_is_frontpage() ) { | |
$page_for_posts = get_option( 'page_for_posts' ); | |
echo get_the_post_thumbnail( $page_for_posts ); | |
} else { |
This file contains hidden or 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
<hr> | |
<div class="front-page-sidebar"> | |
<aside id="secondary" class="widget-area" role="complementary"><?php | |
$title = get_the_title(); | |
dynamic_sidebar( $title ); | |
?></aside> | |
</div> |
This file contains hidden or 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 wp_redirect(get_permalink($post->post_parent)) ; ?> |
This file contains hidden or 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
jQuery( "h2.entry-title" ).each( function() { | |
var panelId = jQuery( this ).html().toLowerCase().replace(/\s+/g, "-"); | |
jQuery( this ).wrapInner(function() { | |
return "<span style='padding-top:96px;' id='" + panelId + "'></span>"; | |
}) | |
}) |
NewerOlder