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
<p class="message green">This is an example of custom message, which is easy to implement and can be used to put emphasis on a particular thought or sentiment. <a href="#">Click here for more</a>.</p> | |
<p class="message orange">This is an example of custom message, which is easy to implement and can be used to put emphasis on a particular thought or sentiment. <a href="#">Click here for more</a>.</p> | |
<p class="message red">This is an example of custom message, which is easy to implement and can be used to put emphasis on a particular thought or sentiment. <a href="#">Click here for more</a>.</p> |
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
/* Entry Messages | |
--------------------------------------------- */ | |
.message { | |
padding: 25px 30px; | |
} | |
.message, | |
.message a { | |
color: #fff; |
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 newsletter signup box after 6th entry. | |
add_action( 'genesis_after_entry', 'theme_newsletter_widget_area' ); | |
function theme_newsletter_widget_area() { | |
global $wp_query; | |
$counter = $wp_query->current_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
<?php | |
// Do NOT include the opening php tag. | |
// Register Newsletter widget area. | |
genesis_register_sidebar( array( | |
'id' => 'newsletter', | |
'name' => __( 'Newsletter', 'theme-name' ), | |
'description' => __( 'This is the newsletter widget area.', 'theme-name' ), | |
) ); |
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
<p>Handcrafted with <span class="dashicons dashicons-heart"></span> by moi. Powered by the <a href="https://www.studiopress.com/">Genesis Framework</a>. <a href="http://briangardner.com/contact/">Get in Touch</a>.</p> |
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 | |
// Do NOT include the opening php tag. | |
// Remove site footer. | |
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 ); | |
remove_action( 'genesis_footer', 'genesis_do_footer' ); | |
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 ); | |
// Customize site footer | |
add_action( 'genesis_footer', 'sp_custom_footer' ); |
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
/* Newsletter | |
---------------------------------------------------------------------------------------------------- */ | |
.newsletter .arrow-down { | |
border-left: 20px solid transparent; | |
border-right: 20px solid transparent; | |
border-top: 20px solid #fff; | |
height: 0; | |
margin-left: auto; | |
margin-right: auto; |
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 | |
// Do NOT include the opening php tag. | |
// Add newsletter widget area before footer. | |
add_action( 'genesis_before_footer', 'sp_newsletter_widget' ); | |
function sp_newsletter_widget() { | |
genesis_widget_area( 'newsletter', array( | |
'before' => '<div class="newsletter"><div class="arrow-down"></div><div class="wrap">', | |
'after' => '</div></div></div>', |
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 | |
// Do NOT include the opening php tag. | |
// Register Newsletter widget area. | |
genesis_register_sidebar( array( | |
'id' => 'newsletter', | |
'name' => __( 'Newsletter', 'theme-name' ), | |
'description' => __( 'This is the newsletter widget area.', 'theme-name' ), | |
) ); |
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
.attendee { | |
display: block; | |
float: left; | |
height: 25%; | |
padding: 20px; | |
position: relative; | |
width: 25%; | |
} | |
.attendee-name { |
NewerOlder