Wordpress Etiket ? - R10.net
0
Giriş Yap
Kayıt Ol
Wordpress Etiket ?
8
●
500
R10.net
WordPress Genel
WordPress
Wordpress Etiket ?
04-09-2010, 15:38:00
#1
Fee
Üyeliği durduruldu
Merhaba.
Biliyorsunuz ki wordpresste etiketler virgül(,) ile ayrılmış.Ben bunu değiştirip vigül yerine nokta(.) koymak istiyorum. Bunu nasıl yaparım?
Bunu etiketleri çalan birileri var, onlar için önlem amaçlı yapacağım
04-09-2010, 16:50:42
#2
Fee
Üyeliği durduruldu
Cevap Verecek Yok Mu ?
04-09-2010, 18:04:21
#3
Qunay
<?php the_tags('. ') ?> Dene bakalım kardeşm.
04-09-2010, 18:49:03
#4
MC_delta_T
Üyeliği durduruldu
wp admin panelinde
appearance >>> editor >>> loop.php
adımlarını izle. sayfada şunu ara;
get_the_tag_list( '', ', ' );
ve şununla değiştir,
get_the_tag_list( '', '. ' );
Qunay adlı üyeden alıntı:
mesajı görüntüle
<?php the_tags('. ') ?> Dene bakalım kardeşm.
the_tags fonksiyonuna ikinci parametre olarak vermeniz gerek. syntax ı şu şekilde
<?php the_tags( $before, $separator, $after ); ?>
05-09-2010, 09:03:48
#5
Fee
Üyeliği durduruldu
MC_delta_T adlı üyeden alıntı:
mesajı görüntüle
wp admin panelinde
appearance >>> editor >>> loop.php
adımlarını izle. sayfada şunu ara;
get_the_tag_list( '', ', ' );
ve şununla değiştir,
get_the_tag_list( '', '. ' );
Hocam Benim Temada Bunlar Yok. K2 Teması Kullanıyorum. Bi Yardımcı Olursanız Sevinirim.
09-09-2010, 21:35:04
#6
Fee
Üyeliği durduruldu
Yok mu K2 temasında yukarıdakini yapacak ?
10-09-2010, 01:35:21
#7
MC_delta_T
Üyeliği durduruldu
temanı hiç kullanmadım ama mantık olarak aynıdır. loop.php nin kodlarını koy onların üstüne daha rahat konuşuruz bence.
10-09-2010, 23:36:38
#8
Fee
Üyeliği durduruldu
Alıntı
<?php
/**
* Default Loop Template
*
* This file is loaded by multiple files and used for generating the loop
*
* @package K2
* @subpackage Templates
*/
// Post index for semantic classes
$post_index = 1;
while ( have_posts() ): the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-head">
<h3 class="entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php k2_permalink_title(); ?>"><?php the_title(); ?></a>
</h3>
<?php /* Edit Link */ edit_post_link( __('Edit','k2_domain'), '<span class="entry-edit">', '</span>' ); ?>
<?php if ( 'post' == $post->post_type ): ?>
<div class="entry-meta">
<?php k2_entry_meta(1); ?>
</div> <!-- .entry-meta -->
<?php endif; ?>
<?php /* K2 Hook */ do_action('template_entry_head'); ?>
</div><!-- .entry-head -->
<div class="entry-content">
<?php if ( function_exists('has_post_thumbnail') and has_post_thumbnail() ): ?>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( array( 75, 75 ), array( 'class' => 'alignleft' ) ); ?></a>
<?php endif; ?>
<?php the_content( sprintf( __('Continue reading \'%s\'', 'k2_domain'), the_title('', '', false) ) ); ?>
</div><!-- .entry-content -->
<div class="entry-foot">
<?php wp_link_pages( array('before' => '<div class="entry-pages"><span>' . __('Pages:','k2_domain') . '</span>', 'after' => '</div>' ) ); ?>
<?php if ( 'post' == $post->post_type ): ?>
<div class="entry-meta">
<?php k2_entry_meta(2); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
<?php /* K2 Hook */ do_action('template_entry_foot'); ?>
</div><!-- .entry-foot -->
</div><!-- #post-ID -->
<?php endwhile; /* End The Loop */ ?>
k2-loop.php içerisindeki kodlar bunlar. Nasıl bulabiliriz ?
11-09-2010, 12:31:53
#9
MC_delta_T
Üyeliği durduruldu
Fee adlı üyeden alıntı:
mesajı görüntüle
k2-loop.php içerisindeki kodlar bunlar. Nasıl bulabiliriz ?
burada taglar ile ilgili birşey yok. template i iyice incelemek lazım. ona da kimin vakti olur bilemiyorum.
×
Beğeniler
×
Değerlendirmeler