• 16-12-2010, 15:33:03
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    MErhaba Arkadaşlar
    Yabancı içerikli bir Wordpress sitemde otomatik article ekleyen bir bot kullanıyorum. Velakin bazı zamanlar makalelerin içinde açılmış ama kapatılmamış veyahut yanlış yazılmış div tagları da çıktığı için temada sidebar kısmı otomatik olarak kayıyor.

    Temanın konulara eklenen div taglarını görmemesini yada kodlama olarak algılamaması için ne yapmam gerekiyor.

    ÖRneğin:


    Yardımlarınızı bekliyorum.
  • 16-12-2010, 19:34:24
    #2
    bot taki divleri takip ettiniz mi Kactane Acılmış ve kaptılmış tabi encode li deil ise
  • 26-12-2010, 23:56:32
    #3
    üstat bot encodeli değil, isterseniz vereyim ama sorunu tema üzerinden çözemiyormuyuz?
    Temaya ekleyebileceğimiz bir kod yokmu bununiçin acaba?
  • 27-12-2010, 00:00:37
    #4
    Temanın single.php dosyasının kodlarını verin yardımcı olalım.
  • 27-12-2010, 00:06:05
    #5
    ForsBey adlı üyeden alıntı: mesajı görüntüle
    Temanın single.php dosyasının kodlarını verin yardımcı olalım.
    Üstat kodlar aşağıdadır.
    <?php get_header(); ?>
    	<div id="innerLeft">	
    		<div class="post">
    			<?php 
    			if (have_posts()) : while (have_posts()) : the_post(); 
    			$do_not_duplicate = $post->ID;
    			?>
    			
    			<div class="metasingle">
    				<span class="postDate"><?php the_time($trns_options["dateFormatS"]) ?></span> | <span class="postAuthor"><?php _e('Posted by','Transcript'); ?> <?php the_author_posts_link(); ?></span> <?php edit_post_link('Edit',' | ',''); ?>
    			</div><!-- /metas -->
    			
    			<h1 class="singlePageTitle"><?php the_title(); ?></h1>
    			
    			<?php edit_post_link(__('Edit This Post','Transcript'),'<p>','</p>'); ?>
    
    			<?php 
    				the_content();
    				wp_link_pages('before=<p>&after=</p>&next_or_number=number&pagelink= %');
    				if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('PostWidget') ) :
    				endif;
    			?>
    			
    			<?php if($trns_options['enshorturl'] == 1) { ?>
    				<p><small><strong><?php _e('Short URL','Transcript'); ?></strong>: <?php echo get_bloginfo('url')."/?p=".$post->ID; ?></small></p>
    			<?php } ?>
    			
    			<div class="clear"></div>
    
    			<?php edit_post_link(__('Edit This Post','Transcript'),'<p>','</p>'); ?>
    
    			<?php if($trns_options['enpostmeta'] == 1)  { ?>
    				<div id="entryMeta">
    					<?php echo get_avatar( get_the_author_email(), '39' ); ?>
    					<?php _e('Posted by','Transcript'); ?>  <?php the_author_posts_link(); ?> 
    					<?php /* This is commented, because it requires a little adjusting sometimes.
    						You'll need to download this plugin, and follow the instructions:
    						http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    						/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    					<?php _e('on','Transcript'); ?> <?php the_time($trns_options["dateFormat"]); ?>. <?php _e('Filed under','Transcript'); ?> <?php the_category(', ') ?>.
    					<?php _e('You can follow any responses to this entry through the','Transcript'); ?> <?php comments_rss_link('RSS 2.0'); ?>.
    					<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    						// Both Comments and Pings are open ?>
    					<?php _e('You can leave a response or trackback to this entry','Transcript'); ?>
    					<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    						// Only Pings are Open ?>
    					<?php _e('Responses are currently closed, but you can trackback from your own site.','Transcript'); ?>
    					<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    						// Comments are open, Pings are not ?>
    					<?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.','Transcript'); ?>
    					<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    						// Neither Comments, nor Pings are open ?>
    					<?php _e('Both comments and pings are currently closed.','Transcript'); ?>
    					<?php } ?>	
    					<div class="clear"></div>	
    				</div>
    			<?php } ?>
    		
    			<?php endwhile; else : endif; ?>
    		</div><!-- /post -->
    		<div id="postcomments">
    		<?php comments_template(); ?>
    		</div>
    	</div><!-- /innerLeft -->
    	
    	<?php include (TEMPLATEPATH . '/innerNarrowSidebar.php'); ?>
    
    	<?php include (TEMPLATEPATH . '/innerWideSidebar.php'); ?>
    
    	<div class="clear"></div>
    
    </div><!-- enf od wrapper -->
    
    <?php get_footer(); ?>
    
    </body>
    </html>
  • 27-12-2010, 00:15:54
    #6
    <?php get_header(); ?>
    	<div id="innerLeft">	
    		<div class="post">
    			<?php 
    			if (have_posts()) : while (have_posts()) : the_post(); 
    			$do_not_duplicate = $post->ID;
    			?>
    			
    			<div class="metasingle">
    				<span class="postDate"><?php the_time($trns_options["dateFormatS"]) ?></span> | <span class="postAuthor"><?php _e('Posted by','Transcript'); ?> <?php the_author_posts_link(); ?></span> <?php edit_post_link('Edit',' | ',''); ?>
    			</div><!-- /metas -->
    			
    			<h1 class="singlePageTitle"><?php the_title(); ?></h1>
    			
    			<?php edit_post_link(__('Edit This Post','Transcript'),'<p>','</p>'); ?>
    
    			<?php 
    				the_content();
    				wp_link_pages('before=<p>&after=</p>&next_or_number=number&pagelink= %');
    				if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('PostWidget') ) :
    				endif;
    			?>
    			
    			<?php if($trns_options['enshorturl'] == 1) { ?>
    				<p><small><strong><?php _e('Short URL','Transcript'); ?></strong>: <?php echo get_bloginfo('url')."/?p=".$post->ID; ?></small></p>
    			<?php } ?>
    			
    			<div class="clear"></div>
    
    			<?php edit_post_link(__('Edit This Post','Transcript'),'<p>','</p>'); ?>
    
    			<?php if($trns_options['enpostmeta'] == 1)  { ?>
    				<div id="entryMeta">
    					<?php echo get_avatar( get_the_author_email(), '39' ); ?>
    					<?php _e('Posted by','Transcript'); ?>  <?php the_author_posts_link(); ?> 
    					<?php /* This is commented, because it requires a little adjusting sometimes.
    						You'll need to download this plugin, and follow the instructions:
    						http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    						/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    					<?php _e('on','Transcript'); ?> <?php the_time($trns_options["dateFormat"]); ?>. <?php _e('Filed under','Transcript'); ?> <?php the_category(', ') ?>.
    					<?php _e('You can follow any responses to this entry through the','Transcript'); ?> <?php comments_rss_link('RSS 2.0'); ?>.
    					<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    						// Both Comments and Pings are open ?>
    					<?php _e('You can leave a response or trackback to this entry','Transcript'); ?>
    					<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    						// Only Pings are Open ?>
    					<?php _e('Responses are currently closed, but you can trackback from your own site.','Transcript'); ?>
    					<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    						// Comments are open, Pings are not ?>
    					<?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.','Transcript'); ?>
    					<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    						// Neither Comments, nor Pings are open ?>
    					<?php _e('Both comments and pings are currently closed.','Transcript'); ?>
    					<?php } ?>	
    					<div class="clear"></div>	
    				</div>
    			<?php } ?>
    		
    			<?php endwhile; else : endif; ?>
    		</div><!-- /post -->
    		<div id="postcomments">
    		<?php comments_template(); ?>
    		
    	</div><!-- /innerLeft -->
    	
    	<?php include (TEMPLATEPATH . '/innerNarrowSidebar.php'); ?>
    
    	<?php include (TEMPLATEPATH . '/innerWideSidebar.php'); ?>
    
    	<div class="clear"></div>
    
    </div><!-- enf od wrapper --></div>
    
    <?php get_footer(); ?>
    
    </body>
    </html>

    Bu şekilde dener misin bir de
  • 27-12-2010, 00:28:06
    #7
    üstat sorun değişmedi
    bu kısımdan görebilirsin

    http://www.dailynew.org/lake-hefner.html