Last active
July 21, 2017 17:35
-
-
Save braddalton/5291718 to your computer and use it in GitHub Desktop.
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
function display_posts_shortcode_home() { | |
if (is_home()) { | |
echo do_shortcode('[display-posts id="14,3"]'); | |
} | |
}; | |
add_action('genesis_after_content', 'display_posts_shortcode_home'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment