• 14-02-2019, 21:35:32
    #1
    Üyeliği durduruldu
    Arkadaşlar bir problemim var çözemiyorum , wordpress de konu içerisine girildiği zaman öne çıkan görselin sağ tarafında yazı gözüküyor. Mobil girişte önce resim görünüyor altında yazılar başlıyor. Ben aynısını masaüstü versiyonunda da yapmak istiyorum ama başaramadım.

    Masaüstü ile de siteye konuya girildiğinde. En üstte ortada resim altında yazı başlasın istiyorum. Bunu nasıl yapabilirim.

    Edit: Çözüldü çok teşekkürler.
  • 14-02-2019, 22:05:22
    #2
    Yapalım hocam çok basit. Detayları giriş bilgisi gibi PM alayım 2dk lık işi var. Ha ben yaparım diyorsan yapman gereken single.php de post-resim div'inin bir üstündeki alignleft div'inin açılışını + kapanışını bulup sil.



    Ha bir de alignleft divinin açılışını ve kapanışını sildikten sonra o açılış yerine <center> kapanış yerine </center> yazmalısın ki resim ortalansın.
  • 14-02-2019, 22:10:26
    #3
    Üyeliği durduruldu
    Onur89TR adlı üyeden alıntı: mesajı görüntüle
    Yapalım hocam çok basit. Detayları giriş bilgisi gibi PM alayım 2dk lık işi var. Ha ben yaparım diyorsan yapman gereken single.php de post-resim div'inin bir üstündeki alignleft div'inin açılışını + kapanışını bulup sil.
    <?php yonlendirme(); get_header();  if (have_posts()) : the_post(); ?>
    <section id="content">
    	<div class="single span7 grid">
    	<h1><?php the_title(); ?></h1>
    	<?php if ( get_option('wpttema_navi_onay') == true) { if (function_exists('wpt_breadcrumbs')) wpt_breadcrumbs();  ?>
    	<div class="yazi-bilgi grid-right span4 fit">
    	<div><i class="fa fa-comments-o"></i> <?php comments_popup_link('yorumsuz', '1 yorum', '% yorum'); ?></div>
    	<div><?php if(function_exists('the_views')) { ?><i class="fa fa-eye"></i> <?php the_views(); } ?></div>
    	</div><div class="clear"></div>
    	<?php } else { echo '<br />'; } ?>
    	<div class="yazi-icerik"><?php if ( wp_is_mobile() ) : $singlebas = get_option('wpttema_singlebasm'); else : $singlebas = get_option('wpttema_singlebas'); endif;
    	echo '<div class="alignleft">'.stripslashes($singlebas); ?>
    	<?php if ( get_option('wpttema_gorsel_onay') == 1) {?><?php wptimage('full', 300, 250, 'alignnone'); ?><?php } echo '</div>'; ?>
    	<?php the_content(); wp_link_pages('before=<div class="nextpage span12"><span>Diğer Sayfa</span>&after=</div>&link_before=<span>&link_after=</span>'); echo '<div class="ayirac"></div>'; get_template_part('paylas');
    	if ( wp_is_mobile() ) : $singleson = get_option('wpttema_singlesonm'); else : $singleson = get_option('wpttema_singleson'); endif;
    	echo '<div class="aligncenter">'.stripslashes($singleson).'</div><br />';
    	?>
    	<span class="etiketler"><?php the_tags( '<i class="fa fa-tags"></i> Etiketler: ', ', ', ''); ?></span><br />
    	<span class="tarih"><i class="fa fa-clock-o"></i> Eklenme Tarihi: <?php the_time('j F Y'); ?></span>
    	<div class="ayirac"></div>
    	<?php edit_post_link( __( '<b>Düzenle</b>', 'wpttema' ) ); ?>
    	<?php if(get_option('wpttema_related_onay') == 1) { get_template_part('benzer'); } ?>
    	</div>
    	<?php comments_template(); ?>
    	</div>
    <?php else : endif; get_sidebar('sol'); get_sidebar('content'); ?>
    </section>
    <?php get_footer(); ?>
    single.php bu şekilde hocam
  • 14-02-2019, 22:13:52
    #4
    <?php yonlendirme(); get_header();  if (have_posts()) : the_post(); ?>
    <section id="content">
       <div class="single span7 grid">
       <h1><?php the_title(); ?></h1>
       <?php if ( get_option('wpttema_navi_onay') == true) { if (function_exists('wpt_breadcrumbs')) wpt_breadcrumbs();  ?>
       <div class="yazi-bilgi grid-right span4 fit">
       <div><i class="fa fa-comments-o"></i> <?php comments_popup_link('yorumsuz', '1 yorum', '% yorum'); ?></div>
       <div><?php if(function_exists('the_views')) { ?><i class="fa fa-eye"></i> <?php the_views(); } ?></div>
       </div><div class="clear"></div>
       <?php } else { echo '<br />'; } ?>
       <div class="yazi-icerik"><?php if ( wp_is_mobile() ) : $singlebas = get_option('wpttema_singlebasm'); else : $singlebas = get_option('wpttema_singlebas'); endif;
       echo '<center>'.stripslashes($singlebas); ?>
       <?php if ( get_option('wpttema_gorsel_onay') == 1) {?><?php wptimage('full', 300, 250, 'alignnone'); ?><?php } echo '</center><div style="clear:both"></div>'; ?>
       <?php the_content(); wp_link_pages('before=<div class="nextpage span12"><span>Diğer Sayfa</span>&after=</div>&link_before=<span>&link_after=</span>'); echo '<div class="ayirac"></div>'; get_template_part('paylas');
       if ( wp_is_mobile() ) : $singleson = get_option('wpttema_singlesonm'); else : $singleson = get_option('wpttema_singleson'); endif;
       echo '<div class="aligncenter">'.stripslashes($singleson).'</div><br />';
       ?>
       <span class="etiketler"><?php the_tags( '<i class="fa fa-tags"></i> Etiketler: ', ', ', ''); ?></span><br />
       <span class="tarih"><i class="fa fa-clock-o"></i> Eklenme Tarihi: <?php the_time('j F Y'); ?></span>
       <div class="ayirac"></div>
       <?php edit_post_link( __( '<b>Düzenle</b>', 'wpttema' ) ); ?>
       <?php if(get_option('wpttema_related_onay') == 1) { get_template_part('benzer'); } ?>
       </div>
       <?php comments_template(); ?>
       </div>
    <?php else : endif; get_sidebar('sol'); get_sidebar('content'); ?>
    </section>
    <?php get_footer(); ?>
  • 14-02-2019, 22:17:55
    #5
    Üyeliği durduruldu
    hay Allah senden razı olsun ya. Çok sağol çok teşekkürler.