LeroanZZ adlı üyeden alıntı:
mesajı görüntüle
ikinci single.php sayfasında tekrarlayan içerik.
10
●389
- 30-04-2018, 21:57:36Üyeliği durdurulduben yapmam gerekeni gerçekten anlamadım
single.php şu an bu şekilde:[COLOR=initial]<?php post;[/COLOR] if ( in_category('3') ) { include(TEMPLATEPATH . '/urun.php'); } ?> <?php $options = _WSH()->option(); get_header(); $settings = gardencare_set(gardencare_set(get_post_meta(get_the_ID(), 'bunch_page_meta', true) , 'bunch_page_options') , 0); $meta = _WSH()->get_meta('_bunch_layout_settings'); $meta1 = _WSH()->get_meta('_bunch_header_settings'); $meta2 = _WSH()->get_meta(); _WSH()->page_settings = $meta; if(gardencare_set($_GET, 'layout_style')) $layout = gardencare_set($_GET, 'layout_style'); else $layout = gardencare_set( $meta, 'layout', 'full' ); if( !$layout || $layout == 'full' || gardencare_set($_GET, 'layout_style')=='full' ) $sidebar = ''; else $sidebar = gardencare_set( $meta, 'sidebar', 'blog-sidebar' ); $classes = ( !$layout || $layout == 'full' || gardencare_set($_GET, 'layout_style')=='full' ) ? ' col-lg-12 col-md-12 col-sm-12 col-xs-12 ' : ' col-lg-8 col-md-8 col-sm-12 ' ; /** Update the post views counter */ _WSH()->post_views( true ); $bg = gardencare_set($meta1, 'header_img'); $title = gardencare_set($meta1, 'header_title'); ?> <!-- #page-title --> <section id="breadcrumb-area" <?php if($bg):?>style="background-image:url('<?php echo esc_attr($bg)?>');"<?php endif;?>> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="breadcrumb-title text-center"> <h1><?php if($title) echo balanceTags($title); else wp_title('');?></h1> <?php echo gardencare_get_the_breadcrumb(); ?> </div> <!-- /.page-breadcumb --> </div> </div> </div> </section> <!-- /#page-title --> <!-- #blog-post --> <section id="blog-post" class="single-post has-full-height-background-wrapper"> <div class="container"> <div class="row"> <!-- sidebar area --> <?php if( $layout == 'left' ): ?> <?php if ( is_active_sidebar( $sidebar ) ) { ?> <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12"> <div class="sidebar-widget-items has-full-height-background"> <?php dynamic_sidebar( $sidebar ); ?> </div> </div> <?php } ?> <?php endif; ?> <!-- .blog-content --> <div class="<?php echo esc_attr($classes);?> blog-content"> <?php while( have_posts() ): the_post(); $post_meta = _WSH()->get_meta(); ?> <!-- article --> <article> <div class="blog-img-holder"> <?php the_post_thumbnail('gardencare_sixteen', array('class' => 'img-responsive'));?> <?php if(has_post_thumbnail()):?> <div class="blog-post-date text-center"> <a href="<?php echo esc_url(get_month_link(get_the_date('Y'), get_the_date('m'))); ?>"><?php echo get_the_date('d');?><br> <span><?php echo get_the_date('M');?></span></a> </div> <?php endif;?> </div> <div class="single-bolg-title text-center"> <a class="main-title" href="<?php echo esc_url(get_permalink(get_the_id()));?>"><?php the_title();?></a> </div> <?php the_content();?> <span class="tags"><?php the_tags();?></span> <!-- .shear-area --> <div class="row shear_area"> <div class="col-lg-12"> <div class="shear"> <a href="#"><?php esc_html_e('Paylaş', 'gardencare');?></a> <div class="social_button"> <ul class="psocial shares clearfix"> <li class="facebook"><span class='st_facebook_large hovicon effect-1 sub-a'></span></li> <li class="twitter"><span class="st_twitter_large hovicon effect-1 sub-a"></span></li> <li class="google"><span class="st_googleplus_large hovicon effect-1 sub-a"></span></li> <li class="pinterest"><span class='st_pinterest_large hovicon effect-1 sub-a'></span></li> </ul> <script type="text/javascript">var switchTo5x=true;</script> <script type="text/javascript" src="https://ws.sharethis.com/button/buttons.js"></script> <script type="text/javascript">stLight.options({publisher: "e5f231e9-4404-49b7-bc55-0e8351a047cc", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script> <br/> </div> </div> </div> </div> <!-- /.shear-area --> <?php if($user_description = get_the_author_meta( 'description', get_the_author_meta('ID') )):?> <div class="row"> <div class="col-lg-12"> <!-- .administrator --> <div class="administrator"> <div class="col-lg-3 col-md-3 col-sm-4"> <div class="administrator_img"> <?php echo get_avatar('', 100 ); ?> </div> </div> <div class="col-lg-9 col-md-9 col-sm-8"> <div class="administrator_text"> <h4><?php the_author(); ?></h4> <p><?php echo ' ';the_author_meta( 'description', get_the_author_meta('ID') ); echo '';?></p> </div> </div> </div> <!-- /.administrator --> </div> </div> <?php endif;?> <!-- comment area --> <?php wp_link_pages(array('before'=>'<div class="paginate-links">'.esc_html__('Pages: ', 'gardencare'), 'after' => '</div>', 'link_before'=>'<span>', 'link_after'=>'</span>')); ?> <?php comments_template(); ?><!-- end comments --> </article> <!-- /article --> <?php endwhile;?> </div> <!-- /.blog-content --> <!-- sidebar area --> <?php if( $layout == 'right' ): ?> <?php if ( is_active_sidebar( $sidebar ) ) { ?> <aside class="col-lg-4 col-md-4 col-sm-12 col-xs-12"> <div class="sidebar-widget-items has-full-height-background"> <?php dynamic_sidebar( $sidebar ); ?> </div> </aside> <?php }?> <?php endif; ?> <!-- sidebar area --> </div> </div> </section> <!-- /#blog-post --> <?php get_footer(); ?>
@zego; hocam baya bi vaktini ayırarak sorunu halletti başta kendisine olmak üzere diğer yardım etmeye çalışan arkadaşlara da teşekkür ediyorum.