/*------------------------------\* NOTHING TO EDIT HERE \*------------------------------*/ add_theme_support( 'menus' ); add_theme_support( 'post-thumbnails' ); add_filter('use_block_editor_for_post', '__return_false', 10); add_filter( 'big_image_size_threshold', '__return_false' ); // CLEANUP remove_action('wp_print_styles', 'print_emoji_styles' ); //REMOVE UNNECESSARY EMOJI CODE, STEP 1 remove_action('wp_head', 'print_emoji_detection_script', 7 ); //REMOVE UNNECESSARY EMOJI CODE, STEP 2 remove_action('wp_head', 'feed_links', 2); //REMOVE GENERAL FEEDS remove_action('wp_head', 'feed_links_extra', 3); //REMOVE EXTRA FEEDS remove_action('wp_head', 'rsd_link'); //REMOVE RSD LINK remove_action('wp_head', 'wp_generator'); //REMOVE XHTML GENERATOR remove_action('wp_head', 'wlwmanifest_link'); //REMOVE WLW LINK remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0); //REMOVE SHORTLINK remove_action('welcome_panel', 'wp_welcome_panel'); //FIX HANDLING OF UPPERCASE UTF-8 ENCODED HEBREW URLS function urlCaseInsensitivity() { if (preg_match('/[A-Z]/', $_SERVER['REQUEST_URI'])) { $_SERVER['REQUEST_URI'] = strtolower($_SERVER['REQUEST_URI']); $_SERVER['PATH_INFO'] = strtolower($_SERVER['PATH_INFO']); } } add_action('init', 'urlCaseInsensitivity'); /*------------------------------\* CUSTOMIZATION STARTS HERE \*------------------------------*/ //REMOVE TOOLBAR remove_action('init', 'wp_admin_bar_init'); //add custom logo add_theme_support( 'custom-logo' ); //DEFINE A CUSTOM THUMBNAIL SIZE function remove_default_image_sizes( $sizes ) { //unset( $sizes['thumbnail']); unset( $sizes['medium']); unset( $sizes['large']); unset( $sizes['medium_large']); return $sizes; } add_filter('intermediate_image_sizes_advanced', 'remove_default_image_sizes'); add_image_size('70x70', 70, 70, true); add_image_size('size-467x702', 467, 702, true); add_image_size('1200', 1200, '', true); add_image_size('1700x800', 1700, 800, true); function remove_footer_admin () {echo 'Fueled by Studio Costa

';} add_filter('admin_footer_text', 'remove_footer_admin'); add_filter('show_admin_bar', '__return_false'); //ENQUEUE FRONTEND RESOURCES TO if ( $GLOBALS['pagenow'] != 'wp-login.php' && !is_admin() ) { $rand=rand(0,999999999); wp_deregister_script ('jquery' ); wp_register_script( 'jquery', 'https://code.jquery.com/jquery-latest.min.js' , array(), '3.0.0'); // Google CDN jQuery wp_enqueue_script( 'jquery') ; wp_register_script( 'wow', get_template_directory_uri() . '/js/wow.min.js' , array(), '1.0.0'); wp_enqueue_script( 'wow') ; wp_register_script('owl', get_template_directory_uri() . '/js/owl.carousel.min.js', array('jquery'), '1.0.0'); wp_enqueue_script('owl'); wp_register_script('masonry', get_template_directory_uri() . '/js/masonry.pkgd.min.jss', array(), '1.0'); wp_enqueue_script('masonry'); wp_register_script('magnific', get_template_directory_uri() . '/js/magnific-popup.js', array(), '3.0.3'); // Jquery Cycle wp_enqueue_script('magnific'); // Enqueue it! wp_register_script( 'scripts', get_template_directory_uri() . '/js/scripts.js' , array(), '1.0.0'); wp_enqueue_script( 'scripts') ; wp_register_style('magnific', get_template_directory_uri() . '/js/magnific-popup.css', array(), '1.0', 'all'); wp_enqueue_style('magnific'); wp_register_style('owl', get_template_directory_uri() . '/js/owl.carousel.css', array(), '1.0', 'all'); wp_enqueue_style('owl'); wp_register_style('main-style', get_template_directory_uri() . '/style.css', array(), $rand); wp_enqueue_style('main-style'); wp_register_style('animate', get_template_directory_uri() . '/js/animate.css', array(), '1.0'); wp_enqueue_style('animate'); wp_register_style('Miriam Libre','https://fonts.googleapis.com/css?family=Rubik:300,400,700&subset=hebrew', array(), '1.0', 'all'); wp_enqueue_style('Miriam Libre'); } //ENQUEUE BACKEND RESOURCES TO else { wp_register_style('backend-style', get_template_directory_uri() . '/editor-style.css', array(), '1.0.0', 'all'); wp_enqueue_style('backend-style'); } if( function_exists('acf_add_options_page') ) { acf_add_options_page(); } function add_favicon() { $favicon_url = get_template_directory_uri() . '/img/favicons/favicon.ico'; echo ''; } function excerpt($limit) { $excerpt = explode(' ', get_the_excerpt(), $limit); if (count($excerpt) >= $limit) { array_pop($excerpt); $excerpt = implode(" ", $excerpt) . '...'; } else { $excerpt = implode(" ", $excerpt); } $excerpt = preg_replace('`\[[^\]]*\]`', '', $excerpt); return $excerpt; } add_action('login_head', 'add_favicon'); add_action('admin_head', 'add_favicon'); if ( function_exists('register_sidebar') ) register_sidebar(array( 'name' => __( 'Twitter', 'theme' ), 'id' => 'user-widget-area', 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); //** *Enable upload for webp image files.*/ function webp_upload_mimes($existing_mimes) { $existing_mimes['webp'] = 'image/webp'; return $existing_mimes; } add_filter('mime_types', 'webp_upload_mimes'); //** * Enable preview / thumbnail for webp image files.*/ function webp_is_displayable($result, $path) { if ($result === false) { $displayable_image_types = array( IMAGETYPE_WEBP ); $info = @getimagesize( $path ); if (empty($info)) { $result = false; } elseif (!in_array($info[2], $displayable_image_types)) { $result = false; } else { $result = true; } } return $result; } add_filter('file_is_displayable_image', 'webp_is_displayable', 10, 2); לירון ארבל - סטודיו קוסטה
    050-5915806 costa@costa.co.il

    בניית אתר לירון ארבל

    Mission.עיצוב ובניית אתר למפיקת אירועים

    לירון היא מפיקת אירועים מהטובות בארץ. האתר מציג מגוון רחב של סוגי אירועים ותמונות המדגמות את ההשקעה, אהבה ומקוריות לכל אירוע.

    אהבתם את העבודה של סטודיו קוסטה על הפרוייקט של לירון ארבל?

    לחצו לקבלת הצעת מחיר
    VidSwap by Pixellot בלוג קנאביס רפואי עורך דין שי קרביצקי יום פתוח במכללת רופין לירון ארבל energood מטב מאמי ליס מכת צחוק אהבת חינם מופע לאס-וגאס Pixellot Maccabiah RA איי.די.אי שיווק והפצה את מנדרין