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
# Using permanent redirect | |
Redirect 301 / http://www.newdomain.com/ | |
# redirect ends |
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
/** Register widget areas */ | |
genesis_register_sidebar( array( | |
'id' => 'below-post', | |
'name' => __( 'Below Post', 'genesis' ), | |
'description' => __( 'This is the below post widget.', 'themename' ), | |
) ); |
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 the below post section */ | |
add_action( 'genesis_entry_footer', 'below_post_text' ); | |
function below_post_text() { | |
if ( is_single() ) | |
{ | |
genesis_widget_area( 'below-post', array( | |
'before' => '<div class="below-post widget-area">', | |
) ); | |
}} |
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
<div class="mc-embed-signup" > | |
<form action="http://bitdoz.us7.list-manage.com/subscribe/post?u=46e6cfce0bf832f92f8cb6811&id=72fccd0103" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> | |
<center><div class="mc-field-text-top">Do you get my Freebies?</div></center> | |
<div class="mc-field-group"><input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required> | |
<div class="optinbutton"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div> | |
<div class="mc-field-text" >Subscribe now to receive discounts, special offers and freebies direct to your inbox.</div></div></form> | |
</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
/** MailChimp Custom Style for Horizontal Bar form **/ | |
.mc-embed-signup { | |
float: left; | |
padding: 20px; | |
padding: 2rem; | |
border: 15px solid #e3e3e3; | |
background: #f9f9f9; | |
width: 100%; |
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 the below post section */ | |
add_action( 'genesis_entry_footer', 'below_post_text' ); | |
function below_post_text() { | |
if ( is_page() || is_single() ) | |
{ | |
genesis_widget_area( 'below-post', array( | |
'before' => '<div class="below-post widget-area">', | |
) ); | |
}} |
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 print(urlencode(the_title())); ?> |
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 print(urlencode(get_permalink())); ?> |
OlderNewer