function homepage_featuredproducts( $atts , $content = null ) {
if( empty( $content ) )
$content="no content to display";
return $content;
}
add_shortcode( 'homepage_featuredproducts', 'homepage_featuredproducts' );
function homepage_featuredproducts( $atts , $content = null ) {
if( empty( $content ) )
$content="no content to display";
return $content;
}
add_shortcode( 'homepage_featuredproducts', 'homepage_featuredproducts' );