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
W3sicHJvcGVydGllcyI6eyJ0aXRsZSI6IlNsaWRlciAxIiwid2lkdGgiOiIxMTQwIiwiaGVpZ2h0IjoiNDAwIiwicmVzcG9uc2l2ZSI6Im9uIiwicmVzcG9uc2l2ZXVuZGVyIjoiMCIsInN1YmxheWVyY29udGFpbmVyIjoiMCIsImF1dG9zdGFydCI6Im9uIiwicGF1c2VvbmhvdmVyIjoib24iLCJmaXJzdGxheWVyIjoiMSIsImFuaW1hdGVmaXJzdGxheWVyIjoib24iLCJ0d293YXlzbGlkZXNob3ciOiJvbiIsImxvb3BzIjoiMCIsImZvcmNlbG9vcG51bSI6Im9uIiwiYXV0b3BsYXl2aWRlb3MiOiJvbiIsImF1dG9wYXVzZXNsaWRlc2hvdyI6ImF1dG8iLCJ5b3V0dWJlcHJldmlldyI6Im1heHJlc2RlZmF1bHQuanBnIiwia2V5Ym5hdiI6Im9uIiwidG91Y2huYXYiOiJvbiIsInNraW4iOiJmdWxsd2lkdGgiLCJiYWNrZ3JvdW5kY29sb3IiOiJ0cmFuc3BhcmVudCIsImJhY2tncm91bmRpbWFnZSI6IiIsInNsaWRlcnN0eWxlIjoiIiwibmF2cHJldm5leHQiOiJvbiIsIm5hdnN0YXJ0c3RvcCI6Im9uIiwibmF2YnV0dG9ucyI6Im9uIiwiaG92ZXJwcmV2bmV4dCI6Im9uIiwiaG92ZXJib3R0b21uYXYiOiJvbiIsImNpcmNsZXRpbWVyIjoib24iLCJ0aHVtYl9uYXYiOiJkaXNhYmxlZCIsInRodW1iX3dpZHRoIjoiMTAwIiwidGh1bWJfaGVpZ2h0IjoiNjAiLCJ0aHVtYl9jb250YWluZXJfd2lkdGgiOiI2MCUiLCJ0aHVtYl9hY3RpdmVfb3BhY2l0eSI6IjM1IiwidGh1bWJfaW5hY3RpdmVfb3BhY2l0eSI6IjEwMCIsImltZ3ByZWxvYWQiOiJvbiIsInlvdXJsb2dv |
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 Featured Image for the Portfolio posts in this Page Template | |
add_action('genesis_before_post_content', 'legacy_portfolio_do_post_image'); | |
function legacy_portfolio_do_post_image() { | |
$img = genesis_get_image( array( 'format' => 'html', 'size' => 'portfolio-thumbnail', 'attr' => array( 'class' => 'alignnone post-image' ) ) ); | |
printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute('echo=0'), $img ); | |
} |
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 Featured Image for the Portfolio posts in this Page Template | |
add_action('genesis_before_post_content', 'legacy_portfolio_do_post_image'); | |
function legacy_portfolio_do_post_image() { | |
$img = genesis_get_image( array( 'format' => 'html', 'size' => 'portfolio-thumbnail', 'attr' => array( 'class' => 'alignnone post-image' ) ) ); | |
printf( '<a href="%s" rel="prettyPhoto[gallery1]" title="%s">%s</a>', genesis_get_image( array( 'format' => 'url', 'size' => 'Portfolio Full', 'attr' => array( 'class' => 'alignnone post-image' ) ) ), the_title_attribute('echo=0'), $img ); |
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
<span class="circle alignleft">1</span> | |
<span class="circle alignleft">2</span> | |
<span class="circle alignleft">3</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
<img class="alignleft" src="link_to_your_image.jpg" alt="image title"> | |
<h4>9 Theme Colors to choose from!</h4> | |
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip. |
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
<img src="link_to_your_image_goes_here.jpg" alt="image title"> | |
<h4>Mobile Responsive Design</h4> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</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
<div class="quote">“Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.”<strong> – Wes Straham</strong><p></p> | |
</div> | |
<div class="quote-arrow"></div> | |
<div class="quote-gray">“Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.”<strong> – Wes Straham</strong><p></p> | |
</div> | |
<div class="quote-arrow-gray"></div> | |
<div class="quote-black">“Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.”<strong> – Wes Straham</strong><p></p> | |
</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
/** | |
* Adds Featured Image and links it to the Post | |
* | |
* @author Wes Straham | |
* @since 1.0.0 | |
*/ | |
add_action( 'genesis_before_post_content', 'epik_portfolio_do_post_image' ); | |
function epik_portfolio_do_post_image() { | |
$img = genesis_get_image( array( | |
'format' => 'html', |
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 "Read More" link | |
add_filter( 'excerpt_more', 'custom_read_more_link' ); | |
add_filter( 'get_the_content_more_link', 'custom_read_more_link' ); | |
add_filter( 'the_content_more_link', 'custom_read_more_link' ); | |
function custom_read_more_link() { | |
return '... <a class="more-link" href="' . get_permalink() . '" rel="nofollow">Read More</a>'; | |
} |