• 13-08-2014, 23:18:52
    #10
    MuhendisBeyin adlı üyeden alıntı: mesajı görüntüle
    Şuan başka yerden denedim o da yok dedi hocam ..
    alt etiketi hatalı olduğu için veriyordur o zaman hatayı. alt="Alternatif metin buraya gelecek" şeklinde düzenleyin.
  • 13-08-2014, 23:25:06
    #11
    MuhammedEksi adlı üyeden alıntı: mesajı görüntüle
    //if retina
                       ?>
                       <a itemprop="url" href="<?php echo home_url(); ?>">
                           <img height="100" width="300" class="td-retina-data" data-retina="<?php echo htmlentities($td_customLogoR) ?>" src="<?php echo $td_customLogo?>" alt="<?php echo $td_logo_alt ?>"<?php echo $td_logo_title ?>/>
                       </a>
                       <meta itemprop="name" content="<?php bloginfo('name')?>">
                       <?php
                   } else {
                       //not retina
                       if (!empty($td_customLogo)) {
                           ?>
                           <a itemprop="url" href="<?php echo home_url(); ?>"><img height="100" width="300" src="<?php echo $td_customLogo?>" alt="<?php echo $td_logo_alt ?>"<?php echo $td_logo_title ?>/></a>
                           <meta itemprop="name" content="<?php bloginfo('name')?>">
                           <?php
                       }//if retina
                       ?>
                       <a itemprop="url" href="<?php echo home_url(); ?>">
                           <img  class="td-retina-data" data-retina="<?php echo htmlentities($td_customLogoR) ?>" src="<?php echo $td_customLogo?>" alt="<?php echo $td_logo_alt ?>"<?php echo $td_logo_title ?> height="100" width="300"/>
                       </a>
                       <meta itemprop="name" content="<?php bloginfo('name')?>">
                       <?php
                   } else {
                       //not retina
                       if (!empty($td_customLogo)) {
                           ?>
                           <a itemprop="url" href="<?php echo home_url(); ?>"><img src="<?php echo $td_customLogo?>" alt="<?php echo $td_logo_alt ?>"<?php echo $td_logo_title ?> height="100" width="300" /></a>
                           <meta itemprop="name" content="<?php bloginfo('name')?>">
                           <?php
                       }
    Böyle bir deneyin hocam

    Senin kodları denedim Bembeyaz temiz bir sayfa oldu
  • 13-08-2014, 23:28:57
    #12
    MuhendisBeyin adlı üyeden alıntı: mesajı görüntüle
    Senin kodları denedim Bembeyaz temiz bir sayfa oldu
    Sıfırdan temiz bir başlangıç her zaman iyidir

    Hocam olmadıysa top diğer arkadaşta
  • 13-08-2014, 23:45:23
    #13
    MuhammedEksi adlı üyeden alıntı: mesajı görüntüle
    Sıfırdan temiz bir başlangıç her zaman iyidir

    Hocam olmadıysa top diğer arkadaşta
    Özel mesajla yardımcı olundu.
  • 14-08-2014, 00:09:10
    #14
    @nilbek Bey sorunu çözmüştür. Kendilerine çok teşekkür ederim tekrar buradan.

    Aynı sorun ile karşılaşabilecek arkadaşlar için düzenlenen kodları ekliyorum.

    Masa üstü için :

    <?php
    
    /*  ----------------------------------------------------------------------------
        The default header (graphic logo and ad)
     */
    
    ?>
    
    <!-- graphic logo and ad -->
    <div class="td-header-bg">
        <div class="container td-logo-rec-wrap">
            <div class="row">
                <div class="span4 header-logo-wrap" role="banner" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/Organization">
                    <?php
                    //read the logo + retina logo
                    $td_customLogo = td_util::get_option('tds_logo_upload');
                    $td_customLogoR = td_util::get_option('tds_logo_upload_r');
    
                    $td_logo_text = td_util::get_option('tds_logo_text');
                    $td_tagline_text = td_util::get_option('tds_tagline_text');
    
                    $td_logo_alt = td_util::get_option('tds_logo_alt');
                    $td_logo_title = td_util::get_option('tds_logo_title');
    
                    if (!empty($td_logo_title)) {
                        $td_logo_title = ' title="' . $td_logo_title . '"';
                    }
    
                    if (!empty($td_customLogoR)) {
                        //if retina
                        ?>
                        <a itemprop="url" title="Muhendis Beyinler" href="<?php echo home_url(); ?>">
                            <img height="100" width="300" class="td-retina-data" data-retina="<?php echo htmlentities($td_customLogoR) ?>" src="<?php echo $td_customLogo?>" alt="Muhendis Beyinler" />
                        </a>
                        <meta itemprop="name" content="<?php bloginfo('name')?>">
                        <?php
                    } else {
                        //not retina
                        if (!empty($td_customLogo)) {
                            ?>
                          <a itemprop="url" title="Muhendis Beyinler" href="<?php echo home_url(); ?>"><img height="100" width="300" src="<?php echo $td_customLogo?>" alt="Muhendis Beyinler" /></a>
                            <meta itemprop="name" content="<?php bloginfo('name')?>">
                            <?php
                        }
                    }
    
                    ?>
                </div>
                <div class="span8 td-header-style-1">
                    <?php
                        // show the header ad spot
                        echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'header'));
                    ?>
                </div>
            </div>
        </div>
    </div>
    Birde mobil için :

    <?php
    //read the logo + retina logo
    $td_mobile_customLogo = td_util::get_option('tds_logo_menu_upload');
    $td_mobile_customLogoR = td_util::get_option('tds_logo_menu_upload_r');
    
    $td_logo_alt = td_util::get_option('tds_logo_alt');
    $td_logo_title = td_util::get_option('tds_logo_title');
    
    if (!empty($td_logo_title)) {
        $td_logo_title = ' title="' . $td_logo_title . '"';
    }
    
    if (!empty($td_mobile_customLogoR)) {
        //if retina
        ?>
        <a itemprop="url" title="Muhendis Beyinler" href="<?php echo home_url(); ?>"> 
            <img class="td-retina-data" data-retina="<?php echo htmlentities($td_mobile_customLogoR) ?>" src="<?php echo $td_mobile_customLogo?>" alt="Mühendis Beyinler" />
        </a>
        <meta itemprop="name" content="<?php bloginfo('name')?>">
    <?php
    } else {
        //not retina
        if (!empty($td_mobile_customLogo)) {
            ?>
            <a itemprop="url" title="Muhendis Beyinler" href="<?php echo home_url(); ?>"><img src="<?php echo $td_mobile_customLogo?>" alt="Muhendis Beyinler"/></a>
            <meta itemprop="name" content="<?php bloginfo('name')?>">
        <?php
        }
    }