Last active
December 26, 2015 13:29
-
-
Save barryhughes/7158484 to your computer and use it in GitHub Desktop.
Fix for WP 3.7 / Shopp 1.2.9 storefront compatibility issue. The opening <?php tag is purely for nice Gist formatting, it won't generally be needed if this is dropped into an existing functions.php file
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
<?php | |
add_action('shopp_storefront_init', 'shopp_storefront_wp37_compat'); | |
function shopp_storefront_wp37_compat() { | |
add_filter('archive_template', array(ShoppStorefront(), 'pages')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment