Created
October 9, 2017 13:33
-
-
Save stuartduff/0f577ec707b68de39b5659483c94d320 to your computer and use it in GitHub Desktop.
Storefront add text to after featured products area
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
| // Insert text below the Featured Products title | |
| function add_featured_text_example() { | |
| // Echo HTML | |
| echo "<p>These are definitely our best products to consider!</p>"; | |
| } | |
| add_action( 'storefront_homepage_after_featured_products_title' , 'add_featured_text_example' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment