Created
June 14, 2021 14:36
-
-
Save tdmrhn/c56040a0ce1bfadec4123d57b68c3894 to your computer and use it in GitHub Desktop.
Blocksy add selected posts to Blog Archive
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
add_action('blocksy:hero:after', 'blocksy_featured_posts', 10); | |
function blocksy_featured_posts(){ | |
if ( is_home() ) { | |
echo do_shortcode ("[blocksy_posts post_ids=10,25,48 limit=3 has_pagination=no]"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment