Forked from stuartduff/sf-add-text-after-featured-products
Created
January 5, 2018 17:23
-
-
Save lukecav/dd2a182d5873560a1d4a6f452f37ca34 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