Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Enabling Genesis SEO Metabox on Shopp Products - http://clifgriffin.com/enabling-genesis-seo-metabox-on-shopp-products
<?php // skip this line, son
// Add Genesis Support to shopp_product Post Type
add_filter('shopp_product_supports', 'add_shopp_product_genesis_seo');
function add_shopp_product_genesis_seo ( $supports ) {
$supports[] = 'genesis-seo';
return $supports;
}
// Load Genesis Admin Script on Product Pages
if ( $_GET['page'] == "shopp-products" && isset($_GET['id']) ) {
add_action( 'admin_enqueue_scripts', 'genesis_load_admin_js' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment