• 08-12-2010, 14:32:55
    #1
    Merhaba;

    sitedeki bir yazıya girdikten sonra sayfa başlığını göstermemek istiyorum. Yani makale başlığı "Hizmetlerimiz" ana sayfada veya menüde tıklandıktan sonra yazıya girildiğinde "Hizmetlerimiz" görünmesin istiyorum. ne yapmalıyım.

    Teşekkürler.
  • 08-12-2010, 15:43:21
    #2
    Single.php dosyasında title yani sayfa başlığını kaldırman lazım

    buraya eklersen single.php yi yardımcı olayım
  • 08-12-2010, 15:56:24
    #3
    <?php the_post(); ?>
    
    <?php get_header(); ?>
    	<div id="content">
        	<div class="content_wrap">
                <div class="content_wrap">
                	
                        <div id="breadcrumbs">
                            <?php include(TEMPLATEPATH . '/includes/breadcrumbs.php'); ?>
                        </div>
    				<?php if (get_option('simplepress_integration_single_top') <> '' && get_option('simplepress_integrate_singletop_enable') == 'on') echo(get_option('simplepress_integration_single_top')); ?>	
                        
                        <?php 
    					 $gallery_cat = get_option('simplepress_gallery');
                         if(in_category($gallery_cat) && get_option('simplepress_gallery_enable') == "on") { include(TEMPLATEPATH . '/includes/single_gallery.php'); }
    					else { include(TEMPLATEPATH . '/includes/single_blog.php'); }  ?>
                        
    				<?php if (get_option('simplepress_show_postcomments') == 'on') comments_template('', true); ?>
                    </div><!-- #posts -->  
    				<?php get_sidebar(); ?>
                </div><!-- .content_wrap --> 
            </div><!-- .content_wrap --> 
        </div><!-- #content --> 
    </div><!-- .wrapper --> 
    <?php get_footer(); ?>
  • 08-12-2010, 20:49:26
    #4
    Üyeliği durduruldu
    yada tema dosyasındaki

    includes/single_blog.php
    yada single.php varsa onlarıda ekleyebilirmisin yada msn ekle
    memo@birbakim.com
  • 10-12-2010, 00:58:56
    #5
    ramrodboy adlı üyeden alıntı: mesajı görüntüle
    yada tema dosyasındaki

    includes/single_blog.php
    yada single.php varsa onlarıda ekleyebilirmisin yada msn ekle
    memo@birbakim.com
    single.php içindekiler yukardaki mesajımda zaten. bu kodlarda single_blog.php kodları

    <?php $thumb = '';
    $width = 182;
    $height = 182;
    $classtext = '';
    $titletext = get_the_title();
    $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
    $thumb = $thumbnail["thumb"]; ?>
    <div class="post">
    	<?php if ($thumb <> '' && get_option('simplepress_thumbnails') == 'on') { ?>
    	<div class="thumb">
    		<div>
    			<span class="image" style="background-image: url(<?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext, true, true); ?>);">
    			   <img src="<?php bloginfo('template_directory'); ?>/images/thumb-overlay.png" alt="" />
    			</span>
    		</div>
    		<span class="shadow"></span>
    	</div>
    	<?php }; ?>
    	
    	<div class="text <?php if ($thumb == '' || get_option('simplepress_thumbnails') == 'false') print "no_thumb" ?>">
    		<h2><?php the_title(); ?></h2>
    		<span class="postinfo">
    			<span class="line"></span>
    			<?php include(TEMPLATEPATH . '/includes/postinfo.php'); ?>
    			<span class="line"></span>
    		</span>
    		</div>
    			<?php the_content(''); ?>
    		<br class="clear" />
    		<?php edit_post_link(__('Edit this page','SimplePress')); ?>
    		<?php if (get_option('simplepress_integration_single_bottom') <> '' && get_option('simplepress_integrate_singlebottom_enable') == 'on') echo(get_option('simplepress_integration_single_bottom')); ?>
    		<?php if (get_option('simplepress_468_enable') == 'on') { ?>
    		<?php if(get_option('simplepress_468_adsense') <> '') echo(get_option('simplepress_468_adsense'));
    			else { ?>
    		<a href="<?php echo(get_option('simplepress_468_url')); ?>"><img src="<?php echo(get_option('simplepress_468_image')); ?>" alt="468 ad" class="foursixeight" /></a>
    	<?php } ?>	
    <?php } ?>
    </div><!-- .post -->
  • 10-12-2010, 01:23:24
    #6
    single_blog.php deki

    <h2><?php the_title(); ?></h2> kodunu sil