ate-tags.php' ); /** * Template hooks. */ require get_parent_theme_file_path( 'inc/template-hooks.php' ); /** * WooCommerce template functions and hooks. */ if ( class_exists( 'WooCommerce', false ) ) { require get_parent_theme_file_path( 'inc/wc-template-functions.php' ); } /** * Breadcrumb Generator. */ require get_parent_theme_file_path( 'inc/class-tripp-breadcrumb-generator.php' ); /** * Theme Customizer. */ require get_parent_theme_file_path( 'inc/customizer/customizer.php' ); /** * TGM Plugin Activation */ require get_parent_theme_file_path( 'inc/vendor/class-tgm-plugin-activation.php' ); /** * Registers the recommended plugins for this theme. */ function tripp_register_plugins() { // Recommended plugins. $plugins = array( array( 'name' => esc_html__( 'Flextension', 'tripp' ), 'slug' => 'flextension', 'version' => '1.3.2', 'source' => 'https://wydethemes.com/plugins/flextension/flextension.1.3.2.zip', ), array( 'name' => esc_html__( 'Tripp XT', 'tripp' ), 'slug' => 'tripp-xt', 'version' => '1.1.2', 'source' => 'https://wydethemes.com/plugins/tripp-xt/tripp-xt.1.1.2.zip', ), ); /** * Filters the recommended plugins for the theme. * * @param array $plugins An array list of the recommended plugins. */ $plugins = apply_filters( 'tripp_plugins', $plugins ); // Configuration settings. $config = array( 'id' => 'tripp-1.3.0', 'menu' => 'install-plugins', 'strings' => array( 'page_title' => esc_html__( 'Install Plugins', 'tripp' ), ), ); tgmpa( $plugins, $config ); } add_action( 'tgmpa_register', 'tripp_register_plugins' ); /** * Note: Do not add any custom code here. Please use a Child theme or a custom plugin so that your customizations aren't lost during updates. * https://developer.wordpress.org/themes/advanced-topics/child-themes/ */