• 09-02-2016, 22:13:54
    #1
    iyi akşamlar arkadaşlar,
    internet sitemin wp momento temamın header kısmında böyle bir yazı çıkıyor devamlı çok aradım bulamadım Error. Page cannot be displayed. Please contact your service provider for more details. (13) header.php dosyamın kodları aşağıdaki gibidir. yardımcı olacak arkadaşlara şimdiden teşekkürü bir borç bilirim.

    <?php
    /**
     * The Header for our theme.
     *
     * @package WordPress
     * @subpackage YIW Themes
     * @since 1.0
     */             
     global $yiw_mobile;
    ?><!DOCTYPE html>
    <!--[if IE 6]>
    <html id="ie6" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 7]>
    <html id="ie7" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 8]>
    <html id="ie8" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
    <html <?php language_attributes(); ?>>
    <!--<![endif]-->
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <?php if ( ! $yiw_mobile->isIpad() ) : ?>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <?php endif ?>
    <title><?php
        /*
         * Print the <title> tag based on what is being viewed.
         */
        global $page, $paged;
    
        wp_title( '|', true, 'right' );
        
        $website_name = get_bloginfo('name');
        $website_title = str_replace( array( '[', ']'), '', $website_name );
        
        echo $website_title;
        
        // Add description, if is home
        if ( is_home() || is_front_page() );
    
        // Add a page number if necessary:
        if ( $paged >= 2 || $page >= 2 )
            echo ' | ' . sprintf( __( 'Page %s', 'yiw' ), max( $paged, $page ) );
    
        ?></title>          
    
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri()."/css/reset.css"; ?>" />
        <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
        <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />                              
    	
        <?php if ( yiw_get_option( 'responsive', 1 ) ) : ?>
    	<link rel="stylesheet" type="text/css" media="screen and (max-width: 960px)" href="<?php echo get_template_directory_uri(); ?>/css/lessthen960.css" />
    	<link rel="stylesheet" type="text/css" media="screen and (max-width: 600px)" href="<?php echo get_template_directory_uri(); ?>/css/lessthen600.css" />
    	<link rel="stylesheet" type="text/css" media="screen and (max-width: 480px)" href="<?php echo get_template_directory_uri(); ?>/css/lessthen480.css" />
        <?php endif; ?>
        
        <?php
            // styles 
            wp_enqueue_style( 'memento',                 get_template_directory_uri().'/memento.css' );
            wp_enqueue_style( 'prettyPhoto',             get_template_directory_uri()."/css/prettyPhoto.css" );  
            wp_enqueue_style( 'tipsy',                   get_template_directory_uri()."/core/includes/css/tipsy.css" );
            wp_enqueue_style( 't-bootstrap-buttons' );
            wp_enqueue_style( 't-bootstrap-labels' );
            wp_enqueue_style( 't-bootstrap-wells' );
            wp_enqueue_style( 'font-awesome' );                                 
            wp_enqueue_style( 'socialico-font',          get_template_directory_uri()."/fonts/socialico/stylesheet.css" );
            //wp_enqueue_style( 'buttons',                 get_template_directory_uri()."/css/buttons.css" );
    
            // scripts    
            wp_enqueue_script( 'jquery-cycle' );    
            wp_enqueue_script( 'jquery-easing',                 get_template_directory_uri()."/js/jquery.easing.1.3.js", array('jquery'), "1.3");
            wp_enqueue_script( 'jquery-prettyPhoto',            get_template_directory_uri()."/js/jquery.prettyPhoto.js", array('jquery'), "3.0");
            wp_enqueue_script( 'jquery-tipsy',                  get_template_directory_uri()."/js/jquery.tipsy.js", array('jquery'));  
            wp_enqueue_script( 'jquery-tweetable',              get_template_directory_uri()."/js/jquery.tweetable.js", array('jquery'));           
            wp_enqueue_script( 'jquery-nivo',                   get_template_directory_uri()."/js/jquery.nivo.slider.pack.js", array('jquery') ); 
            wp_enqueue_script( 'jquery-color',                  get_template_directory_uri()."/js/jquery.color.js", array('jquery') );
            wp_enqueue_script( 'superfish',                     get_template_directory_uri()."/js/superfish.js" ); 
            wp_enqueue_script( 't-bootstrap-buttons' );
            
            if( yiw_get_option( 'topbar_content' ) == 'twitter' ) {
                wp_enqueue_script( 'jquery-flexislider',        get_template_directory_uri()."/js/jquery.flexslider.min.js" );
            }  
            
            $slider_type = yiw_slider_type();    
    
            if( !in_array( $slider_type, array('none','fixed-image')) ) {
    
                    if( !in_array( $slider_type, array('layers', 'carousel', 'flash')) )
                        wp_enqueue_style( 'slider-' . $slider_type,        get_template_directory_uri()."/css/slider-". $slider_type .".css" );  
    	    
    		// elastic
    		if ( $slider_type == 'elastic' ) {                                                                                       
                        wp_enqueue_style( 'Playfair', 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Playfair+Display:400italic' ); 
                        wp_enqueue_script( 'jquery-elastic', get_template_directory_uri()."/js/jquery.eislideshow.js", array('jquery'), '1.0' );   
                    }
                        
                    // flash
    		elseif ( $slider_type == 'flash' ){
                        wp_enqueue_script( 'swfobject' );
                    }
                    
                    // thumbnails
                    elseif ( $slider_type == 'thumbnails' ){
                        wp_enqueue_script( 'jquery-aw-showcases', get_template_directory_uri()."/js/jquery.aw-showcase.js" );
                    }
                    
                    // nivo
    		elseif ( $slider_type == 'nivo' ){
                        wp_enqueue_script( 'jquery-nivo' );
                    }
                }                             
    		
    		/*$accordion_slider = get_post_meta( $post->ID, '_slider_accordion', true );     
    		if( ! empty( $accordion_slider ) && $accordion_slider != 'no' )
    		    wp_enqueue_script( 'jquery-hrzAccordion', get_template_directory_uri()."/js/jquery.hrzAccordion.js" );*/
    
    
            // custom
            wp_enqueue_script( 'jquery-custom',      get_template_directory_uri()."/js/jquery.custom.js", array('jquery'), '1.0', true); 
                                                                                    
            if( yiw_get_option( 'font_type' ) == 'cufon' )
            {                      
                wp_enqueue_script('cufon');
                //wp_enqueue_script('cufon-' . $actual_font, get_template_directory_uri()."/fonts/{$actual_font}.font.js");   
            }    
                               
            /* We add some JavaScript to pages with the comment form
             * to support sites with threaded comments (when in use).
             */
            if ( is_singular() && get_option( 'thread_comments' ) )
                wp_enqueue_script( 'comment-reply' );        
                                                                    
            $body_class = '';
            if ( ( yiw_get_option( 'responsive', 1 ) && ! $GLOBALS['is_IE'] ) || ( yiw_get_option( 'responsive', 1 ) && yiw_ieversion() >= 9 ) )   
                $body_class .= ' responsive'; 
    
            
            $src = get_post_meta( get_the_ID(), '_map_url', true );
            if (get_post_meta( get_the_ID(), '_show_map', true ) == 'yes' && !empty( $src )){
                wp_localize_script( 'jquery-custom', 'header_map', array(
                    'tab_open'  => __( 'Open map', 'yiw' ),
                    'tab_close' => __( 'Close map', 'yiw' ),
                    )
                );
            }
                 
        ?>
    
    
        <!-- [favicon] begin -->
        <link rel="shortcut icon" type="image/x-icon" href="<?php yiw_favicon(); ?>" />
        <link rel="icon" type="image/x-icon" href="<?php yiw_favicon(); ?>" />
        <!-- [favicon] end --> 
    
        <?php wp_head() ?>
    </head>
    
    <body <?php body_class( "no_js" . $body_class ) ?>>                            
        <!-- TOPBAR -->
        
        <!-- END TOPBAR -->
            
        <!-- START WRAPPER -->
        <div class="wrapper group">        
            <!-- START HEADER -->
            <div id="header" class="group">                
                <div class="group inner">
                    <!-- START LOGO -->
                    <div id="logo" class="group">
                        <?php if( yiw_get_option( 'use_logo' ) ): ?>
                            <a href="<?php echo home_url() ?>" title="<?php bloginfo('name') ?>"> 
                                <?php $logo = yiw_get_option( 'logo' ) ? yiw_get_option( 'logo' ) : get_template_directory_uri() . '/images/logo.png'; ?>
                                <img src="<?php echo $logo  ?>" alt="Logo <?php bloginfo('name') ?>" <?php if(yiw_get_option('logo_width')): ?>width="<?php echo yiw_get_option('logo_width') ?>"<?php endif ?> <?php if(yiw_get_option('logo_height')): ?>height="<?php echo yiw_get_option('logo_height') ?>"<?php endif ?> />
                            </a>
                        <?php else: ?>
                            <h1>
                                <?php
                                $website_text = str_replace( array( '[', ']'), array( '<span>', '</span>'), $website_name );
                                
                                echo '<a class="logo-text" href="', home_url(), '" title="', $website_title, '">', $website_text, '</a>';
                                ?>
                            </h1>
                        <?php endif ?>
                        <?php if ( yiw_get_option('logo_use_description') ) : ?><p><?php bloginfo('description') ?></p><?php endif ?>
                    </div>
                    <!-- END LOGO -->  
                <!-- START LANGUAGE -->
    				
    				<div id="languages" class="group">
    					<span style="font-weight:bold; color:#fff;">Diller</span><br/>
    					<a href="http://www.ozmermakina.com" class="trlang">- Türkçe</a><br/>
    					<a href="http://www.ozmermakina.com/en" class="enlang">- English</a><br/>
    					<a href="http://www.ozmermakina.com/ar" class="enlang">- العربية</a><br/>
    				</div>
    				
    				<!-- END LANGUAGE -->
                    <!-- START NAV -->
                    <div id="nav" class="group">
                        <?php  
                            $nav_args = array(
                                'theme_location' => 'nav',
                                'container' => 'none',
                                'menu_class' => 'level-1',
                                'depth' => 3,   
                                'fallback_fb' => false
                            );
                            
                            wp_nav_menu( $nav_args ); 
                        ?>
                    </div>
                    
                    <!-- END NAV -->     
    				
    				
                </div>
            </div>   
            <!-- END HEADER -->
            
            <!-- SLIDER -->
            <?php get_template_part( 'slider' ); ?>
            <!-- /SLIDER -->
            
            <!-- PAGE META -->
            <?php get_template_part( 'page-meta' ); ?> 
            <!-- /PAGE META -->
    		    
            <!-- MAP -->
            <?php get_template_part( 'map' ); ?> 
            <!-- /MAP -->
  • 10-02-2016, 23:32:17
    #2
    detaylı incelemem için skype adresinizi gönderiniz. veya site bilgilerinizi detaylı bir şekilde tarafıma iletirseniz sorunu hallederim.