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 shown above. Copy the code shown below. | |
// Add Widgets to admin dashboard | |
genesis_register_sidebar( array( | |
'id' => 'signup-top', | |
'name' => __( 'Signup Top', 'themename' ), | |
'description' => __( 'This is the top section of signup page.', 'themename' ), | |
) ); | |
genesis_register_sidebar( array( |
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
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 ); // removing the default shortlink | |
add_action( 'wp_head', 'bilty_shortlink_head'); // adding the new bit.ly shortlink | |
function bilty_shortlink_head() { | |
global $post; | |
$shortURL = get_post_meta($post->ID, 'bitlyURL', true); | |
if(!empty($shortURL)) { | |
echo '<link rel="shortlink" href="'.$shortURL.'" />'."\n"; | |
} else { | |
echo '<link rel="shortlink" href="'.get_bloginfo('url').'?p='.$post->ID.'" />'."\n"; |
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 style="text-align:center"> | |
adding on both end of the photo upload | |
</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 | |
echo "Hello World!"; | |
?> |
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
// Make Font Awesome available | |
add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' ); | |
function enqueue_font_awesome() { | |
wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' ); | |
} |
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
<i class="fa fa-check"></i> Google Friendly. | |
<i class="fa fa-cog fa-spin"></i> Make it spin like it's 2003! | |
<i class="fa fa-play"></i> Let it do the talking. |
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="pricing-table"></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
<div class="pricing-table"> | |
<div class="one-third first"> | |
</div> | |
<div class="one-third"> | |
</div> | |
<div class="one-third"> | |
</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
<div class="pricing-table"> | |
<div class="one-third first"> | |
<h4>Product One</h4> | |
<ul> | |
<li>Aewesome Thing</li> | |
<li>Aewesome Thing</li> | |
<li>Aewesome Thing</li> | |
<li>Aewesome Thing</li> | |
</ul> | |
<a class="button">$100</a> |
OlderNewer