Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save FinalDestiny/119a6453573fb0d188f3e066c0f04105 to your computer and use it in GitHub Desktop.
Save FinalDestiny/119a6453573fb0d188f3e066c0f04105 to your computer and use it in GitHub Desktop.
function fwportfolio_module_setup() {
get_template_part( 'modules/FullwidthPortfolio' ); remove_shortcode( 'et_pb_fullwidth_portfolio' );
add_shortcode( 'et_pb_fullwidth_portfolio', array( new Cu_ET_Builder_Module_Fullwidth_Portfolio(), '_shortcode_callback' ) );
}
add_action( 'et_builder_ready', 'fwportfolio_module_setup' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment